source: GTP/trunk/App/Demos/Illum/Envmap/Media/Objects/room.x @ 843

Revision 843, 9.2 KB checked in by szirmay, 19 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   -5.000000;-5.000000;-5.000000;,
205   5.000000;-5.000000;-5.000000;,
206   5.000000;5.000000;-5.000000;,
207   -5.000000;5.000000;-5.000000;,
208   -5.000000;5.000000;-5.000000;,
209   5.000000;5.000000;-5.000000;,
210   5.000000;5.000000;5.000000;,
211   -5.000000;5.000000;5.000000;,
212   -5.000000;5.000000;5.000000;,
213   5.000000;5.000000;5.000000;,
214   5.000000;-5.000000;5.000000;,
215   -5.000000;-5.000000;5.000000;,
216   -5.000000;-5.000000;5.000000;,
217   5.000000;-5.000000;5.000000;,
218   5.000000;-5.000000;-5.000000;,
219   -5.000000;-5.000000;-5.000000;,
220   5.000000;-5.000000;-5.000000;,
221   5.000000;-5.000000;5.000000;,
222   5.000000;5.000000;5.000000;,
223   5.000000;5.000000;-5.000000;,
224   -5.000000;-5.000000;5.000000;,
225   -5.000000;-5.000000;-5.000000;,
226   -5.000000;5.000000;-5.000000;,
227   -5.000000;5.000000;5.000000;;
228   12;
229   3;0,3,1;,
230   3;1,3,2;,
231   3;4,7,5;,
232   3;5,7,6;,
233   3;8,11,9;,
234   3;9,11,10;,
235   3;12,15,13;,
236   3;13,15,14;,
237   3;16,19,17;,
238   3;17,19,18;,
239   3;20,23,21;,
240   3;21,23,22;;
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,3,1;,
270    3;1,3,2;,
271    3;4,7,5;,
272    3;5,7,6;,
273    3;8,11,9;,
274    3;9,11,10;,
275    3;12,15,13;,
276    3;13,15,14;,
277    3;16,19,17;,
278    3;17,19,18;,
279    3;20,23,21;,
280    3;21,23,22;;
281   }
282
283   MeshTextureCoords {
284    24;
285    0.017557;0.315413;,
286    0.313739;0.315413;,
287    0.313739;0.019231;,
288    0.017557;0.019231;,
289    0.352758;0.315413;,
290    0.648940;0.315413;,
291    0.648940;0.019231;,
292    0.352758;0.019231;,
293    0.017557;0.980769;,
294    0.313739;0.980769;,
295    0.313739;0.684587;,
296    0.017557;0.684587;,
297    0.352758;0.980769;,
298    0.648940;0.980769;,
299    0.648940;0.684587;,
300    0.352758;0.684587;,
301    0.599240;0.648091;,
302    0.895423;0.648091;,
303    0.895423;0.351909;,
304    0.599240;0.351909;,
305    0.264602;0.648091;,
306    0.560784;0.648091;,
307    0.560784;0.351909;,
308    0.264602;0.351909;;
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.