Skeletal animation file format with Maya exporter and XNA importer
ModelDef is a simple, easy to use file format that supports:
- Polygons
- Lambert and phong shaders
- Textures and UV Maps
- Skeletal animations
- Skinning
Place the ModelDefExporter.py
and Common.py
files in Documents\maya\<maya version>\scripts
folder.
To invoke this script, use the following commands in the python mode of the script editor:
import ModelDefExporter as Mde
reload(Mde)
Mde.Run()
You may middle-mouse drag these lines to the shelf to create a shortcut toolbar button.
Copy all the files to your project and use the ModelDef - Greymind Framework
processor for your .modeldef
files via the properties window.
You might also want the custom data importer and exporter to manage additional information. You can get it from https://github.com/greymind/CustomData
To export the whole scene graph, take a look at https://github.com/greymind/SceneDef
- MIT