Hi !

i wonder over something in my occluding technique: does openGL have  
anything that is faster than
glReadPixels(win.x(), win.y(), 1, 1, GL_DEPTH_COMPONENT,  
GL_UNSIGNED_INT_8_8_8_8_REV, &bufferZ); to get the depth from each pixel?,  
if not what i suggested to do ? Ive been thinking of making a shader out  
of it , but im not sure yet.

-- 
Mr. Johan Johnsson
AutoSim AS, Strandveien 106, 9006 Tromsø
Visit us at http://www.autosim.no
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to