On 7/3/06, Aditi <[EMAIL PROTECTED]> wrote:
Hello all, Can anyone tell me the osg counterpart for glReadPixels? In my application, i need to read back depthvalues from the framebuffer . I am currently using glReadPixels function but it is not giving the correct depth values. someone please lemme know how to read back depthvalues from framebuffer :-)
glReadPixels works :-) Alternatively you can use osg::Image attached to a RTT CameraNode. See osgprerender. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
