Trying to add video capture as the background to a scene. I am not very familiar with osg and am working in an existing code base. The render loop calls SceneView::Draw which apparently does all the traversal. Unfortunately for me, it also clears the color buffer so I don't see my video capture if I enable this call, but then if I disable it, I only see my video capture - drawn using OpenGL, because of course, the scene is not drawn.
Is there a way to disable clearing the color buffer? Another way would be if I could set the video capture as the background. I have searched and see there is such a thing as a osg::ImageBackground object. However, I searched the osg solution (osg 2.0) and nothing was found has the name changed? http://www.opensg.org/doc-1.6.0/classosg_1_1ImageBackground.html Does anybody know of some sample code? Thanks, Judie
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

