Okay, first off, what I wish to do I know I can do with FBO and off-screen rendering but at the moment it is not how I wish to conduct my execution. In standard OGL what I wish to do is easy. So how do I translate it to OSG? Consider the following:
(1) I wish to render my scene (with my root node) to the screen as usual (2) I wish to clear the depth buffer only (3) I wish to render a new scene to the screen (with the same camera movement, possibly the same or an identical camera) Kind of like having multiple rendering planes. Since I don't have control over when things are rendered I guess it would be easier to create a second camera which renders after the first one (setting the ClearMask) and having my second scene for the second camera. I'm a bit lost as how to do this though. Currently using 2.9.6 and the default osgViewer. Anyone willing to lend me a helping hand? Cheers, Adrian ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25794#25794 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

