welcome. And I believe the only way to change anything in osg dynamically is
to do so with function calls that make those changes within the viewer frame
loop like so:
while(!viewer.done())
{
// YOUR CODE GOES HERE TO CHANGE A
// NODE IN THE OSG SCENE TREE
// BEFORE osg Updates the scene
//
viewer.advance();
viewer.eventTraversal();
viewer.updateTraversal();
viewer.renderingTraversals();
}
I hope you get something to work. :)
------------------------
Allen
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10531#10531
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org