Reflection
[opengl.git] / models / mirrorCube.dae
1 <?xml version="1.0" encoding="utf-8"?>
2 <COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3   <asset>
4     <contributor>
5       <author>Blender User</author>
6       <authoring_tool>Blender 2.79.0 commit date:2018-03-22, commit time:14:10, hash:f4dc9f9</authoring_tool>
7     </contributor>
8     <created>2018-11-08T02:49:10</created>
9     <modified>2018-11-08T02:49:10</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       <extra>
26         <technique profile="blender">
27           <shiftx sid="shiftx" type="float">0</shiftx>
28           <shifty sid="shifty" type="float">0</shifty>
29           <YF_dofdist sid="YF_dofdist" type="float">0</YF_dofdist>
30         </technique>
31       </extra>
32     </camera>
33   </library_cameras>
34   <library_lights>
35     <light id="Lamp-light" name="Lamp">
36       <technique_common>
37         <point>
38           <color sid="color">1 1 1</color>
39           <constant_attenuation>1</constant_attenuation>
40           <linear_attenuation>0</linear_attenuation>
41           <quadratic_attenuation>0.00111109</quadratic_attenuation>
42         </point>
43       </technique_common>
44       <extra>
45         <technique profile="blender">
46           <type sid="type" type="int">0</type>
47           <flag sid="flag" type="int">0</flag>
48           <mode sid="mode" type="int">8192</mode>
49           <gamma sid="blender_gamma" type="float">1</gamma>
50           <red sid="red" type="float">1</red>
51           <green sid="green" type="float">1</green>
52           <blue sid="blue" type="float">1</blue>
53           <shadow_r sid="blender_shadow_r" type="float">0</shadow_r>
54           <shadow_g sid="blender_shadow_g" type="float">0</shadow_g>
55           <shadow_b sid="blender_shadow_b" type="float">0</shadow_b>
56           <energy sid="blender_energy" type="float">1</energy>
57           <dist sid="blender_dist" type="float">29.99998</dist>
58           <spotsize sid="spotsize" type="float">75</spotsize>
59           <spotblend sid="spotblend" type="float">0.15</spotblend>
60           <halo_intensity sid="blnder_halo_intensity" type="float">1</halo_intensity>
61           <att1 sid="att1" type="float">0</att1>
62           <att2 sid="att2" type="float">1</att2>
63           <falloff_type sid="falloff_type" type="int">2</falloff_type>
64           <clipsta sid="clipsta" type="float">1.000799</clipsta>
65           <clipend sid="clipend" type="float">30.002</clipend>
66           <bias sid="bias" type="float">1</bias>
67           <soft sid="soft" type="float">3</soft>
68           <compressthresh sid="compressthresh" type="float">0.04999995</compressthresh>
69           <bufsize sid="bufsize" type="int">2880</bufsize>
70           <samp sid="samp" type="int">3</samp>
71           <buffers sid="buffers" type="int">1</buffers>
72           <filtertype sid="filtertype" type="int">0</filtertype>
73           <bufflag sid="bufflag" type="int">0</bufflag>
74           <buftype sid="buftype" type="int">2</buftype>
75           <ray_samp sid="ray_samp" type="int">1</ray_samp>
76           <ray_sampy sid="ray_sampy" type="int">1</ray_sampy>
77           <ray_sampz sid="ray_sampz" type="int">1</ray_sampz>
78           <ray_samp_type sid="ray_samp_type" type="int">0</ray_samp_type>
79           <area_shape sid="area_shape" type="int">1</area_shape>
80           <area_size sid="area_size" type="float">0.1</area_size>
81           <area_sizey sid="area_sizey" type="float">0.1</area_sizey>
82           <area_sizez sid="area_sizez" type="float">1</area_sizez>
83           <adapt_thresh sid="adapt_thresh" type="float">0.000999987</adapt_thresh>
84           <ray_samp_method sid="ray_samp_method" type="int">1</ray_samp_method>
85           <shadhalostep sid="shadhalostep" type="int">0</shadhalostep>
86           <sun_effect_type sid="sun_effect_type" type="int">0</sun_effect_type>
87           <skyblendtype sid="skyblendtype" type="int">1</skyblendtype>
88           <horizon_brightness sid="horizon_brightness" type="float">1</horizon_brightness>
89           <spread sid="spread" type="float">1</spread>
90           <sun_brightness sid="sun_brightness" type="float">1</sun_brightness>
91           <sun_size sid="sun_size" type="float">1</sun_size>
92           <backscattered_light sid="backscattered_light" type="float">1</backscattered_light>
93           <sun_intensity sid="sun_intensity" type="float">1</sun_intensity>
94           <atm_turbidity sid="atm_turbidity" type="float">2</atm_turbidity>
95           <atm_extinction_factor sid="atm_extinction_factor" type="float">1</atm_extinction_factor>
96           <atm_distance_factor sid="atm_distance_factor" type="float">1</atm_distance_factor>
97           <skyblendfac sid="skyblendfac" type="float">1</skyblendfac>
98           <sky_exposure sid="sky_exposure" type="float">1</sky_exposure>
99           <sky_colorspace sid="sky_colorspace" type="int">0</sky_colorspace>
100         </technique>
101       </extra>
102     </light>
103   </library_lights>
104   <library_images>
105     <image id="brickwall_normal_jpg" name="brickwall_normal_jpg">
106       <init_from>brickwall_normal.jpg</init_from>
107     </image>
108   </library_images>
109   <library_effects>
110     <effect id="Mirror-effect">
111       <profile_COMMON>
112         <newparam sid="brickwall_normal_jpg-surface">
113           <surface type="2D">
114             <init_from>brickwall_normal_jpg</init_from>
115           </surface>
116         </newparam>
117         <newparam sid="brickwall_normal_jpg-sampler">
118           <sampler2D>
119             <source>brickwall_normal_jpg-surface</source>
120           </sampler2D>
121         </newparam>
122         <technique sid="common">
123           <phong>
124             <emission>
125               <color sid="emission">0 0 0 1</color>
126             </emission>
127             <ambient>
128               <color sid="ambient">0 0 0 1</color>
129             </ambient>
130             <diffuse>
131               <color sid="diffuse">0.64 0.005287599 0.4252137 1</color>
132             </diffuse>
133             <specular>
134               <color sid="specular">0.5 0.5 0.5 1</color>
135             </specular>
136             <shininess>
137               <float sid="shininess">50</float>
138             </shininess>
139             <reflective>
140               <color>1 1 1 1</color>
141             </reflective>
142             <reflectivity>
143               <float>1</float>
144             </reflectivity>
145             <index_of_refraction>
146               <float sid="index_of_refraction">1</float>
147             </index_of_refraction>
148           </phong>
149           <extra>
150             <technique profile="FCOLLADA">
151               <bump>
152                 <texture texture="brickwall_normal_jpg-sampler" texcoord="UVMap"/>
153               </bump>
154             </technique>
155           </extra>
156         </technique>
157       </profile_COMMON>
158     </effect>
159   </library_effects>
160   <library_materials>
161     <material id="Mirror-material" name="Mirror">
162       <instance_effect url="#Mirror-effect"/>
163     </material>
164   </library_materials>
165   <library_geometries>
166     <geometry id="Cube-mesh" name="Cube">
167       <mesh>
168         <source id="Cube-mesh-positions">
169           <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>
170           <technique_common>
171             <accessor source="#Cube-mesh-positions-array" count="8" stride="3">
172               <param name="X" type="float"/>
173               <param name="Y" type="float"/>
174               <param name="Z" type="float"/>
175             </accessor>
176           </technique_common>
177         </source>
178         <source id="Cube-mesh-normals">
179           <float_array id="Cube-mesh-normals-array" count="36">0 0 -1 0 0 1 1 0 -2.38419e-7 0 -1 -4.76837e-7 -1 2.38419e-7 -1.49012e-7 2.68221e-7 1 2.38419e-7 0 0 -1 0 0 1 1 -5.96046e-7 3.27825e-7 -4.76837e-7 -1 0 -1 2.38419e-7 -1.19209e-7 2.08616e-7 1 0</float_array>
180           <technique_common>
181             <accessor source="#Cube-mesh-normals-array" count="12" stride="3">
182               <param name="X" type="float"/>
183               <param name="Y" type="float"/>
184               <param name="Z" type="float"/>
185             </accessor>
186           </technique_common>
187         </source>
188         <source id="Cube-mesh-map-0">
189           <float_array id="Cube-mesh-map-0-array" count="72">0 0 1 1 0 1 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 0 0 1 1 0 1 1 0 0 1 0 0 0 0 1 0 1 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 0 1 0 1 1 1 0 1 1 0 1</float_array>
190           <technique_common>
191             <accessor source="#Cube-mesh-map-0-array" count="36" stride="2">
192               <param name="S" type="float"/>
193               <param name="T" type="float"/>
194             </accessor>
195           </technique_common>
196         </source>
197         <vertices id="Cube-mesh-vertices">
198           <input semantic="POSITION" source="#Cube-mesh-positions"/>
199         </vertices>
200         <triangles material="Mirror-material" count="12">
201           <input semantic="VERTEX" source="#Cube-mesh-vertices" offset="0"/>
202           <input semantic="NORMAL" source="#Cube-mesh-normals" offset="1"/>
203           <input semantic="TEXCOORD" source="#Cube-mesh-map-0" offset="2" set="0"/>
204           <p>0 0 0 2 0 1 3 0 2 7 1 3 5 1 4 4 1 5 4 2 6 1 2 7 0 2 8 5 3 9 2 3 10 1 3 11 2 4 12 7 4 13 3 4 14 0 5 15 7 5 16 4 5 17 0 6 18 1 6 19 2 6 20 7 7 21 6 7 22 5 7 23 4 8 24 5 8 25 1 8 26 5 9 27 6 9 28 2 9 29 2 10 30 6 10 31 7 10 32 0 11 33 3 11 34 7 11 35</p>
205         </triangles>
206       </mesh>
207     </geometry>
208   </library_geometries>
209   <library_controllers/>
210   <library_visual_scenes>
211     <visual_scene id="Scene" name="Scene">
212       <node id="Camera" name="Camera" type="NODE">
213         <matrix sid="transform">0.6859207 -0.3240135 0.6515582 7.481132 0.7276763 0.3054208 -0.6141704 -6.50764 0 0.8953956 0.4452714 5.343665 0 0 0 1</matrix>
214         <instance_camera url="#Camera-camera"/>
215       </node>
216       <node id="Lamp" name="Lamp" type="NODE">
217         <matrix sid="transform">-0.2908646 -0.7711008 0.5663932 4.076245 0.9551712 -0.1998834 0.2183912 1.005454 -0.05518906 0.6045247 0.7946723 5.903862 0 0 0 1</matrix>
218         <instance_light url="#Lamp-light"/>
219       </node>
220       <node id="Cube" name="Cube" type="NODE">
221         <matrix sid="transform">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
222         <instance_geometry url="#Cube-mesh" name="Cube">
223           <bind_material>
224             <technique_common>
225               <instance_material symbol="Mirror-material" target="#Mirror-material"/>
226             </technique_common>
227           </bind_material>
228         </instance_geometry>
229       </node>
230     </visual_scene>
231   </library_visual_scenes>
232   <scene>
233     <instance_visual_scene url="#Scene"/>
234   </scene>
235 </COLLADA>