Hi,
I'm kind of successfully running my ogreExporter from my Maya 6.5. I can export polygon shapes, materials, textures, skeletons, animations quite nicely and they look good in Ogre.
Now, the particular combination of having a polygon with textures, a skeleton and an animation clip doesn't work for me. It seems the combination of having a mesh with textures and exporting an animation clip somehow screws the exporter.
--
Let's look slightly at the details in the hope that some guru can direct me to where I err:
Without this particular combination (textures, skeleton and no animation or skeleton, animation but no textures); I press "EXPORT" in my OgreExporter window and a command shell windows pops up and produces a lot of output, all looking good before a "press any key to continue" comes. Then all the appropriate files are produced in my output ogre media dir.
With this particular combination; I press "EXPORT", but this time no command shell window comes. Instead I get quite some output in my Maya Output Window, no errors and all pertaining to clips and animation. See a transcript below. I get files in my output directory but they are all of size 0. The script editor window contains the command I guess and that's it (I've taken away a rather lengthy path and substituted with <dir>:
ogreExport -all -world -mesh "C:\\<dir>\\flap.mesh.xml" -shared -v -n -t -mat "C:\\<dir>\\flap.material" -skel "C:\\<dir>\\flap.skeleton.xml" -anims;
// Translating scene to OGRE format
I'm a bit confused since everything else seems to be working nicely, and wonder if this is a bug or whether somebody can see where I do silly things.
Any and all help is appreciated.
Yarc.
---------------------transcript of Maya Output Window---------------
clip Idle
start: 0.0416667, stop: 6
rate: 0.0416667
-----------------
Found mesh node: |pCube1|pCubeShape1
Loading mesh node |pCube1|pCubeShape1...
Found skin cluster skinCluster1 for mesh pCubeShape1
Loading skeleton data...
Loading skeleton with root: ...
Loading joint: joint1Loading joint animations...
animation "Idle"
length: 5.91667
num keyframes: 143
Clip successfully loaded
Loading joint: joint2 (parent: joint1)
Loading joint animations...
animation "Idle"
length: 5.91667
num keyframes: 143
Clip successfully loaded
OK
OK
Found 1 connected shaders
[bug?] maya2ogre: textures, skeleton and anim together fails
-
yarc
- Gnoblar
- Posts: 16
- Joined: Sat Oct 22, 2005 4:33 pm
-
yarc
- Gnoblar
- Posts: 16
- Joined: Sat Oct 22, 2005 4:33 pm
[bug?] maya2ogre: textures, skeleton and anim together fails
There is a new ogreExporter available starting yesterday (ogreExporter_bin_maya6.5_1.0.2).
So perhaps my problem will be solved with this update. Thx fra.giordana.
Yarc
So perhaps my problem will be solved with this update. Thx fra.giordana.
Yarc
-
yarc
- Gnoblar
- Posts: 16
- Joined: Sat Oct 22, 2005 4:33 pm
[bug?] maya2ogre: textures, skeleton and anim together fails
Hi,
I've been using it (ogreExporter_bin_maya6.5_1.0.2) for a couple of weeks now, and it does seem to do the job.
Thanks again for your effort fra.giordana.

Yarc.
I've been using it (ogreExporter_bin_maya6.5_1.0.2) for a couple of weeks now, and it does seem to do the job.
Thanks again for your effort fra.giordana.
Yarc.
