1 | xof 0303txt 0032 |
---|
2 | template XSkinMeshHeader { |
---|
3 | <3cf169ce-ff7c-44ab-93c0-f78f62d172e2> |
---|
4 | WORD nMaxSkinWeightsPerVertex; |
---|
5 | WORD nMaxSkinWeightsPerFace; |
---|
6 | WORD nBones; |
---|
7 | } |
---|
8 | |
---|
9 | template VertexDuplicationIndices { |
---|
10 | <b8d65549-d7c9-4995-89cf-53a9a8b031e3> |
---|
11 | DWORD nIndices; |
---|
12 | DWORD nOriginalVertices; |
---|
13 | array DWORD indices[nIndices]; |
---|
14 | } |
---|
15 | |
---|
16 | template 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 | |
---|
26 | Frame 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.806960,0.000000,0.590606,0.000000,0.243403,0.911128,0.332568,0.000000,-0.538117,0.412124,-0.735244,0.000000,-11.152844,8.541557,-15.238429,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 pCube1 { |
---|
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 | Mesh pCubeShape1 { |
---|
81 | 24; |
---|
82 | -5.000000;-4.000000;10.000000;, |
---|
83 | 5.000000;-4.000000;10.000000;, |
---|
84 | -5.000000;4.000000;10.000000;, |
---|
85 | 5.000000;4.000000;10.000000;, |
---|
86 | -5.000000;4.000000;-10.000000;, |
---|
87 | 5.000000;4.000000;-10.000000;, |
---|
88 | -5.000000;-4.000000;-10.000000;, |
---|
89 | 5.000000;-4.000000;-10.000000;, |
---|
90 | -5.000000;4.000000;10.000000;, |
---|
91 | 5.000000;4.000000;10.000000;, |
---|
92 | -5.000000;4.000000;-10.000000;, |
---|
93 | 5.000000;4.000000;-10.000000;, |
---|
94 | -5.000000;-4.000000;-10.000000;, |
---|
95 | -5.000000;-4.000000;10.000000;, |
---|
96 | 5.000000;-4.000000;10.000000;, |
---|
97 | 5.000000;-4.000000;-10.000000;, |
---|
98 | 5.000000;-4.000000;10.000000;, |
---|
99 | 5.000000;4.000000;10.000000;, |
---|
100 | 5.000000;4.000000;-10.000000;, |
---|
101 | 5.000000;-4.000000;-10.000000;, |
---|
102 | -5.000000;-4.000000;-10.000000;, |
---|
103 | -5.000000;4.000000;-10.000000;, |
---|
104 | -5.000000;4.000000;10.000000;, |
---|
105 | -5.000000;-4.000000;10.000000;; |
---|
106 | 6; |
---|
107 | 4;0,2,3,1;, |
---|
108 | 4;8,4,5,9;, |
---|
109 | 4;10,6,7,11;, |
---|
110 | 4;12,13,14,15;, |
---|
111 | 4;16,17,18,19;, |
---|
112 | 4;20,21,22,23;; |
---|
113 | |
---|
114 | MeshNormals { |
---|
115 | 6; |
---|
116 | -1.000000;0.000000;0.000000;, |
---|
117 | 0.000000;-1.000000;0.000000;, |
---|
118 | 0.000000;0.000000;-1.000000;, |
---|
119 | 0.000000;0.000000;1.000000;, |
---|
120 | 0.000000;1.000000;0.000000;, |
---|
121 | 1.000000;0.000000;0.000000;; |
---|
122 | 6; |
---|
123 | 4;2,2,2,2;, |
---|
124 | 4;1,1,1,1;, |
---|
125 | 4;3,3,3,3;, |
---|
126 | 4;4,4,4,4;, |
---|
127 | 4;0,0,0,0;, |
---|
128 | 4;5,5,5,5;; |
---|
129 | } |
---|
130 | |
---|
131 | MeshTextureCoords { |
---|
132 | 24; |
---|
133 | 0.655685;-0.911143;, |
---|
134 | 0.655685;-0.545605;, |
---|
135 | 0.363254;-0.911143;, |
---|
136 | 0.363254;-0.545605;, |
---|
137 | 0.483344;-0.527028;, |
---|
138 | 0.240544;-0.527028;, |
---|
139 | 0.676363;-0.913327;, |
---|
140 | 0.676363;-0.545605;, |
---|
141 | 0.483344;-0.009288;, |
---|
142 | 0.240544;-0.009288;, |
---|
143 | 0.970540;-0.913327;, |
---|
144 | 0.970540;-0.545605;, |
---|
145 | 0.746872;-0.009288;, |
---|
146 | 0.746872;-0.527028;, |
---|
147 | 0.504072;-0.527028;, |
---|
148 | 0.504072;-0.009288;, |
---|
149 | 0.961840;-0.527028;, |
---|
150 | 0.767600;-0.527028;, |
---|
151 | 0.767600;-0.009288;, |
---|
152 | 0.961840;-0.009288;, |
---|
153 | 0.219844;-0.535679;, |
---|
154 | 0.009288;-0.535679;, |
---|
155 | 0.009288;-0.009288;, |
---|
156 | 0.219844;-0.009288;; |
---|
157 | } |
---|
158 | |
---|
159 | MeshMaterialList { |
---|
160 | 1; |
---|
161 | 6; |
---|
162 | 0, |
---|
163 | 0, |
---|
164 | 0, |
---|
165 | 0, |
---|
166 | 0, |
---|
167 | 0; |
---|
168 | |
---|
169 | Material lambert2SG { |
---|
170 | 0.800000;0.800000;0.800000;1.000000;; |
---|
171 | 0.000000; |
---|
172 | 0.000000;0.000000;0.000000;; |
---|
173 | 0.000000;0.000000;0.000000;; |
---|
174 | |
---|
175 | TextureFilename { |
---|
176 | "brickroom.bmp"; |
---|
177 | } |
---|
178 | } |
---|
179 | } |
---|
180 | |
---|
181 | VertexDuplicationIndices { |
---|
182 | 24; |
---|
183 | 8; |
---|
184 | 0, |
---|
185 | 1, |
---|
186 | 2, |
---|
187 | 3, |
---|
188 | 4, |
---|
189 | 5, |
---|
190 | 6, |
---|
191 | 7, |
---|
192 | 2, |
---|
193 | 3, |
---|
194 | 4, |
---|
195 | 5, |
---|
196 | 6, |
---|
197 | 0, |
---|
198 | 1, |
---|
199 | 7, |
---|
200 | 1, |
---|
201 | 3, |
---|
202 | 5, |
---|
203 | 7, |
---|
204 | 6, |
---|
205 | 4, |
---|
206 | 2, |
---|
207 | 0; |
---|
208 | } |
---|
209 | } |
---|
210 | } |
---|
211 | } |
---|