Hi, Use osg::Stencil on root node and set 1 where you draw (stencil func GL_ALWAYS). Use post draw callback on your camera. In callback save content of stencil buffer in osg::Image with readPixels() ... format GL_STENCIL_INDEX Inspect image.
Cheers, Filip ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44162#44162 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org