1 | <!ELEMENT mesh (sharedgeometry?, submeshes, |
---|
2 | skeletonlink?, boneassignments?, levelofdetail?, submeshnames?)> |
---|
3 | <!ELEMENT sharedgeometry (vertexbuffer+)> |
---|
4 | <!ATTLIST sharedgeometry |
---|
5 | vertexcount CDATA #REQUIRED> |
---|
6 | <!ELEMENT submeshes (submesh+)> |
---|
7 | <!ELEMENT submesh (faces,geometry?,boneassignments?)> |
---|
8 | <!ATTLIST submesh |
---|
9 | material CDATA #REQUIRED |
---|
10 | usesharedvertices (true|false) "true" |
---|
11 | use32bitindexes (true|false) "false" |
---|
12 | operationtype (triangle_list|triangle_strip|triangle_fan) "triangle_list"> |
---|
13 | <!ELEMENT faces (face+)> |
---|
14 | <!ATTLIST faces |
---|
15 | count CDATA #REQUIRED> |
---|
16 | <!ELEMENT face EMPTY> |
---|
17 | <!-- Do not need all 3 vertex indexes if triangle_strip or triangle_fan |
---|
18 | since every face after the first one is defined by a single vertex --> |
---|
19 | <!ATTLIST face |
---|
20 | v1 CDATA #REQUIRED |
---|
21 | v2 CDATA #IMPLIED |
---|
22 | v3 CDATA #IMPLIED> |
---|
23 | <!ELEMENT geometry (vertexbuffer+)> |
---|
24 | <!ATTLIST geometry |
---|
25 | vertexcount CDATA #REQUIRED > |
---|
26 | <!ELEMENT skeletonlink EMPTY> |
---|
27 | <!ATTLIST skeletonlink |
---|
28 | name CDATA #REQUIRED> |
---|
29 | <!ELEMENT boneassignments (vertexboneassignment+)> |
---|
30 | <!ELEMENT vertexboneassignment EMPTY> |
---|
31 | <!ATTLIST vertexboneassignment |
---|
32 | vertexindex CDATA #REQUIRED |
---|
33 | boneindex CDATA #REQUIRED |
---|
34 | weight CDATA "1.0"> |
---|
35 | <!ELEMENT levelofdetail ( (lodmanual|lodgenerated)+ )> |
---|
36 | <!ATTLIST levelofdetail |
---|
37 | numlevels CDATA #REQUIRED |
---|
38 | manual (true|false) "false"> |
---|
39 | <!ELEMENT lodmanual EMPTY> |
---|
40 | <!ATTLIST lodmanual |
---|
41 | fromdepthsquared CDATA #REQUIRED |
---|
42 | meshname CDATA #REQUIRED> |
---|
43 | <!ELEMENT lodgenerated (lodfacelist)> |
---|
44 | <!ATTLIST lodgenerated |
---|
45 | fromdepthsquared CDATA #REQUIRED |
---|
46 | meshname CDATA #REQUIRED> |
---|
47 | <!ELEMENT lodfacelist (face)+> |
---|
48 | <!ATTLIST lodfacelist |
---|
49 | submeshindex CDATA #REQUIRED |
---|
50 | numfaces CDATA #REQUIRED> |
---|
51 | |
---|
52 | <!ELEMENT vertexbuffer (vertex+)> |
---|
53 | <!ATTLIST vertexbuffer |
---|
54 | positions (true|false) "false" |
---|
55 | normals (true|false) "false" |
---|
56 | colours_diffuse (true|false) "false" |
---|
57 | colours_specular (true|false) "false" |
---|
58 | texture_coords (0|1|2|3|4|5|6|7|8) "0" |
---|
59 | texture_coord_dimensions_0 (0|1|2|3) "2" |
---|
60 | texture_coord_dimensions_1 (0|1|2|3) "2" |
---|
61 | texture_coord_dimensions_2 (0|1|2|3) "2" |
---|
62 | texture_coord_dimensions_3 (0|1|2|3) "2" |
---|
63 | texture_coord_dimensions_4 (0|1|2|3) "2" |
---|
64 | texture_coord_dimensions_5 (0|1|2|3) "2" |
---|
65 | texture_coord_dimensions_6 (0|1|2|3) "2" |
---|
66 | texture_coord_dimensions_7 (0|1|2|3) "2"> |
---|
67 | <!ELEMENT vertex (position?, normal?, colour_diffuse?, colour_specular?, |
---|
68 | texcoord*)> |
---|
69 | <!ELEMENT position EMPTY> |
---|
70 | <!ATTLIST position |
---|
71 | x CDATA #REQUIRED |
---|
72 | y CDATA #REQUIRED |
---|
73 | z CDATA #REQUIRED > |
---|
74 | <!ELEMENT normal EMPTY> |
---|
75 | <!ATTLIST normal |
---|
76 | x CDATA #REQUIRED |
---|
77 | y CDATA #REQUIRED |
---|
78 | z CDATA #REQUIRED > |
---|
79 | <!ELEMENT colour_diffuse EMPTY> |
---|
80 | <!ATTLIST colour_diffuse |
---|
81 | value CDATA #REQUIRED> |
---|
82 | <!ELEMENT colour_specular EMPTY> |
---|
83 | <!ATTLIST colour_specular |
---|
84 | value CDATA #REQUIRED> |
---|
85 | <!ELEMENT texcoord EMPTY> |
---|
86 | <!ATTLIST texcoord |
---|
87 | u CDATA #REQUIRED |
---|
88 | v CDATA "0" |
---|
89 | w CDATA "0" > |
---|
90 | <!ELEMENT submeshnames (submeshname+)> |
---|
91 | <!ELEMENT submeshname EMPTY> |
---|
92 | <!ATTLIST submeshname |
---|
93 | name CDATA #REQUIRED |
---|
94 | index CDATA #REQUIRED > |
---|
95 | |
---|
96 | |
---|
97 | |
---|
98 | |
---|
99 | |
---|
100 | |
---|
101 | |
---|