Re: [osg-users] RTT with FBO then copy Texture to image using PBO results in blank image.

2009-08-10 Thread Steven Powers
art wrote: Hi Steven, I've tried assigning the attached texture (without running the callback) to a quad in the scene and it is still blank. If your RTT texture is black without any post processing, so maybe you forgot to add any scene below your RTT camera in the scene

Re: [osg-users] RTT with FBO then copy Texture to image using PBO results in blank image.

2009-08-08 Thread Art Tevs
Hi Steven, I've tried assigning the attached texture (without running the callback) to a quad in the scene and it is still blank. If your RTT texture is black without any post processing, so maybe you forgot to add any scene below your RTT camera in the scene graph? For example your

[osg-users] RTT with FBO then copy Texture to image using PBO results in blank image.

2009-08-07 Thread Steven Powers
Hi, using OSG 2.2 I'm currently rendering to a texture using a FBO with an attached texture: Code: _texture = new osg::Texture2D(); _texture-setTextureSize((int)_camera-getViewport()-width(),(int)_camera-getViewport()-height());

Re: [osg-users] RTT with FBO then copy Texture to image using PBO results in blank image.

2009-08-07 Thread Steven Powers
Hi, I should add that the RTT Texture is attached to one of two osg::Cameras in the scene. Thank you! Cheers, Steven -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=15983#15983 ___ osg-users