1 | <?xml version="1.0" encoding="utf-8"?> |
---|
2 | <COLLADA xmlns="http://www.collada.org/2005/COLLADASchema" version="1.3.0"> |
---|
3 | <asset> |
---|
4 | <copyright>Copyright 2005 Sony Computer Entertainment Inc., All Rights Reserved.</copyright> |
---|
5 | <authoring_tool>Maya 6.0.1 COLLADA exporter</authoring_tool> |
---|
6 | <source_data>file://C:/COLLADA_DataExchange_Test/Results/OutputFiles/Maya/Other/multimtl_I-Maya.mb</source_data> |
---|
7 | <up_axis>Y_UP</up_axis> |
---|
8 | <unit name="centimeter" meter="1.e-002"/> |
---|
9 | <author>lthompson</author> |
---|
10 | <modified>2005-07-28T18:13:06Z</modified> |
---|
11 | </asset> |
---|
12 | <library type="MATERIAL"> |
---|
13 | <material id="Blue" name="Blue"> |
---|
14 | <shader> |
---|
15 | <technique profile="COMMON"> |
---|
16 | <pass> |
---|
17 | <program url="PHONG"> |
---|
18 | <param name="DIFFUSE" type="float3" flow="IN" sid="diffuse">0.137255 0.403922 0.870588</param> |
---|
19 | <param name="AMBIENT" type="float3" flow="IN" sid="param1">0 0 0</param> |
---|
20 | <param name="TRANSPARENT" type="float3" flow="IN" sid="transparent">0 0 0</param> |
---|
21 | <param name="TRANSPARENCY" type="float" flow="IN">0</param> |
---|
22 | <param name="EMISSION" type="float3" flow="IN" sid="param4">0 0 0</param> |
---|
23 | <param name="SPECULAR" type="float3" flow="IN" sid="param5">0.5 0.5 0.5</param> |
---|
24 | <param name="REFLECTIVE" type="float3" flow="IN" sid="param6">0 0 0</param> |
---|
25 | <param name="REFLECTIVITY" type="float" flow="IN" sid="param7">0.5</param> |
---|
26 | <param name="SHININESS" type="float" flow="IN" sid="param8">10.</param> |
---|
27 | </program> |
---|
28 | </pass> |
---|
29 | </technique> |
---|
30 | </shader> |
---|
31 | </material> |
---|
32 | <material id="Red" name="Red"> |
---|
33 | <shader> |
---|
34 | <technique profile="COMMON"> |
---|
35 | <pass> |
---|
36 | <program url="PHONG"> |
---|
37 | <param name="DIFFUSE" type="float3" flow="IN" sid="diffuse">0.658824 0.101961 0.109804</param> |
---|
38 | <param name="AMBIENT" type="float3" flow="IN" sid="param1">0 0 0</param> |
---|
39 | <param name="TRANSPARENT" type="float3" flow="IN" sid="transparent">0 0 0</param> |
---|
40 | <param name="TRANSPARENCY" type="float" flow="IN">0</param> |
---|
41 | <param name="EMISSION" type="float3" flow="IN" sid="param4">0 0 0</param> |
---|
42 | <param name="SPECULAR" type="float3" flow="IN" sid="param5">0.368627 0.368627 0.368627</param> |
---|
43 | <param name="REFLECTIVE" type="float3" flow="IN" sid="param6">0 0 0</param> |
---|
44 | <param name="REFLECTIVITY" type="float" flow="IN" sid="param7">0.5</param> |
---|
45 | <param name="SHININESS" type="float" flow="IN" sid="param8">10.</param> |
---|
46 | </program> |
---|
47 | </pass> |
---|
48 | </technique> |
---|
49 | </shader> |
---|
50 | </material> |
---|
51 | </library> |
---|
52 | <library type="GEOMETRY"> |
---|
53 | <geometry id="box-lib" name="box"> |
---|
54 | <mesh> |
---|
55 | <source id="box-lib-Position"> |
---|
56 | <float_array id="box-lib-Position-array" count="24"> |
---|
57 | -50. 50. 50. |
---|
58 | 50. 50. 50. |
---|
59 | -50. -50. 50. |
---|
60 | 50. -50. 50. |
---|
61 | -50. 50. -50. |
---|
62 | 50. 50. -50. |
---|
63 | -50. -50. -50. |
---|
64 | 50. -50. -50. |
---|
65 | </float_array> |
---|
66 | <technique profile="COMMON"> |
---|
67 | <accessor source="#box-lib-Position-array" count="8" stride="3"> |
---|
68 | <param name="X" type="float" flow="OUT"/> |
---|
69 | <param name="Y" type="float" flow="OUT"/> |
---|
70 | <param name="Z" type="float" flow="OUT"/> |
---|
71 | </accessor> |
---|
72 | </technique> |
---|
73 | </source> |
---|
74 | <source id="box-lib-Normal"> |
---|
75 | <float_array id="box-lib-Normal-array" count="72"> |
---|
76 | 0 1. 0 |
---|
77 | 0 1. 0 |
---|
78 | 0 1. 0 |
---|
79 | 0 1. 0 |
---|
80 | 0 -1. 0 |
---|
81 | 0 -1. 0 |
---|
82 | 0 -1. 0 |
---|
83 | 0 -1. 0 |
---|
84 | -1. 0 0 |
---|
85 | -1. 0 0 |
---|
86 | -1. 0 0 |
---|
87 | -1. 0 0 |
---|
88 | 1. 0 0 |
---|
89 | 1. 0 0 |
---|
90 | 1. 0 0 |
---|
91 | 1. 0 0 |
---|
92 | 0 0 -1. |
---|
93 | 0 0 -1. |
---|
94 | 0 0 -1. |
---|
95 | 0 0 -1. |
---|
96 | 0 0 1. |
---|
97 | 0 0 1. |
---|
98 | 0 0 1. |
---|
99 | 0 0 1. |
---|
100 | </float_array> |
---|
101 | <technique profile="COMMON"> |
---|
102 | <accessor source="#box-lib-Normal-array" count="24" stride="3"> |
---|
103 | <param name="X" type="float" flow="OUT"/> |
---|
104 | <param name="Y" type="float" flow="OUT"/> |
---|
105 | <param name="Z" type="float" flow="OUT"/> |
---|
106 | </accessor> |
---|
107 | </technique> |
---|
108 | <technique profile="MAYA"> |
---|
109 | <param name="DOUBLE_SIDED" type="bool" flow="OUT">TRUE</param> |
---|
110 | </technique> |
---|
111 | </source> |
---|
112 | <vertices id="box-lib-Vertex"> |
---|
113 | <input semantic="POSITION" source="#box-lib-Position"/> |
---|
114 | </vertices> |
---|
115 | <polygons material="#Blue" count="5"> |
---|
116 | <input semantic="VERTEX" idx="0" source="#box-lib-Vertex"/> |
---|
117 | <input semantic="NORMAL" idx="1" source="#box-lib-Normal"/> |
---|
118 | <p>0 0 1 1 5 2 4 3</p> |
---|
119 | <p>6 4 7 5 3 6 2 7</p> |
---|
120 | <p>0 8 4 9 6 10 2 11</p> |
---|
121 | <p>3 12 7 13 5 14 1 15</p> |
---|
122 | <p>5 16 7 17 6 18 4 19</p> |
---|
123 | </polygons> |
---|
124 | <polygons material="#Red" count="1"> |
---|
125 | <input semantic="VERTEX" idx="0" source="#box-lib-Vertex"/> |
---|
126 | <input semantic="NORMAL" idx="1" source="#box-lib-Normal"/> |
---|
127 | <p>0 20 2 21 3 22 1 23</p> |
---|
128 | </polygons> |
---|
129 | </mesh> |
---|
130 | </geometry> |
---|
131 | </library> |
---|
132 | <library type="LIGHT"> |
---|
133 | <light id="Lt_Light-lib" name="Lt_Light" type="POINT"> |
---|
134 | <param name="COLOR" type="float3" flow="IN" sid="param0">1. 1. 1.</param> |
---|
135 | <param name="ATTENUATION" type="function" flow="IN">CONSTANT</param> |
---|
136 | <param name="ATTENUATION_SCALE" type="float" flow="IN">1.</param> |
---|
137 | </light> |
---|
138 | <light id="pointLightShape1-lib" name="pointLightShape1" type="POINT"> |
---|
139 | <param name="COLOR" type="float3" flow="IN" sid="param0">1. 1. 1.</param> |
---|
140 | <param name="ATTENUATION" type="function" flow="IN">CONSTANT</param> |
---|
141 | <param name="ATTENUATION_SCALE" type="float" flow="IN">1.</param> |
---|
142 | </light> |
---|
143 | </library> |
---|
144 | <library type="CAMERA"> |
---|
145 | <camera id="cl_unnamed_1-lib" name="cl_unnamed_1"> |
---|
146 | <technique profile="MAYA"> |
---|
147 | <optics> |
---|
148 | <program url="PERSPECTIVE"> |
---|
149 | <param name="VERTICAL_APERTURE" type="float" flow="IN">2.4</param> |
---|
150 | <param name="HORIZONTAL_APERTURE" type="float" flow="IN" sid="param1">3.59999</param> |
---|
151 | <param name="LENS_SQUEEZE" type="float" flow="IN" sid="param2">1.</param> |
---|
152 | </program> |
---|
153 | </optics> |
---|
154 | </technique> |
---|
155 | <technique profile="COMMON"> |
---|
156 | <optics> |
---|
157 | <program url="PERSPECTIVE"> |
---|
158 | <param name="YFOV" type="float" flow="IN" sid="param0">36.</param> |
---|
159 | <param name="ZNEAR" type="float" flow="IN" sid="param1">10.</param> |
---|
160 | <param name="ZFAR" type="float" flow="IN" sid="param2">3.2768e+006</param> |
---|
161 | </program> |
---|
162 | </optics> |
---|
163 | </technique> |
---|
164 | </camera> |
---|
165 | <camera id="testCameraShape-lib" name="testCameraShape"> |
---|
166 | <technique profile="MAYA"> |
---|
167 | <optics> |
---|
168 | <program url="PERSPECTIVE"> |
---|
169 | <param name="VERTICAL_APERTURE" type="float" flow="IN">2.40005</param> |
---|
170 | <param name="HORIZONTAL_APERTURE" type="float" flow="IN" sid="param1">3.59994</param> |
---|
171 | <param name="LENS_SQUEEZE" type="float" flow="IN" sid="param2">1.</param> |
---|
172 | </program> |
---|
173 | </optics> |
---|
174 | </technique> |
---|
175 | <technique profile="COMMON"> |
---|
176 | <optics> |
---|
177 | <program url="PERSPECTIVE"> |
---|
178 | <param name="YFOV" type="float" flow="IN" sid="param0">37.85</param> |
---|
179 | <param name="ZNEAR" type="float" flow="IN" sid="param1">1.e-002</param> |
---|
180 | <param name="ZFAR" type="float" flow="IN" sid="param2">1000.</param> |
---|
181 | </program> |
---|
182 | </optics> |
---|
183 | </technique> |
---|
184 | </camera> |
---|
185 | </library> |
---|
186 | <scene name="multimtl_I-Maya"> |
---|
187 | <extra> |
---|
188 | <technique profile="MAYA"> |
---|
189 | <param name="START_TIME" type="float" flow="IN">4.16667e-002</param> |
---|
190 | <param name="END_TIME" type="float" flow="IN">2.</param> |
---|
191 | </technique> |
---|
192 | </extra> |
---|
193 | <boundingbox> |
---|
194 | <min>-326. -50. -50.</min> |
---|
195 | <max>50. 226. 401.</max> |
---|
196 | </boundingbox> |
---|
197 | <node id="Camera" name="Camera"> |
---|
198 | <boundingbox> |
---|
199 | <min>-143.414 91.3445 293.878</min> |
---|
200 | <max>-139.816 94.0573 298.517</max> |
---|
201 | </boundingbox> |
---|
202 | <translate sid="translate">-141.666 92.4958 296.3</translate> |
---|
203 | <rotate sid="rotateY">0 1 0 -26.</rotate> |
---|
204 | <rotate sid="rotateX">1 0 0 -15.1954</rotate> |
---|
205 | <skew sid="shearYZ">1.8023e-007 0 0 1 0 1 0</skew> |
---|
206 | <instance url="#cl_unnamed_1-lib"/> |
---|
207 | </node> |
---|
208 | <node id="Light" name="Light"> |
---|
209 | <boundingbox> |
---|
210 | <min>-326. 224. 399.</min> |
---|
211 | <max>-324. 226. 401.</max> |
---|
212 | </boundingbox> |
---|
213 | <translate sid="translate">-325. 225. 400.</translate> |
---|
214 | <instance url="#Lt_Light-lib"/> |
---|
215 | </node> |
---|
216 | <node id="Box" name="Box"> |
---|
217 | <boundingbox> |
---|
218 | <min>-50. -50. -50.</min> |
---|
219 | <max>50. 50. 50.</max> |
---|
220 | </boundingbox> |
---|
221 | <instance url="#box-lib"/> |
---|
222 | </node> |
---|
223 | <node id="testCamera" name="testCamera"> |
---|
224 | <boundingbox> |
---|
225 | <min>-143.467 91.3098 293.854</min> |
---|
226 | <max>-139.768 94.0573 298.549</max> |
---|
227 | </boundingbox> |
---|
228 | <translate sid="translate">-141.666 92.4958 296.3</translate> |
---|
229 | <rotate sid="rotateY">0 1 0 -26.</rotate> |
---|
230 | <rotate sid="rotateX">1 0 0 -15.1954</rotate> |
---|
231 | <instance url="#testCameraShape-lib"/> |
---|
232 | </node> |
---|
233 | <node id="pointLight1" name="pointLight1"> |
---|
234 | <boundingbox> |
---|
235 | <min>2. 3. 9.</min> |
---|
236 | <max>4. 5. 11.</max> |
---|
237 | </boundingbox> |
---|
238 | <translate sid="translate">3. 4. 10.</translate> |
---|
239 | <instance url="#pointLightShape1-lib"/> |
---|
240 | </node> |
---|
241 | </scene> |
---|
242 | </COLLADA> |
---|