Hi J.P.

On Tue, Dec 8, 2009 at 1:31 PM, J.P. Delport <[email protected]> wrote:
> just one comment/question... Yesterday I was experimenting with PBO image
> readback from FBO RTT camera's generated textures. It is possible to do this
> in the camera callback by binding the texture one wants to read from
> manually and doing glGetTextImage, but I did not find a way to use
> glReadPixels with a PBO, because in the camera callback the FBO is already
> unbound and glReadBuffer is not set (all this is handled in RenderStage).
> I'm not sure how to do this all manually in the callback. Is it possible?

The osgscreencapture and osgViewer::ScreenCaptureHandler both use
PBO's for reading imagery back, via... Camera callback ;-)

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to