Hi Tim -- Yes, the UpdateVisitor executes the update callbacks you have
attached to your nodes. That is the sole purpose of the UpdateVisitor:
Walk the scene graph, look for update callbacks, and call into them. It
works the same way regardless of whether it is launched by VRJ,
osgViewer, SceneView, or even manually by your own app.
Paul Martz
Skew Matrix Software LLC
_http://www.skew-matrix.com_ <http://www.skew-matrix.com/>
+1 303 859 9466
Tim Allen wrote:
Hi,
I will explain what I didnt understand in the code.Does calling
scene->accept(updateVisitor); everyframe will automatically call the
updatecallbacks and update the scene.Because here no viewer.updateTraversal() or
sceneview->update() methods are not called to update the scene.
Thank you!
Cheers,
Tim
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org