checkerboard.dae 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  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>Stefan Kohlbrecher</author>
  6. <authoring_tool>Blender 2.68.5 r60518</authoring_tool>
  7. </contributor>
  8. <created>2013-10-04T19:31:14</created>
  9. <modified>2013-10-04T19:31:14</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. <YF_dofdist>0</YF_dofdist>
  28. <shiftx>0</shiftx>
  29. <shifty>0</shifty>
  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. <adapt_thresh>0.000999987</adapt_thresh>
  47. <area_shape>1</area_shape>
  48. <area_size>0.1</area_size>
  49. <area_sizey>0.1</area_sizey>
  50. <area_sizez>1</area_sizez>
  51. <atm_distance_factor>1</atm_distance_factor>
  52. <atm_extinction_factor>1</atm_extinction_factor>
  53. <atm_turbidity>2</atm_turbidity>
  54. <att1>0</att1>
  55. <att2>1</att2>
  56. <backscattered_light>1</backscattered_light>
  57. <bias>1</bias>
  58. <blue>1</blue>
  59. <buffers>1</buffers>
  60. <bufflag>0</bufflag>
  61. <bufsize>2880</bufsize>
  62. <buftype>2</buftype>
  63. <clipend>30.002</clipend>
  64. <clipsta>1.000799</clipsta>
  65. <compressthresh>0.04999995</compressthresh>
  66. <dist sid="blender_dist">29.99998</dist>
  67. <energy sid="blender_energy">1</energy>
  68. <falloff_type>2</falloff_type>
  69. <filtertype>0</filtertype>
  70. <flag>0</flag>
  71. <gamma sid="blender_gamma">1</gamma>
  72. <green>1</green>
  73. <halo_intensity sid="blnder_halo_intensity">1</halo_intensity>
  74. <horizon_brightness>1</horizon_brightness>
  75. <mode>8192</mode>
  76. <ray_samp>1</ray_samp>
  77. <ray_samp_method>1</ray_samp_method>
  78. <ray_samp_type>0</ray_samp_type>
  79. <ray_sampy>1</ray_sampy>
  80. <ray_sampz>1</ray_sampz>
  81. <red>1</red>
  82. <samp>3</samp>
  83. <shadhalostep>0</shadhalostep>
  84. <shadow_b sid="blender_shadow_b">0</shadow_b>
  85. <shadow_g sid="blender_shadow_g">0</shadow_g>
  86. <shadow_r sid="blender_shadow_r">0</shadow_r>
  87. <shadspotsize>45</shadspotsize>
  88. <sky_colorspace>0</sky_colorspace>
  89. <sky_exposure>1</sky_exposure>
  90. <skyblendfac>1</skyblendfac>
  91. <skyblendtype>1</skyblendtype>
  92. <soft>3</soft>
  93. <spotblend>0.15</spotblend>
  94. <spotsize>75</spotsize>
  95. <spread>1</spread>
  96. <sun_brightness>1</sun_brightness>
  97. <sun_effect_type>0</sun_effect_type>
  98. <sun_intensity>1</sun_intensity>
  99. <sun_size>1</sun_size>
  100. <type>0</type>
  101. </technique>
  102. </extra>
  103. </light>
  104. </library_lights>
  105. <library_images>
  106. <image id="checkerboard_png" name="checkerboard_png">
  107. <init_from>./checkerboard.png</init_from>
  108. </image>
  109. </library_images>
  110. <library_effects>
  111. <effect id="Material_001-effect">
  112. <profile_COMMON>
  113. <newparam sid="checkerboard_png-surface">
  114. <surface type="2D">
  115. <init_from>checkerboard_png</init_from>
  116. </surface>
  117. </newparam>
  118. <newparam sid="checkerboard_png-sampler">
  119. <sampler2D>
  120. <source>checkerboard_png-surface</source>
  121. </sampler2D>
  122. </newparam>
  123. <technique sid="common">
  124. <phong>
  125. <emission>
  126. <color sid="emission">1 1 1 1</color>
  127. </emission>
  128. <ambient>
  129. <color sid="ambient">1 1 1 1</color>
  130. </ambient>
  131. <diffuse>
  132. <texture texture="checkerboard_png-sampler" texcoord="UVMap"/>
  133. </diffuse>
  134. <specular>
  135. <color sid="specular">0.5 0.5 0.5 1</color>
  136. </specular>
  137. <shininess>
  138. <float sid="shininess">50</float>
  139. </shininess>
  140. <index_of_refraction>
  141. <float sid="index_of_refraction">1</float>
  142. </index_of_refraction>
  143. </phong>
  144. </technique>
  145. <extra>
  146. <technique profile="GOOGLEEARTH">
  147. <double_sided>1</double_sided>
  148. </technique>
  149. </extra>
  150. </profile_COMMON>
  151. <extra><technique profile="MAX3D"><double_sided>1</double_sided></technique></extra>
  152. </effect>
  153. <effect id="Material_002-effect">
  154. <profile_COMMON>
  155. <newparam sid="checkerboard_png-surface">
  156. <surface type="2D">
  157. <init_from>checkerboard_png</init_from>
  158. </surface>
  159. </newparam>
  160. <newparam sid="checkerboard_png-sampler">
  161. <sampler2D>
  162. <source>checkerboard_png-surface</source>
  163. </sampler2D>
  164. </newparam>
  165. <technique sid="common">
  166. <lambert>
  167. <emission>
  168. <color sid="emission">0 0 0 1</color>
  169. </emission>
  170. <ambient>
  171. <color sid="ambient">0 0 0 1</color>
  172. </ambient>
  173. <diffuse>
  174. <texture texture="checkerboard_png-sampler" texcoord="UVMap"/>
  175. </diffuse>
  176. <index_of_refraction>
  177. <float sid="index_of_refraction">1</float>
  178. </index_of_refraction>
  179. </lambert>
  180. </technique>
  181. <extra>
  182. <technique profile="GOOGLEEARTH">
  183. <double_sided>1</double_sided>
  184. </technique>
  185. </extra>
  186. </profile_COMMON>
  187. <extra><technique profile="MAX3D"><double_sided>1</double_sided></technique></extra>
  188. </effect>
  189. </library_effects>
  190. <library_materials>
  191. <material id="Material_001-material" name="Material_001">
  192. <instance_effect url="#Material_001-effect"/>
  193. </material>
  194. <material id="Material_002-material" name="Material_002">
  195. <instance_effect url="#Material_002-effect"/>
  196. </material>
  197. </library_materials>
  198. <library_geometries>
  199. <geometry id="Cube-mesh" name="Cube">
  200. <mesh>
  201. <source id="Cube-mesh-positions">
  202. <float_array id="Cube-mesh-positions-array" count="24">1 0.4965 -0.3815 1 -0.4965 -0.3815 -1 -0.4964998 -0.3815 -0.9999997 0.4965004 -0.3815 1 0.4964995 0.3815 0.9999994 -0.4965006 0.3815 -1 -0.4964997 0.3815 -1 0.4965 0.3815</float_array>
  203. <technique_common>
  204. <accessor source="#Cube-mesh-positions-array" count="8" stride="3">
  205. <param name="X" type="float"/>
  206. <param name="Y" type="float"/>
  207. <param name="Z" type="float"/>
  208. </accessor>
  209. </technique_common>
  210. </source>
  211. <source id="Cube-mesh-normals">
  212. <float_array id="Cube-mesh-normals-array" count="36">0 0 -1 0 0 1 1 -1.14047e-6 -6.24951e-7 0 -1 -7.81188e-7 -1 4.80198e-7 -3.12475e-7 2.38419e-7 1 6.2495e-7 0 0 -1 0 0 1 1 0 8.59307e-7 -4.76837e-7 -1 2.34356e-7 -1 4.20174e-7 -3.90594e-7 2.38419e-7 1 6.2495e-7</float_array>
  213. <technique_common>
  214. <accessor source="#Cube-mesh-normals-array" count="12" stride="3">
  215. <param name="X" type="float"/>
  216. <param name="Y" type="float"/>
  217. <param name="Z" type="float"/>
  218. </accessor>
  219. </technique_common>
  220. </source>
  221. <source id="Cube-mesh-map-0">
  222. <float_array id="Cube-mesh-map-0-array" count="72">0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 1 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 1 0 0 1 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1</float_array>
  223. <technique_common>
  224. <accessor source="#Cube-mesh-map-0-array" count="36" stride="2">
  225. <param name="S" type="float"/>
  226. <param name="T" type="float"/>
  227. </accessor>
  228. </technique_common>
  229. </source>
  230. <vertices id="Cube-mesh-vertices">
  231. <input semantic="POSITION" source="#Cube-mesh-positions"/>
  232. </vertices>
  233. <polylist material="Material_001-material" count="2">
  234. <input semantic="VERTEX" source="#Cube-mesh-vertices" offset="0"/>
  235. <input semantic="NORMAL" source="#Cube-mesh-normals" offset="1"/>
  236. <input semantic="TEXCOORD" source="#Cube-mesh-map-0" offset="2" set="0"/>
  237. <vcount>3 3 </vcount>
  238. <p>2 4 12 6 4 13 3 4 14 6 10 30 7 10 31 3 10 32</p>
  239. </polylist>
  240. <polylist material="Material_002-material" count="10">
  241. <input semantic="VERTEX" source="#Cube-mesh-vertices" offset="0"/>
  242. <input semantic="NORMAL" source="#Cube-mesh-normals" offset="1"/>
  243. <input semantic="TEXCOORD" source="#Cube-mesh-map-0" offset="2" set="0"/>
  244. <vcount>3 3 3 3 3 3 3 3 3 3 </vcount>
  245. <p>0 0 0 1 0 1 3 0 2 4 1 3 7 1 4 5 1 5 0 2 6 4 2 7 5 2 8 1 3 9 5 3 10 2 3 11 4 5 15 0 5 16 7 5 17 1 6 18 2 6 19 3 6 20 7 7 21 6 7 22 5 7 23 1 8 24 0 8 25 5 8 26 5 9 27 6 9 28 2 9 29 0 11 33 3 11 34 7 11 35</p>
  246. </polylist>
  247. </mesh>
  248. <extra><technique profile="MAYA"><double_sided>1</double_sided></technique></extra>
  249. </geometry>
  250. </library_geometries>
  251. <library_controllers/>
  252. <library_visual_scenes>
  253. <visual_scene id="Scene" name="Scene">
  254. <node id="Camera" name="Camera" type="NODE">
  255. <matrix sid="transform">0.6858805 -0.3173701 0.6548619 7.481132 0.7276338 0.3124686 -0.6106656 -6.50764 -0.01081678 0.8953432 0.4452454 5.343665 0 0 0 1</matrix>
  256. <instance_camera url="#Camera-camera"/>
  257. </node>
  258. <node id="Lamp" name="Lamp" type="NODE">
  259. <matrix sid="transform">-0.2908646 -0.7711008 0.5663932 -3.121642 0.9551712 -0.1998834 0.2183912 1.998037 -0.05518906 0.6045247 0.7946723 4.761615 0 0 0 1</matrix>
  260. <instance_light url="#Lamp-light"/>
  261. </node>
  262. <node id="Cube" name="Cube" type="NODE">
  263. <matrix sid="transform">0.00999999 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
  264. <instance_geometry url="#Cube-mesh">
  265. <bind_material>
  266. <technique_common>
  267. <instance_material symbol="Material_001-material" target="#Material_001-material">
  268. <bind_vertex_input semantic="UVMap" input_semantic="TEXCOORD" input_set="0"/>
  269. </instance_material>
  270. <instance_material symbol="Material_002-material" target="#Material_002-material">
  271. <bind_vertex_input semantic="UVMap" input_semantic="TEXCOORD" input_set="0"/>
  272. </instance_material>
  273. </technique_common>
  274. </bind_material>
  275. </instance_geometry>
  276. </node>
  277. </visual_scene>
  278. </library_visual_scenes>
  279. <scene>
  280. <instance_visual_scene url="#Scene"/>
  281. </scene>
  282. </COLLADA>