Hi, everyone. When clicked on the screen, I read the pixel depth in opengl like this: glReadPixels(e->x(),height()-e->y(),1,1, GL_DEPTH_COMPONENT, GL_FLOAT, &gloablewinZ); then how to do it in a EventHandler attched to the scene Viewer in osg? ...
Thank you! Cheers, Liu ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59860#59860 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

