Bone Animation Not Showing in Ogre

mcarney

07-02-2007 16:31:08

I have a simple shape rigged and animated in max. It animates fine in the oFusion window however when I export it to Ogre the mesh does not animate. The bones however are.

Where can I get information on how to correct this?

Does anyone have a simple scene I could look at?

Lioric

07-02-2007 17:42:43

When you load the animated object in your application, do you activate the skeletal animation and update it each frame?

mcarney

07-02-2007 18:55:32

I'm not familiar with either of those options, where do I make sure those configurations are in place.

Lioric

07-02-2007 22:19:39

In your application, you must get the animation state (using the name of the animation in the animation list), enable this animation state, and then update it each frame, see the SkeletalDemo that comes with the Ogre SDK for more details

mcarney

08-02-2007 15:06:43

I do not have access to the Orgre SDK in our production pipeline. I am using 3ds max and oFusion before exporting to a test Ogre viewer. The tutorials from oFusion do not cover any animation from bones.

Lioric

08-02-2007 16:54:16

In your test Ogre viewer, you must activate the animation you want to be played

You can use any of the available Ogre mesh viewers that support skeletal animations (and display the skeletal animation names in a list where you can select and play them)