Can't get animation from maya to ogre
-
- Gnoblar
- Posts: 7
- Joined: Wed Mar 12, 2008 2:04 pm
Can't get animation from maya to ogre
I have a character with skeleton and I can't seem to get animations to work.
It is possible that it is my lack of knowledge of maya itself. Basically I added a keyframe, created a clip, exported to ogre mesh (checked export mesh, export skeleton, and export skeleton animation) but everytime I conver the xml file of the skeleton it says "exporting animations, count 0" and I see no animation section in the skeleton file.
Could someone provide me with a step by step setting up of even an idle animation pose in maya and what is needed to export? thanks
It is possible that it is my lack of knowledge of maya itself. Basically I added a keyframe, created a clip, exported to ogre mesh (checked export mesh, export skeleton, and export skeleton animation) but everytime I conver the xml file of the skeleton it says "exporting animations, count 0" and I see no animation section in the skeleton file.
Could someone provide me with a step by step setting up of even an idle animation pose in maya and what is needed to export? thanks
-
- Gnoblar
- Posts: 4
- Joined: Wed Mar 12, 2008 7:08 pm
Possibly need more keyframes
If you only have one key you can't create a curve. You need at least a key to start an animation and a key to end it.
Ogre can handle constraints and ik no problem as long as you are putting animation curves on rig controllers rather than the actual bones or joints.
Ogre can handle constraints and ik no problem as long as you are putting animation curves on rig controllers rather than the actual bones or joints.
-
- Gnoblar
- Posts: 4
- Joined: Wed Mar 12, 2008 7:08 pm
One more important thing
On the exporter scroll down past the clips and you will see a section for animation curves. You need to check this box to get actual animations exported. If you check the box a *.anim file will be created and that has all the animation information. *.skeleton only has the rig setup.
To get a moving character you need the .mesh, .material, .skeleton, and .anim files. You made need others like physics but these are the bare minimum
To get a moving character you need the .mesh, .material, .skeleton, and .anim files. You made need others like physics but these are the bare minimum
-
- Gnoblar
- Posts: 7
- Joined: Wed Mar 12, 2008 2:04 pm
ok..here is an example on one I downloaded to test out, but could not get animation from it. thanks for the help.
http://www.highendnet.com/maya/download ... V.0.01.zip
http://www.highendnet.com/maya/download ... V.0.01.zip
-
- Gnoblar
- Posts: 4
- Joined: Wed Mar 12, 2008 7:08 pm
I've been exporting characters successfully to the Multiverse Engine for the last two weeks. This week I'm using Neoaxis. The ogreExporter for Multiverse is virtually identical to the one for Neoaxis. As far as I can tell you still need to check the Animation Curve box to get animation informatin exported. The .skeleton file contains the joint/rig hierarchy.schuck9 wrote:I am actually doing this for neoaxis, so the anim file is not used (from what I can tell). They do use the skeleton file though. Does that sound right?
-
- Gnoblar
- Posts: 4
- Joined: Wed Mar 12, 2008 7:08 pm
Sorry I did not try to get animation on the file you linked. I do have a question for you. I can not get the Neoaxis version of the 8.5 Maya Ogre exporter to work. The .mll file will not load in the plug in manager so I can only assume that I have an out of date file or the file is just broken. What is the date of your ogreExporter.mll file? Mines is dated 2/6/2007 and it's 684kb.schuck9 wrote:I will try that out...are you able to get animation on that file I linked? If so, how?
The Multiverse version of the ogreExporter.mll has a date of 6/3/2007 and it's a smaller file, only 316kb. I can export no problems with this one. It loads into the plug in manager but the Neoaxis version will not. I get an error message saying the application can not load because it is not configured correctly and that I should reinstall. Reinstalls did not fix.
-
- Gnoblar
- Posts: 18
- Joined: Sat Feb 10, 2007 11:59 pm
Wow, I finished the tutorial and uploaded it and now I can't connect to NeoAxis site.
Anyway, here is the tutorial. Sorry for the lack of professionalism. Specially the smacking at the beginning, never eat peanut butter before voice recording.
http://www.vital3d.com/neoaxis/maya2neoaxis.zip
Anyway, here is the tutorial. Sorry for the lack of professionalism. Specially the smacking at the beginning, never eat peanut butter before voice recording.
http://www.vital3d.com/neoaxis/maya2neoaxis.zip