1 | <HTML> |
---|
2 | |
---|
3 | <HEAD> |
---|
4 | </HEAD> |
---|
5 | <TITLE> OGRE maxscripts |
---|
6 | </TITLE> |
---|
7 | <BODY> |
---|
8 | |
---|
9 | Just a few words which could help to know how the script works: |
---|
10 | |
---|
11 | <H3> EXPORTING MESHES: </H3> |
---|
12 | |
---|
13 | <H4> Vertices and TVertices:</H4> |
---|
14 | |
---|
15 | Vertices describes where faces are and tvertices how faces will be mapped. |
---|
16 | <U>There is no link between their numbers in 3dsmax.</U> |
---|
17 | But as it is said in the Maxscript Reference there are as many face as TVface. <BR> |
---|
18 | In order to retrieve information, getFace() and getTVFace() link vertices and tvertices. |
---|
19 | <BR> |
---|
20 | This is the same problem with colour vertices ( function is caled getVCFace() ). |
---|
21 | |
---|
22 | <H4> Bone assignements: </H4> |
---|
23 | |
---|
24 | Skinops provides lots of functions in order to deal with bone assignement. |
---|
25 | So the mesh MUST have a Skin modifier.<BR> |
---|
26 | |
---|
27 | <B>NOTA</B>: In order to increase speed when this skeleton is used with OGRE, if a weight is < 0.1, there will not be a bone assignement. |
---|
28 | |
---|
29 | |
---|
30 | <H3>EXPORTING SKELETONS</H3> |
---|
31 | |
---|
32 | <H4>Key controllers:</H4> |
---|
33 | |
---|
34 | Script reads controllers of bones which are in skeleton, in order to knwo when it should set a keyframe.<BR> |
---|
35 | |
---|
36 | <H4>Position and rotation in XML file</H4> |
---|
37 | |
---|
38 | Bones position always refers to parent coordinates. Initial rotation must be set in parent coordinates too.<BR> |
---|
39 | But then, in tracks, rotation and position are relative to their first value. (Hmmm, sorry I don't find the words to explain that...) |
---|
40 | |
---|
41 | <H3>OTHERS</H3> |
---|
42 | |
---|
43 | <H4>3ds max objects name</H4> |
---|
44 | |
---|
45 | Caution: When a name is "Left Arm", the name to select this object is Left_Arm. |
---|
46 | So there is a function in usefulfns.ms which does replacement. |
---|
47 | |
---|
48 | </BODY> |
---|
49 | </HTML> |
---|