[osg-users] animation synchronisation

dkfm4 at gmx.net dkfm4 at gmx.net
Sun Mar 2 12:51:28 PST 2008


Hello!

How can/should I synchronize the application flow-control to the end of
an animation (realized as osg::AnimationPath) ?

Assume: we have a projectile that should be animated.
1. we calculate the trajectory and setup the animation-path with some trajectory data.
2. then the animation-path will be applied to the projectile-node (the
exact way to do this, is still vague to me; the only information source
I found untill now, is the osganimation example, which handles only a
single animation type, with endless animation)

3. == now: how can I sync the rest of the application with the end of the
projectile-animation ? ==
e.g. expand scene graph with new data, start other animation(s), etc...

The way with polling the timer seems somehow crude to me... There should
be a better way ?! (better documentation !)

Thanks,
Alexej





More information about the osg-users mailing list