Ichtyostega
19-02-2009 17:48:05
Hi I am a new Ogre user and I installed oFusion to export models and their animation (with Scene Loader Lib).
Exporting meshes, material, and lights works great. I can see them when I run my application. Unfortunately, it is not the case for animation. In 3ds Max, I see the animation when pressing "play". The animation is also there in the OSM file. I can find the animation by calling getAnimation() from the Ogre SceneManager. Calling getAnimationState with the appropriate name or getAllAnimationStates() on the corresponding Entity returns NULL. I wanted to "attach" the animation object to the Entity and the SceneNode, but Ogre does not seem to work this way.
So basically, animation is exported, but it seems to not be "attached" to the node. Am I missing some essential step in the process? I did not find any tutorial on that specific subject and for some unknown reason, the oFusion Pro User's guide is empty when I open it.
Thank you very much for the support!
Exporting meshes, material, and lights works great. I can see them when I run my application. Unfortunately, it is not the case for animation. In 3ds Max, I see the animation when pressing "play". The animation is also there in the OSM file. I can find the animation by calling getAnimation() from the Ogre SceneManager. Calling getAnimationState with the appropriate name or getAllAnimationStates() on the corresponding Entity returns NULL. I wanted to "attach" the animation object to the Entity and the SceneNode, but Ogre does not seem to work this way.
So basically, animation is exported, but it seems to not be "attached" to the node. Am I missing some essential step in the process? I did not find any tutorial on that specific subject and for some unknown reason, the oFusion Pro User's guide is empty when I open it.
Thank you very much for the support!