source: GTP/trunk/App/Demos/Illum/MultipleReflections/Media/Objects/cube.x @ 2242

Revision 2242, 9.4 KB checked in by szirmay, 18 years ago (diff)
Line 
1xof 0303txt 0032
2template Frame {
3 <3d82ab46-62da-11cf-ab39-0020af71e433>
4 [...]
5}
6
7template Matrix4x4 {
8 <f6f23f45-7686-11cf-8f52-0040333594a3>
9 array FLOAT matrix[16];
10}
11
12template FrameTransformMatrix {
13 <f6f23f41-7686-11cf-8f52-0040333594a3>
14 Matrix4x4 frameMatrix;
15}
16
17template Vector {
18 <3d82ab5e-62da-11cf-ab39-0020af71e433>
19 FLOAT x;
20 FLOAT y;
21 FLOAT z;
22}
23
24template MeshFace {
25 <3d82ab5f-62da-11cf-ab39-0020af71e433>
26 DWORD nFaceVertexIndices;
27 array DWORD faceVertexIndices[nFaceVertexIndices];
28}
29
30template Mesh {
31 <3d82ab44-62da-11cf-ab39-0020af71e433>
32 DWORD nVertices;
33 array Vector vertices[nVertices];
34 DWORD nFaces;
35 array MeshFace faces[nFaces];
36 [...]
37}
38
39template MeshNormals {
40 <f6f23f43-7686-11cf-8f52-0040333594a3>
41 DWORD nNormals;
42 array Vector normals[nNormals];
43 DWORD nFaceNormals;
44 array MeshFace faceNormals[nFaceNormals];
45}
46
47template Coords2d {
48 <f6f23f44-7686-11cf-8f52-0040333594a3>
49 FLOAT u;
50 FLOAT v;
51}
52
53template MeshTextureCoords {
54 <f6f23f40-7686-11cf-8f52-0040333594a3>
55 DWORD nTextureCoords;
56 array Coords2d textureCoords[nTextureCoords];
57}
58
59template ColorRGBA {
60 <35ff44e0-6c7c-11cf-8f52-0040333594a3>
61 FLOAT red;
62 FLOAT green;
63 FLOAT blue;
64 FLOAT alpha;
65}
66
67template IndexedColor {
68 <1630b820-7842-11cf-8f52-0040333594a3>
69 DWORD index;
70 ColorRGBA indexColor;
71}
72
73template MeshVertexColors {
74 <1630b821-7842-11cf-8f52-0040333594a3>
75 DWORD nVertexColors;
76 array IndexedColor vertexColors[nVertexColors];
77}
78
79template ColorRGB {
80 <d3e16e81-7835-11cf-8f52-0040333594a3>
81 FLOAT red;
82 FLOAT green;
83 FLOAT blue;
84}
85
86template Material {
87 <3d82ab4d-62da-11cf-ab39-0020af71e433>
88 ColorRGBA faceColor;
89 FLOAT power;
90 ColorRGB specularColor;
91 ColorRGB emissiveColor;
92 [...]
93}
94
95template MeshMaterialList {
96 <f6f23f42-7686-11cf-8f52-0040333594a3>
97 DWORD nMaterials;
98 DWORD nFaceIndexes;
99 array DWORD faceIndexes[nFaceIndexes];
100 [Material <3d82ab4d-62da-11cf-ab39-0020af71e433>]
101}
102
103template TextureFilename {
104 <a42790e1-7810-11cf-8f52-0040333594a3>
105 STRING filename;
106}
107
108template VertexDuplicationIndices {
109 <b8d65549-d7c9-4995-89cf-53a9a8b031e3>
110 DWORD nIndices;
111 DWORD nOriginalVertices;
112 array DWORD indices[nIndices];
113}
114
115
116Frame DXCC_ROOT {
117 
118
119 FrameTransformMatrix {
120  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;;
121 }
122
123 Frame group {
124 
125
126  FrameTransformMatrix {
127   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,-4.000000,0.000000,1.000000;;
128  }
129 }
130
131 Frame group1 {
132 
133
134  FrameTransformMatrix {
135   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,2.205373,0.000000,1.000000;;
136  }
137
138  Frame pasted__group {
139   
140
141   FrameTransformMatrix {
142    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,-4.000000,0.000000,1.000000;;
143   }
144  }
145 }
146
147 Frame group2 {
148 
149
150  FrameTransformMatrix {
151   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;;
152  }
153
154  Frame group3 {
155   
156
157   FrameTransformMatrix {
158    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;;
159   }
160
161   Frame group4 {
162   
163
164    FrameTransformMatrix {
165     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;;
166    }
167
168    Frame pasted__pasted__pCube2 {
169     
170
171     FrameTransformMatrix {
172      1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,3.750000,-2.294627,-3.750000,1.000000;;
173     }
174    }
175
176    Frame pCube2 {
177     
178
179     FrameTransformMatrix {
180      1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,3.750000,-0.500000,-3.750000,1.000000;;
181     }
182    }
183
184    Frame pasted__pCube2 {
185     
186
187     FrameTransformMatrix {
188      1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,3.750000,-4.500000,-3.750000,1.000000;;
189     }
190    }
191   }
192  }
193 }
194
195 Frame pCube1 {
196 
197
198  FrameTransformMatrix {
199   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;;
200  }
201
202  Mesh pCubeShape1 {
203  24;
204    -1.799578;-1.799578;-1.799578;,
205    1.799578;-1.799578;-1.799578;,
206    -1.799578;1.799578;-1.799578;,
207    1.799578;1.799578;-1.799578;,
208    -1.799578;1.799578;-1.799578;,
209    -1.799578;1.799578;1.799578;,
210    1.799578;1.799578;-1.799578;,
211    1.799578;1.799578;1.799578;,
212    -1.799578;1.799578;1.799578;,
213    -1.799578;-1.799578;1.799578;,
214    1.799578;1.799578;1.799578;,
215    1.799578;-1.799578;1.799578;,
216    -1.799578;-1.799578;1.799578;,
217    -1.799578;-1.799578;-1.799578;,
218    1.799578;-1.799578;1.799578;,
219    1.799578;-1.799578;-1.799578;,
220    1.799578;-1.799578;-1.799578;,
221    1.799578;1.799578;-1.799578;,
222    1.799578;-1.799578;1.799578;,
223    1.799578;1.799578;1.799578;,
224    -1.799578;-1.799578;1.799578;,
225    -1.799578;1.799578;1.799578;,
226    -1.799578;-1.799578;-1.799578;,
227    -1.799578;1.799578;-1.799578;;
228    12;
229    3;0,1,2;,
230    3;2,1,3;,
231    3;4,6,5;,
232    3;5,6,7;,
233    3;8,10,9;,
234    3;9,10,11;,
235    3;12,14,13;,
236    3;13,14,15;,
237    3;16,18,17;,
238    3;17,18,19;,
239    3;20,22,21;,
240    3;21,22,23;;
241
242    MeshNormals {
243     24;
244     -0.000000;0.000000;1.000000;,
245     -0.000000;0.000000;1.000000;,
246     -0.000000;0.000000;1.000000;,
247     -0.000000;0.000000;1.000000;,
248     0.000000;-1.000000;0.000000;,
249     0.000000;-1.000000;0.000000;,
250     0.000000;-1.000000;0.000000;,
251     0.000000;-1.000000;0.000000;,
252     -0.000000;0.000000;-1.000000;,
253     -0.000000;0.000000;-1.000000;,
254     -0.000000;0.000000;-1.000000;,
255     -0.000000;0.000000;-1.000000;,
256     0.000000;1.000000;-0.000000;,
257     0.000000;1.000000;-0.000000;,
258     0.000000;1.000000;-0.000000;,
259     0.000000;1.000000;-0.000000;,
260     -1.000000;0.000000;0.000000;,
261     -1.000000;0.000000;0.000000;,
262     -1.000000;0.000000;0.000000;,
263     -1.000000;0.000000;0.000000;,
264     1.000000;0.000000;0.000000;,
265     1.000000;0.000000;0.000000;,
266     1.000000;0.000000;0.000000;,
267     1.000000;0.000000;0.000000;;
268     12;
269     3;0,1,2;,
270     3;2,1,3;,
271     3;4,6,5;,
272     3;5,6,7;,
273     3;8,10,9;,
274     3;9,10,11;,
275     3;12,14,13;,
276     3;13,14,15;,
277     3;16,18,17;,
278     3;17,18,19;,
279     3;20,22,21;,
280     3;21,22,23;;
281    }
282
283    MeshTextureCoords {
284     24;
285     0.349053;0.319715;,
286     0.657182;0.320325;,
287     0.349317;0.014743;,
288     0.656969;0.014716;,
289     0.350917;0.680116;,
290     0.351515;0.986513;,
291     0.656259;0.680426;,
292     0.656765;0.986844;,
293     0.598155;0.652403;,
294     0.597491;0.349838;,
295     0.901689;0.651677;,
296     0.901449;0.349775;,
297     0.015665;0.985916;,
298     0.015503;0.679901;,
299     0.318841;0.985428;,
300     0.319166;0.680011;,
301     0.014253;0.319142;,
302     0.014079;0.013784;,
303     0.317449;0.319071;,
304     0.317912;0.013962;,
305     0.261978;0.652532;,
306     0.262356;0.349926;,
307     0.568156;0.652237;,
308     0.567658;0.349629;;
309    }
310
311    MeshVertexColors {
312     24;
313     0;0.000000;0.000000;0.000000;0.000000;;,
314     1;0.000000;0.000000;0.000000;0.000000;;,
315     2;0.000000;0.000000;0.000000;0.000000;;,
316     3;0.000000;0.000000;0.000000;0.000000;;,
317     4;0.000000;0.000000;0.000000;0.000000;;,
318     5;0.000000;0.000000;0.000000;0.000000;;,
319     6;0.000000;0.000000;0.000000;0.000000;;,
320     7;0.000000;0.000000;0.000000;0.000000;;,
321     8;0.000000;0.000000;0.000000;0.000000;;,
322     9;0.000000;0.000000;0.000000;0.000000;;,
323     10;0.000000;0.000000;0.000000;0.000000;;,
324     11;0.000000;0.000000;0.000000;0.000000;;,
325     12;0.000000;0.000000;0.000000;0.000000;;,
326     13;0.000000;0.000000;0.000000;0.000000;;,
327     14;0.000000;0.000000;0.000000;0.000000;;,
328     15;0.000000;0.000000;0.000000;0.000000;;,
329     16;0.000000;0.000000;0.000000;0.000000;;,
330     17;0.000000;0.000000;0.000000;0.000000;;,
331     18;0.000000;0.000000;0.000000;0.000000;;,
332     19;0.000000;0.000000;0.000000;0.000000;;,
333     20;0.000000;0.000000;0.000000;0.000000;;,
334     21;0.000000;0.000000;0.000000;0.000000;;,
335     22;0.000000;0.000000;0.000000;0.000000;;,
336     23;0.000000;0.000000;0.000000;0.000000;;;
337    }
338
339   MeshMaterialList {
340    2;
341    12;
342    0,
343    0,
344    0,
345    0,
346    0,
347    0,
348    0,
349    0,
350    0,
351    0,
352    0,
353    0;
354
355    Material {
356     0.000000;0.000000;0.000000;0.000000;;
357     0.000000;
358     0.000000;0.000000;0.000000;;
359     0.000000;0.000000;0.000000;;
360
361     TextureFilename {
362      "\340\ài\321\Ñ\1\";
363     }
364    }
365
366    Material {
367     3035349864222116900;2674797593936254700;0.000000;0.000000;;
368     1.000000;
369     0.000000;0.000000;0.000000;;
370     0.000000;0.000000;0.000000;;
371
372     TextureFilename {
373      "";
374     }
375    }
376   }
377
378   VertexDuplicationIndices {
379    24;
380    8;
381    0,
382    1,
383    2,
384    3,
385    3,
386    2,
387    6,
388    7,
389    7,
390    6,
391    10,
392    11,
393    11,
394    10,
395    1,
396    0,
397    1,
398    10,
399    6,
400    2,
401    11,
402    0,
403    3,
404    7;
405   }
406  }
407 }
408}
Note: See TracBrowser for help on using the repository browser.