No, that's not what z-buffering is for. In a sense, z-buffering is in fact just the opposite; it allows things to draw in the correct order, so that things hidden behind other things aren't drawn on top. What you want is occlusion culling. BIG topic that. The idea is to chunk up your scene in some way, determine which chunks are visible, and hide the other chunks.