Hi, Thanks for the replies.
Brian: when I set the nodemask on the main camera to zero it no longer renders, which is good, but the FBO no longer gets rendered (I get a totally black image in the associated osg::Image). JP: If I just insert my FBO into the scene (as POST_RENDER) two things happen when I render a frame: I get the correct image in my FBO, but the main camera also renders. I want to be able to choose if the the main camera should render or not when the FBO is in use. I looked at osgautocapture, but it doesn't do what I need to do because the main camera always renders (and has to as the saved image comes from a DrawCallback on the main camera). I've also tried simply putting my fbo directly into the viewer with: savedcam=osgviewer->getCamera() osgviewer->setCamera(myfbo) osgviewer->renderingTraversals() osgviewer->setCamera(savedcam) But when I do this not only do I not get an image in my FBO, but the viewer (with the normal camera) no longer renders afterwards. I suspect a workable solution would be to create a duplicate Viewer, setup with only an FBO as the main camera, and which shares the scene (and database pager, etc) with the first Viewer. Then when I need to save screenshot(s) I can just explicitly render with the second Viewer. But surely such a drastic solution shouldn't be necessary? Thank you! Cheers, jake ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16120#16120 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

