Why not just attach osg::Image to the FBO Camera in question and let the OSG automatically copy the image from the FBO after its written to.
On 6/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello all, I've asked this before but didn't got replies so I bring the issue up again. I'm having in my application more than one FBO and after the frame was rendered I want selectively read one of them. I plan to use Image::readFromCurrentTexture to read the data from the texture attached to the FBO. The question is, if there are two textures attached to two different FBOs, how do I know which one is bound in the context? how do I read it, or the other image? or both? I want to prevent expilcitly calling to bind since it appears to be time consuming, and people here say it's unnecessary. any information on the subject would be helpfull, thanks, Guy. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
