Maya Skeleton Export - Animation timing errors!
Posted: Thu Sep 22, 2005 11:34 am
Hi folks!
If i export a character, i have some problems with the timings (len of animation). First of all - if i set maya timing units to 24 fps or 25 fps - the export is all the same.
I think Ogre runs animations at 25 fps - so i can calculate the animation lens. The trick is - the first animation is ok and all other that follows are a little bit wrong. That's not good, coz i have some looped animations that looks terrible in the engine (walk cycle, ...)
My Animations: (the [] values are keys/25)
Idle - MayaRange: 0 to 20 (21 keys) - OgreLen: Ogre len: 0.833333 - [0.84] - OK
Walk - MayaRange: 30 to 45 (16 keys) - OgreLen: 0.583333 - [0.64] - FAILURE
Jump - Maya Range: 50 to 64 (15 keys) - OgreLen: 0.583333 - [0.60] - FAILURE
Fall - MayaRange: 70 to 78 (9 keys) - OgreLen: 0.333333 - [0.36] - FAILURE
The anim "Jump" is one keyframe shorter than the "Walk" anim, but the exporter sets the same values (?!?)
Has anyone an idea or knows this problem?
ciao, joerg.
If i export a character, i have some problems with the timings (len of animation). First of all - if i set maya timing units to 24 fps or 25 fps - the export is all the same.
I think Ogre runs animations at 25 fps - so i can calculate the animation lens. The trick is - the first animation is ok and all other that follows are a little bit wrong. That's not good, coz i have some looped animations that looks terrible in the engine (walk cycle, ...)
My Animations: (the [] values are keys/25)
Idle - MayaRange: 0 to 20 (21 keys) - OgreLen: Ogre len: 0.833333 - [0.84] - OK
Walk - MayaRange: 30 to 45 (16 keys) - OgreLen: 0.583333 - [0.64] - FAILURE
Jump - Maya Range: 50 to 64 (15 keys) - OgreLen: 0.583333 - [0.60] - FAILURE
Fall - MayaRange: 70 to 78 (9 keys) - OgreLen: 0.333333 - [0.36] - FAILURE
The anim "Jump" is one keyframe shorter than the "Walk" anim, but the exporter sets the same values (?!?)
Has anyone an idea or knows this problem?
ciao, joerg.