As you may have noticed from my scene graph layout, I have a switch node above 
the RTT camera. This switch node allows me to enable/disable the RTT process. 
By default, this switch node has the RTT process disabled. So, the RTT process 
is not executed.

I also found that (by default) the update traversal mode is set to traverse all 
children (TRAVERSE_ALL_CHILDREN). I originally thought that this was my 
problem, so I changed the traversal mode to TRAVERSE_ACTIVE_CHILDREN, but I 
still get the same problem when update callbacks are being called twice every 
frame.

Example:
m_pViewer->getUpdateVisitor( )->setTraversalMode( 
osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN );

Guy

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





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

Reply via email to