Hi, I am having some issues with osgAnimation.
Context: I have some coordinates, that come from an external device. Those coordinates move in times, and I display spheres to represent those points in real-time, with a callback to refresh their positions. However, I also record the evolution of those points in a .osg file using OsgAnimation. For each point, I attach an animation to a bone and add a Sphere as child of the bone. Then I create a Keyframe every time I get a new position. When the reception is done, I create a scene very similar to the example “osganimationskinning”, with a trueroot and a rootTransform, and save the scene into a file. But, when I play the animation using osganimationviewer, the behavior of the points seems very different from the real-time animation. They don't move as expected, at zero-time they move to a position that seems correct, but then just move a little bit (not as expected). I don't know what is the reason of this behavior, can it be a problem of relative/absolute coordinates ? In the .osg, I also have a problem with the position of the camera, which is very close to the sphere. I don't know where to set the position of the camera to see all the spheres in osganimationviewer. What did you believe about this use of OsgAnimation, does it seems to you appropriate ? I can give you more information if you need it. Thank you for your help. -- Bao-Anh Dang-Vu _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

