Hi, I am working on an augmented reality project using the Kinect. I am trying to occlude geometry based on the depth image produced by Kinect. To do this I thought I'd write the depth image (after scaling the depth values appropriately) to the depth buffer. It looks as though I'd use glDrawPixels() with GL_DEPTH_COMPONENT if I was doing it in OpenGL, but how do I achieve this in OSG?
I'm also open to a better way of using the Kinect to occlude geometry if anyone has any ideas. Cheers, Sam ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44352#44352 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org