Hi guys,

I currently have a problem with a simple "experiment" with RTT. I am using osgviewerGLUT as a base for this. What I am trying is to render my scene view to a texture and display this afterwards. To achieve this, I first setup a camera which renders to the texture and then another one which renders the textured quad to the screen.

The scene root contains these two cameras as a child, while the camera which renders to the texture has the loaded object as a child. What happens now seems a little weird to me, because I am completely new to OSG. The application starts with a view "behind" the object, and this view does not change when I try to rotate the object. Instead, the camera stays behind the object in that exact position, which I can tell because the light seems to be moving, which it is of course not.

Now my question is, how can I decouple the camera from the object movement, so I can freely rotate the object without the camera following it?

Thanks in advance :)

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

Reply via email to