Hi,

Can you give me an osg example of rendering to frame buffer object with camera 
postdraw callback and glReadPixels(); ?

I want to read from FBO with PBO and "double buffering", but 
glReadPixels(GL_COLOR_ATTACHMENT0); returns "invalid operation" even when I 
attach texture to camera.
Can it be done without Texture ? Using only osg::RenderBuffer ?

Thank you!

Cheers,
Filip

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55807#55807





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

Reply via email to