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
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
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());
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
4 matches
Mail list logo