Hi Robert,

Robert Osfield wrote:
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 ;-)

yes, but they are reading from either the frame buffer or a pbuffer, not from an FBO RTT camera.

jp


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

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

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

Reply via email to