source: OGRE/trunk/ogrenew/Tools/MayaExport/INSTALL.txt @ 692

Revision 692, 2.1 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

RevLine 
[692]1This is the plugin for exporting from Maya 6.5 to OGRE mesh and skeleton formats.
2
3Copy ogreExporter.mll to your maya plug-ins directory (I.E.: C:\Program Files\Alias\Maya6.5\bin\plug-ins)
4
5Copy all files from the scripts directory to your maya scripts directory
6(I.E.: C:\Documents and Settings\user\My Documents\maya\6.5\scripts)
7
8Copy OgreXMLConverter.exe and related dlls to your maya scripts directory (same as above)
9
10If you already have a userSetup.mel in your scripts folder, then copy and paste to append content from this
11userSetup.mel to the existing one.
12
13For any help or comments check the OGRE forum or e-mail to fra.giordana@tiscali.it
14
15
16The exporter can now be used safely via script, here's the syntax:
17
18ogreExport      generalOptions
19
20                ["-mesh" meshFilename meshOptions]
21                        export mesh to .mesh.xml file [optional]
22
23                ["-mat" matFilename matOptions]
24                        export materials to .material file [optional]
25
26                ["-skel" skelFilename]
27                        export skeleton to .skeleton.xml file [optional]
28       
29                ["-anims" animsOptions ["-clip" clipName clipOptions] ["-clip" ...] [...] ]
30                        export skeleton animations to the .skeleton.xml file
31                        [optional, requires -skel]
32
33                ["-particles" particlesFilename]
34                        export particles to .particle file
35
36
37generalOptions:
38        "-sel" | "-all"         export whole scene or only selected objects
39        "-world" | "-obj"       export in world or object coordinates
40       
41meshOptions:
42        ["-shared"]             export using shared geometry [optional]
43        ["-v"]                  export vertex bone assignements [optional]
44        ["-n"]                  export vertex normals
45        ["-c" | "-cw"]          export vertex colours [-c] or export vertex colours as white [-cw]  [optional]
46        ["-t"]                  export texture coordinates [optional]
47
48matOptions:
49        ["-matPrefix" prefix]   add prefix to all exported materials names [optional]
50        ["-copyTex" outDir]     copy textures used in the exported materials to outDir [optional]
51        ["-lightOff"]           export materials with lighting off [optional]
52
53animsOptions:
54        "-np" ( "curFrame" | "bindPose" | "frame" n )   specify neutral pose, can be current frame or bind pose or specified frame
55
56clipOptions:
57        "startEnd" s e ("frames" | "seconds") | "timeSlider"    specify clip range with start/end time or use time slider range
58
Note: See TracBrowser for help on using the repository browser.