Render z-buffer to screen
by Dan Keller · in Torque Game Engine · 05/14/2007 (2:16 pm) · 2 replies
Is there a way to render the z-buffer directly to the screen for testing purposes?
About the author
Recent Threads
#2
Check out PIX, or a comparable OpenGL tool. TGE does not do any kind of z-buffer manipulation or switching, so there is no in-engine way to do that. The other possibility would be to figure out how to lock the z-buffer using GL and pull data out of it, then write that to a file, or render it to a quad or what have you.
05/14/2007 (2:55 pm)
Dan,Check out PIX, or a comparable OpenGL tool. TGE does not do any kind of z-buffer manipulation or switching, so there is no in-engine way to do that. The other possibility would be to figure out how to lock the z-buffer using GL and pull data out of it, then write that to a file, or render it to a quad or what have you.
Torque Owner Berserk