Hi guys, I'm not sure if this is a bug or I'm not understanding something. The first time I attach images to a camera, the runCameraSetUp function will be called in RenderStage which sets up the fbo to harvest the data.
I do the following: texCam->attach(osg::Camera::COLOR_BUFFER, mReferenceColorImage); texCam->attach(osg::Camera::DEPTH_BUFFER, mReferenceDepthImage); This works just fine. The problem is when I want to change the images that are attached. For instance I later have the following: texCam->attach(osg::Camera::COLOR_BUFFER, mSceneColorImage); texCam->attach(osg::Camera::DEPTH_BUFFER, mSceneDepthImage); After setting the attachments to new images, runCameraSetUp will never get called to set up the frame buffer object. Is there something I can do to make this happen? Thanks, Michael Guerrero
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

