Two questions…
-
Is there anyway to read directly from or write directly to the depth buffer. In particular I would be using a GeForce card, ie. hardware accelarated and not software implementation.
-
Is there any way to increase the resolution of the depth buffer. I have heard of this w-buffer as opposed to a conventional z-buffer. This is supposed to give greater resolution at greater distances. (does it?) Is it possible to implement this under hardware accelarated OpenGL? My problem is polygon depth fighting with each other when close to each other at great distances. I need more resolution at a greater distance.
thanks
Lee