source: GTP/trunk/App/Demos/Illum/Standalone/HierRayEngine [DirectX]/media/cube.x @ 1481

Revision 1481, 4.5 KB checked in by szirmay, 18 years ago (diff)
Line 
1xof 0303txt 0032
2template XSkinMeshHeader {
3 <3cf169ce-ff7c-44ab-93c0-f78f62d172e2>
4 WORD nMaxSkinWeightsPerVertex;
5 WORD nMaxSkinWeightsPerFace;
6 WORD nBones;
7}
8
9template VertexDuplicationIndices {
10 <b8d65549-d7c9-4995-89cf-53a9a8b031e3>
11 DWORD nIndices;
12 DWORD nOriginalVertices;
13 array DWORD indices[nIndices];
14}
15
16template SkinWeights {
17 <6f0d123b-bad2-4167-a0d0-80224f25fabb>
18 STRING transformNodeName;
19 DWORD nWeights;
20 array DWORD vertexIndices[nWeights];
21 array FLOAT weights[nWeights];
22 Matrix4x4 matrixOffset;
23}
24
25
26Frame SCENE_ROOT {
27 
28
29 FrameTransformMatrix {
30  1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000;;
31 }
32
33 Frame groundPlane_transform {
34 
35
36  FrameTransformMatrix {
37   12.000000,0.000000,0.000000,0.000000,0.000000,0.000000,12.000000,0.000000,0.000000,-1.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1.000000;;
38  }
39 }
40
41 Frame persp {
42 
43
44  FrameTransformMatrix {
45   0.707107,0.000000,-0.707107,0.000000,-0.331295,0.883452,-0.331295,0.000000,0.624695,0.468521,0.624695,0.000000,5.239926,3.929945,5.239926,1.000000;;
46  }
47 }
48
49 Frame top {
50 
51
52  FrameTransformMatrix {
53   1.000000,0.000000,0.000000,0.000000,0.000000,0.000000,-1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,100.000000,0.000000,1.000000;;
54  }
55 }
56
57 Frame front {
58 
59
60  FrameTransformMatrix {
61   1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,100.000000,1.000000;;
62  }
63 }
64
65 Frame side {
66 
67
68  FrameTransformMatrix {
69   0.000000,0.000000,-1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,100.000000,0.000000,0.000000,1.000000;;
70  }
71 }
72
73 Frame nurbsCube1 {
74 
75
76  FrameTransformMatrix {
77   1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000;;
78  }
79 }
80
81 Frame pCube1 {
82 
83
84  FrameTransformMatrix {
85   1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000;;
86  }
87
88  Mesh pCubeShape1 {
89   24;
90   -0.500000;-0.500000;0.500000;,
91   0.500000;-0.500000;0.500000;,
92   -0.500000;0.500000;0.500000;,
93   0.500000;0.500000;0.500000;,
94   -0.500000;0.500000;-0.500000;,
95   0.500000;0.500000;-0.500000;,
96   -0.500000;-0.500000;-0.500000;,
97   0.500000;-0.500000;-0.500000;,
98   -0.500000;0.500000;0.500000;,
99   0.500000;0.500000;0.500000;,
100   -0.500000;0.500000;-0.500000;,
101   0.500000;0.500000;-0.500000;,
102   -0.500000;-0.500000;-0.500000;,
103   0.500000;-0.500000;-0.500000;,
104   0.500000;-0.500000;0.500000;,
105   -0.500000;-0.500000;0.500000;,
106   0.500000;-0.500000;0.500000;,
107   0.500000;-0.500000;-0.500000;,
108   0.500000;0.500000;-0.500000;,
109   0.500000;0.500000;0.500000;,
110   -0.500000;-0.500000;-0.500000;,
111   -0.500000;-0.500000;0.500000;,
112   -0.500000;0.500000;0.500000;,
113   -0.500000;0.500000;-0.500000;;
114   6;
115   4;0,1,3,2;,
116   4;8,9,5,4;,
117   4;10,11,7,6;,
118   4;12,13,14,15;,
119   4;16,17,18,19;,
120   4;20,21,22,23;;
121
122   MeshNormals {
123    6;
124    -1.000000;0.000000;0.000000;,
125    0.000000;-1.000000;0.000000;,
126    0.000000;0.000000;-1.000000;,
127    0.000000;0.000000;1.000000;,
128    0.000000;1.000000;0.000000;,
129    1.000000;0.000000;0.000000;;
130    6;
131    4;3,3,3,3;,
132    4;4,4,4,4;,
133    4;2,2,2,2;,
134    4;1,1,1,1;,
135    4;5,5,5,5;,
136    4;0,0,0,0;;
137   }
138
139   MeshTextureCoords {
140    24;
141    0.001890;-0.001992;,
142    0.331370;-0.001992;,
143    0.001890;-0.331472;,
144    0.331370;-0.331472;,
145    0.338705;-0.331472;,
146    0.668185;-0.331472;,
147    0.617659;-0.664740;,
148    0.947139;-0.664740;,
149    0.338705;-0.001992;,
150    0.668185;-0.001992;,
151    0.617659;-0.335260;,
152    0.947139;-0.335260;,
153    0.282356;-0.335260;,
154    0.611836;-0.335260;,
155    0.611836;-0.664740;,
156    0.282356;-0.664740;,
157    0.001891;-0.668528;,
158    0.331370;-0.668528;,
159    0.331370;-0.998008;,
160    0.001891;-0.998008;,
161    0.338705;-0.668528;,
162    0.668185;-0.668528;,
163    0.668185;-0.998008;,
164    0.338705;-0.998008;;
165   }
166
167   MeshMaterialList {
168    1;
169    6;
170    0,
171    0,
172    0,
173    0,
174    0,
175    0;
176
177    Material initialShadingGroup {
178     0.800000;0.800000;0.800000;1.000000;;
179     0.000000;
180     0.000000;0.000000;0.000000;;
181     0.000000;0.000000;0.000000;;
182
183     TextureFilename {
184      "C:/home/blade/EnvMapDemo3/doom3.bmp";
185     }
186    }
187   }
188
189   VertexDuplicationIndices {
190    24;
191    8;
192    0,
193    1,
194    2,
195    3,
196    4,
197    5,
198    6,
199    7,
200    2,
201    3,
202    4,
203    5,
204    6,
205    7,
206    1,
207    0,
208    1,
209    7,
210    5,
211    3,
212    6,
213    0,
214    2,
215    4;
216   }
217  }
218 }
219}
Note: See TracBrowser for help on using the repository browser.