comparison Renderer/Test/collada_file/sampleTexture.dae @ 1278:88b75be39952 draft

add collada file
author Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
date Fri, 25 Nov 2011 16:58:09 +0900
parents
children ad841dcdbe67
comparison
equal deleted inserted replaced
1253:bb9c885c1cb5 1278:88b75be39952
1 <?xml version="1.0" encoding="utf-8"?>
2 <COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
3 <asset>
4 <contributor>
5 <author>Blender User</author>
6 <authoring_tool>Blender 2.60.0 r41098M</authoring_tool>
7 </contributor>
8 <created>2011-11-02T00:19:27</created>
9 <modified>2011-11-02T00:19:27</modified>
10 <unit name="meter" meter="1"/>
11 <up_axis>Z_UP</up_axis>
12 </asset>
13 <library_cameras>
14 <camera id="Camera-camera" name="Camera">
15 <optics>
16 <technique_common>
17 <perspective>
18 <xfov sid="xfov">49.13434</xfov>
19 <aspect_ratio>1.777778</aspect_ratio>
20 <znear sid="znear">0.1</znear>
21 <zfar sid="zfar">100</zfar>
22 </perspective>
23 </technique_common>
24 </optics>
25 </camera>
26 </library_cameras>
27 <library_lights>
28 <light id="Lamp-light" name="Lamp">
29 <technique_common>
30 <point>
31 <color sid="color">1 1 1</color>
32 <constant_attenuation>1</constant_attenuation>
33 <linear_attenuation>0</linear_attenuation>
34 <quadratic_attenuation>0.00111109</quadratic_attenuation>
35 </point>
36 </technique_common>
37 <extra>
38 <technique profile="blender">
39 <adapt_thresh>0.000999987</adapt_thresh>
40 <area_shape>0</area_shape>
41 <area_size>1</area_size>
42 <area_sizey>1</area_sizey>
43 <area_sizez>1</area_sizez>
44 <atm_distance_factor>1</atm_distance_factor>
45 <atm_extinction_factor>1</atm_extinction_factor>
46 <atm_turbidity>2</atm_turbidity>
47 <att1>0</att1>
48 <att2>1</att2>
49 <backscattered_light>1</backscattered_light>
50 <bias>1</bias>
51 <blue>1</blue>
52 <buffers>1</buffers>
53 <bufflag>0</bufflag>
54 <bufsize>2880</bufsize>
55 <buftype>2</buftype>
56 <clipend>30.002</clipend>
57 <clipsta>1.000799</clipsta>
58 <compressthresh>0.04999995</compressthresh>
59 <dist sid="blender_dist">29.99998</dist>
60 <energy sid="blender_energy">1</energy>
61 <falloff_type>2</falloff_type>
62 <filtertype>0</filtertype>
63 <flag>0</flag>
64 <gamma sid="blender_gamma">1</gamma>
65 <green>1</green>
66 <halo_intensity sid="blnder_halo_intensity">1</halo_intensity>
67 <horizon_brightness>1</horizon_brightness>
68 <mode>8192</mode>
69 <ray_samp>1</ray_samp>
70 <ray_samp_method>1</ray_samp_method>
71 <ray_samp_type>0</ray_samp_type>
72 <ray_sampy>1</ray_sampy>
73 <ray_sampz>1</ray_sampz>
74 <red>1</red>
75 <samp>3</samp>
76 <shadhalostep>0</shadhalostep>
77 <shadow_b sid="blender_shadow_b">0</shadow_b>
78 <shadow_g sid="blender_shadow_g">0</shadow_g>
79 <shadow_r sid="blender_shadow_r">0</shadow_r>
80 <shadspotsize>45</shadspotsize>
81 <sky_colorspace>0</sky_colorspace>
82 <sky_exposure>1</sky_exposure>
83 <skyblendfac>1</skyblendfac>
84 <skyblendtype>1</skyblendtype>
85 <soft>3</soft>
86 <spotblend>0.15</spotblend>
87 <spotsize>75</spotsize>
88 <spread>1</spread>
89 <sun_brightness>1</sun_brightness>
90 <sun_effect_type>0</sun_effect_type>
91 <sun_intensity>1</sun_intensity>
92 <sun_size>1</sun_size>
93 <type>0</type>
94 </technique>
95 </extra>
96 </light>
97 </library_lights>
98 <library_effects>
99 <effect id="Material-effect">
100 <profile_COMMON>
101 <technique sid="common">
102 <phong>
103 <emission>
104 <color sid="emission">0 0 0 1</color>
105 </emission>
106 <ambient>
107 <color sid="ambient">0 0 0 1</color>
108 </ambient>
109 <diffuse>
110 <color sid="diffuse">0.64 0.64 0.64 1</color>
111 </diffuse>
112 <specular>
113 <color sid="specular">0.5 0.5 0.5 1</color>
114 </specular>
115 <shininess>
116 <float sid="shininess">50</float>
117 </shininess>
118 <index_of_refraction>
119 <float sid="index_of_refraction">1</float>
120 </index_of_refraction>
121 </phong>
122 </technique>
123 <extra>
124 <technique profile="GOOGLEEARTH">
125 <double_sided>1</double_sided>
126 </technique>
127 </extra>
128 </profile_COMMON>
129 <extra><technique profile="MAX3D"><double_sided>1</double_sided></technique></extra>
130 </effect>
131 </library_effects>
132 <library_materials>
133 <material id="Material-material" name="Material">
134 <instance_effect url="#Material-effect"/>
135 </material>
136 </library_materials>
137 <library_geometries>
138 <geometry id="Cube-mesh">
139 <mesh>
140 <source id="Cube-mesh-positions">
141 <float_array id="Cube-mesh-positions-array" count="24">1 1 -1 1 -1 -1 -1 -0.9999998 -1 -0.9999997 1 -1 1 0.9999995 1 0.9999994 -1.000001 1 -1 -0.9999997 1 -1 1 1</float_array>
142 <technique_common>
143 <accessor source="#Cube-mesh-positions-array" count="8" stride="3">
144 <param name="X" type="float"/>
145 <param name="Y" type="float"/>
146 <param name="Z" type="float"/>
147 </accessor>
148 </technique_common>
149 </source>
150 <source id="Cube-mesh-normals">
151 <float_array id="Cube-mesh-normals-array" count="18">0 0 -1 0 0 1 1 -2.83122e-7 0 -2.83122e-7 -1 0 -1 2.23517e-7 -1.3411e-7 2.38419e-7 1 2.08616e-7</float_array>
152 <technique_common>
153 <accessor source="#Cube-mesh-normals-array" count="6" stride="3">
154 <param name="X" type="float"/>
155 <param name="Y" type="float"/>
156 <param name="Z" type="float"/>
157 </accessor>
158 </technique_common>
159 </source>
160 <source id="Cube-mesh-map-0">
161 <float_array id="Cube-mesh-map-0-array" count="48">0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1</float_array>
162 <technique_common>
163 <accessor source="#Cube-mesh-map-0-array" count="24" stride="2">
164 <param name="S" type="float"/>
165 <param name="T" type="float"/>
166 </accessor>
167 </technique_common>
168 </source>
169 <vertices id="Cube-mesh-vertices">
170 <input semantic="POSITION" source="#Cube-mesh-positions"/>
171 </vertices>
172 <polylist material="Material1" count="6">
173 <input semantic="VERTEX" source="#Cube-mesh-vertices" offset="0"/>
174 <input semantic="NORMAL" source="#Cube-mesh-normals" offset="1"/>
175 <input semantic="TEXCOORD" source="#Cube-mesh-map-0" offset="2" set="0"/>
176 <vcount>4 4 4 4 4 4 </vcount>
177 <p>0 0 0 1 0 1 2 0 2 3 0 3 4 1 4 7 1 5 6 1 6 5 1 7 0 2 8 4 2 9 5 2 10 1 2 11 1 3 12 5 3 13 6 3 14 2 3 15 2 4 16 6 4 17 7 4 18 3 4 19 4 5 20 0 5 21 3 5 22 7 5 23</p>
178 </polylist>
179 </mesh>
180 <extra><technique profile="MAYA"><double_sided>1</double_sided></technique></extra>
181 </geometry>
182 </library_geometries>
183 <library_visual_scenes>
184 <visual_scene id="Scene" name="Scene">
185 <node id="Cube" type="NODE">
186 <translate sid="location">0 0 0</translate>
187 <rotate sid="rotationZ">0 0 1 0</rotate>
188 <rotate sid="rotationY">0 1 0 0</rotate>
189 <rotate sid="rotationX">1 0 0 0</rotate>
190 <scale sid="scale">1 1 1</scale>
191 <instance_geometry url="#Cube-mesh">
192 <bind_material>
193 <technique_common>
194 <instance_material symbol="Material1" target="#Material-material">
195 <bind_vertex_input semantic="UVTex" input_semantic="TEXCOORD" input_set="0"/>
196 </instance_material>
197 </technique_common>
198 </bind_material>
199 </instance_geometry>
200 </node>
201 <node id="Lamp" type="NODE">
202 <translate sid="location">4.076245 1.005454 5.903862</translate>
203 <rotate sid="rotationZ">0 0 1 106.9363</rotate>
204 <rotate sid="rotationY">0 1 0 3.163707</rotate>
205 <rotate sid="rotationX">1 0 0 37.26105</rotate>
206 <scale sid="scale">1 1 1</scale>
207 <instance_light url="#Lamp-light"/>
208 </node>
209 <node id="Camera" type="NODE">
210 <translate sid="location">7.481132 -6.50764 5.343665</translate>
211 <rotate sid="rotationZ">0 0 1 46.69194</rotate>
212 <rotate sid="rotationY">0 1 0 0.619768</rotate>
213 <rotate sid="rotationX">1 0 0 63.5593</rotate>
214 <scale sid="scale">1 1 1</scale>
215 <instance_camera url="#Camera-camera"/>
216 </node>
217 </visual_scene>
218 </library_visual_scenes>
219 <scene>
220 <instance_visual_scene url="#Scene"/>
221 </scene>
222 </COLLADA>