Original Post
Hi!
I've got a 2D picture rendered with a 3D app. also I got an 8bit z-buffer array rendered from the same point of view.
I'm drawing the 2D picture with a couple of quads and I thought I could use glDrawPixels to write the z-buffer values for the scene using my 8-bit z-buffer array. But I found out that gldrawpixels where REALLY slow, is there another *fast* way to write to the zbuffer using the array?
The pictures looks like this:
2D image:
Z-buffer array:
-----------------------------
Sometimes a Guru meditation must be followed by a Vulcan neck grip. [edited by - Herr_O on August 20, 2003 3:25:05 PM]
Z-buffer array:
-----------------------------Sometimes a Guru meditation must be followed by a Vulcan neck grip. [edited by - Herr_O on August 20, 2003 3:25:05 PM]
