Hi, Thanks for the response. I originally wanted to use the older version of osg because that's what is currently being used on the project I am working on. However, I have since upgraded to 2.8.2.
I am now able to draw into a frame buffer and then get the frame data into memory by using the following commands: Code: viewer.getCamera()->setRendertargetImplementation(osg::Camera::FRAME_BUFFER_OBJECT); viewer.getCamera()->attach(osg::Camera::COLOR_BUFFER, image); Now I'm having a problem that even though I'm writing to a frame buffer, the viewer still wants to draw something to the screen. When I run my code it blacks out the entire screen. I tried using Code: viewer.setupViewInWindow(0,0,0,0,0); which eliminates the problem of blacking out the entire screen, but this results in an OpenGL error. Does anybody know the proper way of disabling drawing to the screen for the viewer? Thank you! Cheers, Vinay ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=15000#15000 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

