Hi,

I'd like to place several instances of the same model in a scene and play the 
model's animation individually on each instance - just like having several 
nathans standing around and letting each one scratch his head asynchronously to 
the others.

The model is loaded once and assigned  to a osg::Group. The model's instances 
are placed by attaching the osg::Group  to different 
PositionAttitudeTransforms. Similar code as in the osganimationviewer is used 
to retrieve the model's osgAnimation::BasicAnimationManager which is then added 
as an UpdateCallback for each PositionAttitudeTransform.

Obviously, the animations can now only be played synchronously on all 
instances. How could I achieve being able to start the animation of each 
instance individually - for example to let each nathan start scratching its 
head for a few seconds after clicking on it?

Thanks a lot for any hints,

Cheers,
Thilo

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





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

Reply via email to