-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuglycube.dae
212 lines (212 loc) · 7.77 KB
/
uglycube.dae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<?xml version="1.0" encoding="utf-8"?>
<COLLADA version="1.4.0" xmlns="http://www.collada.org/2005/11/COLLADASchema">
<asset>
<contributor>
<author>Illusoft Collada 1.4.0 plugin for Blender - http://colladablender.illusoft.com</author>
<authoring_tool>Blender v:249 - Illusoft Collada Exporter v:0.3.161</authoring_tool>
<comments></comments>
<copyright></copyright>
<source_data>file://</source_data>
</contributor>
<created>2009-08-12T01:31:44.014582</created>
<modified>2009-08-12T01:31:44.014618</modified>
<unit meter="0.01" name="centimeter"/>
<up_axis>Z_UP</up_axis>
</asset>
<library_cameras>
<camera id="Camera-Camera" name="Camera-Camera">
<optics>
<technique_common>
<perspective>
<yfov>49.13434</yfov>
<znear>0.1</znear>
<zfar>100.0</zfar>
</perspective>
</technique_common>
</optics>
</camera>
</library_cameras>
<library_effects>
<effect id="ugly_png-fx" name="ugly_png-fx">
<profile_COMMON>
<newparam sid="ugly_png-surface">
<surface type="2D">
<init_from>ugly_png-img</init_from>
<format>A8R8G8B8</format>
</surface>
</newparam>
<newparam sid="ugly_png-sampler">
<sampler2D>
<source>ugly_png-surface</source>
<minfilter>LINEAR_MIPMAP_LINEAR</minfilter>
<magfilter>LINEAR</magfilter>
</sampler2D>
</newparam>
<technique sid="blender">
<phong>
<emission>
<color>0.00000 0.00000 0.00000 1</color>
</emission>
<ambient>
<color>0.40000 0.40000 0.40000 1</color>
</ambient>
<diffuse>
<texture texcoord="CHANNEL1" texture="ugly_png-sampler"/>
</diffuse>
<specular>
<color>0.50000 0.50000 0.50000 1</color>
</specular>
<shininess>
<float>12.5</float>
</shininess>
<reflective>
<color>1.00000 1.00000 1.00000 1</color>
</reflective>
<reflectivity>
<float>0.0</float>
</reflectivity>
<transparent>
<color>1 1 1 1</color>
</transparent>
<transparency>
<float>0.0</float>
</transparency>
</phong>
</technique>
</profile_COMMON>
</effect>
</library_effects>
<library_images>
<image id="ugly_png-img" name="ugly_png-img">
<init_from>ugly.png</init_from>
</image>
</library_images>
<library_lights>
<light id="Lamp_001-Light" name="Lamp_001-Light">
<technique_common>
<spot>
<color>1.00000 1.00000 1.00000</color>
<constant_attenuation>0.0</constant_attenuation>
<linear_attenuation>0.025</linear_attenuation>
<falloff_angle>45.0</falloff_angle>
</spot>
</technique_common>
</light>
<light id="Spot" name="Spot">
<technique_common>
<point>
<color>1.00000 1.00000 1.00000</color>
<constant_attenuation>1.0</constant_attenuation>
<linear_attenuation>0.0</linear_attenuation>
<quadratic_attenuation>0.0</quadratic_attenuation>
</point>
</technique_common>
</light>
</library_lights>
<library_materials>
<material id="ugly_png" name="ugly_png">
<instance_effect url="#ugly_png-fx"/>
</material>
</library_materials>
<library_geometries>
<geometry id="Cube_001" name="Cube_001">
<mesh>
<source id="Cube_001-Position">
<float_array count="24" id="Cube_001-Position-array">1.00000 1.00000 -1.00000 1.00000 -1.00000 -1.00000 -1.00000 -1.00000 -1.00000 -1.00000 1.00000 -1.00000 1.00000 1.00000 1.00000 1.00000 -1.00000 1.00000 -1.00000 -1.00000 1.00000 -1.00000 1.00000 1.00000</float_array>
<technique_common>
<accessor count="8" source="#Cube_001-Position-array" stride="3">
<param type="float" name="X"></param>
<param type="float" name="Y"></param>
<param type="float" name="Z"></param>
</accessor>
</technique_common>
</source>
<source id="Cube_001-Normals">
<float_array count="18" id="Cube_001-Normals-array">0.00000 0.00000 -1.00000 0.00000 -0.00000 1.00000 1.00000 -0.00000 0.00000 -0.00000 -1.00000 -0.00000 -1.00000 0.00000 -0.00000 0.00000 1.00000 0.00000</float_array>
<technique_common>
<accessor count="6" source="#Cube_001-Normals-array" stride="3">
<param type="float" name="X"></param>
<param type="float" name="Y"></param>
<param type="float" name="Z"></param>
</accessor>
</technique_common>
</source>
<source id="Cube_001-UV">
<float_array count="48" id="Cube_001-UV-array">0.00000 0.00000 1.00000 0.00000 1.00000 1.00000 0.00000 1.00000 0.19506 0.24576 0.80288 0.21298 0.81262 0.77216 0.23808 0.76654 0.98522 0.70454 0.64464 0.46129 0.64441 0.45858 1.00000 0.00000 1.00000 0.00000 1.00000 1.00000 0.00320 1.00000 -0.00320 0.00320 0.00000 0.00000 0.64220 0.45813 0.64236 0.46019 0.32340 0.94689 0.64464 0.46129 0.98522 0.70454 0.32340 0.94689 0.64236 0.46019</float_array>
<technique_common>
<accessor count="24" source="#Cube_001-UV-array" stride="2">
<param type="float" name="S"></param>
<param type="float" name="T"></param>
</accessor>
</technique_common>
</source>
<vertices id="Cube_001-Vertex">
<input semantic="POSITION" source="#Cube_001-Position"/>
</vertices>
<polygons count="3" material="ugly_png">
<input offset="0" semantic="VERTEX" source="#Cube_001-Vertex"/>
<input offset="1" semantic="NORMAL" source="#Cube_001-Normals"/>
<input offset="2" semantic="TEXCOORD" source="#Cube_001-UV"/>
<p>4 1 4 7 1 5 6 1 6 5 1 7</p>
<p>1 3 12 5 3 13 6 3 14 2 3 15</p>
<p>2 4 16 6 4 17 7 4 18 3 4 19</p>
</polygons>
<polygons count="3">
<input offset="0" semantic="VERTEX" source="#Cube_001-Vertex"/>
<input offset="1" semantic="NORMAL" source="#Cube_001-Normals"/>
<input offset="2" semantic="TEXCOORD" source="#Cube_001-UV"/>
<p>0 0 0 1 0 1 2 0 2 3 0 3</p>
<p>0 2 8 4 2 9 5 2 10 1 2 11</p>
<p>4 5 20 0 5 21 3 5 22 7 5 23</p>
</polygons>
</mesh>
</geometry>
</library_geometries>
<library_visual_scenes>
<visual_scene id="Scene" name="Scene">
<node layer="L1" id="Cube" name="Cube">
<translate sid="translate">0.00000 0.00000 0.00000</translate>
<rotate sid="rotateZ">0 0 1 0.00000</rotate>
<rotate sid="rotateY">0 1 0 -0.00000</rotate>
<rotate sid="rotateX">1 0 0 0.00000</rotate>
<scale sid="scale">3.32824 3.32824 3.32824</scale>
<instance_geometry url="#Cube_001">
<bind_material>
<technique_common>
<instance_material symbol="ugly_png" target="#ugly_png">
<bind_vertex_input input_semantic="TEXCOORD" input_set="1" semantic="CHANNEL1"/>
</instance_material>
</technique_common>
</bind_material>
</instance_geometry>
</node>
<node layer="L1" id="Lamp_001" name="Lamp_001">
<translate sid="translate">8.10349 2.26837 7.39057</translate>
<rotate sid="rotateZ">0 0 1 105.63828</rotate>
<rotate sid="rotateY">0 1 0 0.00000</rotate>
<rotate sid="rotateX">1 0 0 48.70836</rotate>
<scale sid="scale">1.00000 1.00000 1.00000</scale>
<instance_light url="#Lamp_001-Light"/>
</node>
<node layer="L1" id="Lamp" name="Lamp">
<translate sid="translate">4.07625 1.00545 5.90386</translate>
<rotate sid="rotateZ">0 0 1 106.93632</rotate>
<rotate sid="rotateY">0 1 0 3.16371</rotate>
<rotate sid="rotateX">1 0 0 37.26105</rotate>
<scale sid="scale">1.00000 1.00000 1.00000</scale>
<instance_light url="#Spot"/>
</node>
<node layer="L1" id="Camera" name="Camera">
<translate sid="translate">6.20403 -7.01521 5.32076</translate>
<rotate sid="rotateZ">0 0 1 46.69194</rotate>
<rotate sid="rotateY">0 1 0 0.61977</rotate>
<rotate sid="rotateX">1 0 0 63.55930</rotate>
<scale sid="scale">1.00000 1.00000 1.00000</scale>
<instance_camera url="#Camera-Camera"/>
</node>
</visual_scene>
</library_visual_scenes>
<scene>
<instance_visual_scene url="#Scene"/>
</scene>
</COLLADA>