Depth refinement

Hi,

This is probably a simple question, but I had never run into the problem before. I am writing an application for which the output is an image of the depth buffer. Is it possible to limit the range of the depth buffer in order to boost its resolution?

Thanks,
Jonathon

Well, I can think of only 2 ways to improve z resolution. Put the far z plane closer to the near z plane, or increase the bit depth of the depth buffer. Although I suspect it might be possible under certain very limited circumstances to use multiple passes to effectively increase the resolution by compositing (e.g. first pass renders unit scale, second pass renders scaled up fine scale, and so on).

[This message has been edited by DFrey (edited 02-21-2001).]