Hi,

today I have found an interesting example regarding the topic on book 
"OpenSceneGraph 3.0: Beginner's Guide": it creates an animation (pages from 220 
to 225) defining channels.

I have seen that animation works using an UpdateCallback of type 
osgAnimation::UpdateMatrixTransform. This updateCallback updates a matrix 
transform to create animation.

I have tried to save the original matrix loaded in this MatrixTransform 
(obtained through a Visitor on a node that has nodeCallback of type 
UpdateMatrixTransform) and to reapply it after stopping the animation. I expect 
that the final position of the animated object could be the same of the 
position at the start of animation but it doesn't work in this manner.

Am I wrong somewhere? Does the animations loaded from fbx work in a differente 
manner?

Thanks,
Francesco

------------------------
Francesco Argese

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





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

Reply via email to