Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/ColladaPlugin/demo/media/dae/cubes.dae @ 21

Last change on this file since 21 was 21, checked in by nicolasc, 16 years ago

added ogreode and Colladaplugin

File size: 8.3 KB
Line 
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/cube_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:12:59Z</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">16.</param>
27            </program>
28          </pass>
29        </technique>
30      </shader>
31    </material>
32  </library>
33  <library type="GEOMETRY">
34    <geometry id="box-lib" name="box">
35      <mesh>
36        <source id="box-lib-Position">
37          <float_array id="box-lib-Position-array" count="24">
38-50. 50. 50.
3950. 50. 50.
40-50. -50. 50.
4150. -50. 50.
42-50. 50. -50.
4350. 50. -50.
44-50. -50. -50.
4550. -50. -50.
46</float_array>
47          <technique profile="COMMON">
48            <accessor source="#box-lib-Position-array" count="8" stride="3">
49              <param name="X" type="float" flow="OUT"/>
50              <param name="Y" type="float" flow="OUT"/>
51              <param name="Z" type="float" flow="OUT"/>
52            </accessor>
53          </technique>
54        </source>
55        <source id="box-lib-Normal">
56          <float_array id="box-lib-Normal-array" count="72">
570 0 1.
580 0 1.
590 0 1.
600 0 1.
610 1. 0
620 1. 0
630 1. 0
640 1. 0
650 -1. 0
660 -1. 0
670 -1. 0
680 -1. 0
69-1. 0 0
70-1. 0 0
71-1. 0 0
72-1. 0 0
731. 0 0
741. 0 0
751. 0 0
761. 0 0
770 0 -1.
780 0 -1.
790 0 -1.
800 0 -1.
81</float_array>
82          <technique profile="COMMON">
83            <accessor source="#box-lib-Normal-array" count="24" stride="3">
84              <param name="X" type="float" flow="OUT"/>
85              <param name="Y" type="float" flow="OUT"/>
86              <param name="Z" type="float" flow="OUT"/>
87            </accessor>
88          </technique>
89          <technique profile="MAYA">
90            <param name="DOUBLE_SIDED" type="bool" flow="OUT">TRUE</param>
91          </technique>
92        </source>
93        <vertices id="box-lib-Vertex">
94          <input semantic="POSITION" source="#box-lib-Position"/>
95        </vertices>
96        <polygons material="#Blue" count="6">
97          <input semantic="VERTEX" idx="0" source="#box-lib-Vertex"/>
98          <input semantic="NORMAL" idx="1" source="#box-lib-Normal"/>
99          <p>0 0 2 1 3 2 1 3</p>
100          <p>0 4 1 5 5 6 4 7</p>
101          <p>6 8 7 9 3 10 2 11</p>
102          <p>0 12 4 13 6 14 2 15</p>
103          <p>3 16 7 17 5 18 1 19</p>
104          <p>5 20 7 21 6 22 4 23</p>
105        </polygons>
106      </mesh>
107    </geometry>
108  </library>
109  <library type="LIGHT">
110    <light id="light-lib" name="light" type="POINT">
111      <param name="COLOR" type="float3" flow="IN" sid="param0">1. 1. 1.</param>
112      <param name="ATTENUATION" type="function" flow="IN">CONSTANT</param>
113      <param name="ATTENUATION_SCALE" type="float" flow="IN">1.</param>
114    </light>
115    <light id="pointLightShape1-lib" name="pointLightShape1" type="POINT">
116      <param name="COLOR" type="float3" flow="IN" sid="param0">1. 1. 1.</param>
117      <param name="ATTENUATION" type="function" flow="IN">CONSTANT</param>
118      <param name="ATTENUATION_SCALE" type="float" flow="IN">1.</param>
119    </light>
120  </library>
121  <library type="CAMERA">
122    <camera id="PerspCamera-lib" name="PerspCamera">
123      <technique profile="MAYA">
124        <optics>
125          <program url="PERSPECTIVE">
126            <param name="VERTICAL_APERTURE" type="float" flow="IN">2.4</param>
127            <param name="HORIZONTAL_APERTURE" type="float" flow="IN" sid="param1">3.59999</param>
128            <param name="LENS_SQUEEZE" type="float" flow="IN" sid="param2">1.</param>
129          </program>
130        </optics>
131      </technique>
132      <technique profile="COMMON">
133        <optics>
134          <program url="PERSPECTIVE">
135            <param name="YFOV" type="float" flow="IN" sid="param0">36.</param>
136            <param name="ZNEAR" type="float" flow="IN" sid="param1">10.</param>
137            <param name="ZFAR" type="float" flow="IN" sid="param2">3.2767e+006</param>
138          </program>
139        </optics>
140      </technique>
141    </camera>
142    <camera id="testCameraShape-lib" name="testCameraShape">
143      <technique profile="MAYA">
144        <optics>
145          <program url="PERSPECTIVE">
146            <param name="VERTICAL_APERTURE" type="float" flow="IN">2.40005</param>
147            <param name="HORIZONTAL_APERTURE" type="float" flow="IN" sid="param1">3.59994</param>
148            <param name="LENS_SQUEEZE" type="float" flow="IN" sid="param2">1.</param>
149          </program>
150        </optics>
151      </technique>
152      <technique profile="COMMON">
153        <optics>
154          <program url="PERSPECTIVE">
155            <param name="YFOV" type="float" flow="IN" sid="param0">37.85</param>
156            <param name="ZNEAR" type="float" flow="IN" sid="param1">1.e-002</param>
157            <param name="ZFAR" type="float" flow="IN" sid="param2">1000.</param>
158          </program>
159        </optics>
160      </technique>
161    </camera>
162  </library>
163  <scene name="cube_I-Maya">
164    <extra>
165      <technique profile="MAYA">
166        <param name="START_TIME" type="float" flow="IN">4.16667e-002</param>
167        <param name="END_TIME" type="float" flow="IN">2.</param>
168      </technique>
169    </extra>
170    <boundingbox>
171      <min>-501. -50. -50.</min>
172      <max>50. 1001. 657.259</max>
173    </boundingbox>
174    <node id="Camera" name="Camera">
175      <boundingbox>
176        <min>-429.651 332.498 652.583</min>
177        <max>-425.695 335.592 657.218</max>
178      </boundingbox>
179      <translate sid="translate">-427.749 333.855 655.017</translate>
180      <rotate sid="rotateY">0 1 0 -33.</rotate>
181      <rotate sid="rotateX">1 0 0 -22.1954</rotate>
182      <skew sid="shearYZ">1.46672e-007 0 0 1 0 1 0</skew>
183      <instance url="#PerspCamera-lib"/>
184    </node>
185    <node id="Light" name="Light">
186      <boundingbox>
187        <min>-501. 999. 399.</min>
188        <max>-499. 1001. 401.</max>
189      </boundingbox>
190      <translate sid="translate">-500. 1000. 400.</translate>
191      <instance url="#light-lib"/>
192    </node>
193    <node id="cubes" name="2Cubes">
194        <node id="Box1" name="Box1">
195          <boundingbox>
196            <min>-50. -50. -50.</min>
197            <max>50. 50. 50.</max>
198          </boundingbox>
199          <translate sid="translate">100. 100. 100.</translate>
200          <instance url="#box-lib"/>
201        </node>
202        <node id="Hypercube" name="Hypercube">
203            <node id="Box2" name="Box2">
204              <boundingbox>
205                <min>-50. -50. -50.</min>
206                <max>50. 50. 50.</max>
207              </boundingbox>
208              <translate sid="translate">-100. -100. -100.</translate>
209              <instance url="#box-lib"/>
210            </node>
211        </node>
212    </node>
213    <node id="testCamera" name="testCamera">
214      <boundingbox>
215        <min>-429.703 332.465 652.554</min>
216        <max>-425.65 335.592 657.259</max>
217      </boundingbox>
218      <translate sid="translate">-427.749 333.855 655.017</translate>
219      <rotate sid="rotateY">0 1 0 -33.</rotate>
220      <rotate sid="rotateX">1 0 0 -22.1954</rotate>
221      <instance url="#testCameraShape-lib"/>
222    </node>
223    <node id="pointLight1" name="pointLight1">
224      <boundingbox>
225        <min>2. 3. 9.</min>
226        <max>4. 5. 11.</max>
227      </boundingbox>
228      <translate sid="translate">3. 4. 10.</translate>
229      <instance url="#pointLightShape1-lib"/>
230    </node>
231  </scene>
232</COLLADA>
Note: See TracBrowser for help on using the repository browser.