Hi Jean-Sébastien,
I would like to handle two slightly different scenarios.

1) Rotation & orientation values are loaded from file (already generated by the 
solver). Those values are just like the channels of an animation, + one of them 
is the time channel (with fixed step).

2) The solver calculates the rotations & orientations but since it is faster 
than realtime I need to store them in the same "class" of point 1. In fact I 
cannot update the transform directly bucause I would run the animation faster 
than realtime.

At point 1) I could set the animation values but at point 2 I have to add them 
at runtime, while the animation is running.

Maybe what you suggested is correct but it seems the callback method allows me 
to update the transform when the three is traversed by the update visitor. 
Moreover I need a way to show the animation in realtime so I need a way to 
synchronize the transform update to the time channel.

Hope this may clarify my problem

Gianni

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





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

Reply via email to