Version : Oct 15 2003 11:47:30
Maya API: 450
Usage: maya2ogre -in FILE [-mesh [FILE]] [-vba] [-skel [FILE]]
[-anim NAME START END STEP]
[-mat [FILE]] [-mprefix PREFIX]
[-n] [-c] [-t] [-v]
-in FILE input mb File
-mesh FILE export mesh (FILE is optional)
-vba export vertex bone assignments
-skel FILE export skeleton (FILE is optional)
-anim NAME export Animation beginning at START and ending
START at END with fixed STEP
END
STEP
-mat FILE export material (FILE is optional)
-mprefix PREFIX material prefix
-n export normals
-c export diffuse colours
-t export texture coords
-v more output
Examples:
maya2ogre -in foo.mb -mesh -skel -mat
=> exports skeleton, mesh and material using default file names,
in this case foo.mesh.xml, foo.skeleton.xml and foo.material
maya2ogre -in foo.mb -mesh custom_name.mesh.xml -skel custom_name.skel.xml
=> exports skeleton and mesh using user defined file names
maya2ogre -in foo.mb -skel -anim Walk 1 30 2 -anim Die 50 60 2
=> exports skeleton with animation tracks Walk and Die
|