Hi everybody,

Just a quick question on changing render targets.

I have an osg::Camera with a Texture attached as render target. 
Depending on certain conditions I want to detach the old Texture and attach a 
different Texture.
My inital guess would be something like this:
camera->detach(..., oldTexture);
camera->attach(..., newTexture, ..);

Unfortunately this doesn't work and the camera continues to render to the old 
Texture.
Anything I'm missing out? Would be glad for any suggestions.


Thank you!

Cheers,
Daniel

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





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

Reply via email to