tiles_source.dae 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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.80.75 commit date:2019-07-29, commit time:14:47, hash:f6cb5f54494e</authoring_tool>
  7. </contributor>
  8. <created>2019-09-28T18:24:04</created>
  9. <modified>2019-09-28T18:24:04</modified>
  10. <unit name="meter" meter="1"/>
  11. <up_axis>Z_UP</up_axis>
  12. </asset>
  13. <library_effects>
  14. <effect id="tiles-effect">
  15. <profile_COMMON>
  16. <newparam sid="tiles_texture_sheet_png-surface">
  17. <surface type="2D">
  18. <init_from>tiles_texture_sheet_png</init_from>
  19. </surface>
  20. </newparam>
  21. <newparam sid="tiles_texture_sheet_png-sampler">
  22. <sampler2D>
  23. <source>tiles_texture_sheet_png-surface</source>
  24. </sampler2D>
  25. </newparam>
  26. <technique sid="common">
  27. <lambert>
  28. <emission>
  29. <color sid="emission">0 0 0 1</color>
  30. </emission>
  31. <diffuse>
  32. <texture texture="tiles_texture_sheet_png-sampler" texcoord="UVMap"/>
  33. </diffuse>
  34. <index_of_refraction>
  35. <float sid="ior">1.45</float>
  36. </index_of_refraction>
  37. </lambert>
  38. </technique>
  39. </profile_COMMON>
  40. </effect>
  41. </library_effects>
  42. <library_images>
  43. <image id="tiles_texture_sheet_png" name="tiles_texture_sheet_png">
  44. <init_from>tiles_texture_sheet.png</init_from>
  45. </image>
  46. </library_images>
  47. <library_materials>
  48. <material id="tiles-material" name="tiles">
  49. <instance_effect url="#tiles-effect"/>
  50. </material>
  51. </library_materials>
  52. <library_geometries>
  53. <geometry id="Cube_003-mesh" name="Cube.003">
  54. <mesh>
  55. <source id="Cube_003-mesh-positions">
  56. <float_array id="Cube_003-mesh-positions-array" count="24">1 1 2 1 1 0 1 -1 2 1 -1 0 -1 1 2 -1 1 0 -1 -1 2 -1 -1 0</float_array>
  57. <technique_common>
  58. <accessor source="#Cube_003-mesh-positions-array" count="8" stride="3">
  59. <param name="X" type="float"/>
  60. <param name="Y" type="float"/>
  61. <param name="Z" type="float"/>
  62. </accessor>
  63. </technique_common>
  64. </source>
  65. <source id="Cube_003-mesh-normals">
  66. <float_array id="Cube_003-mesh-normals-array" count="18">0 0 1 0 -1 0 -1 0 0 0 0 -1 1 0 0 0 1 0</float_array>
  67. <technique_common>
  68. <accessor source="#Cube_003-mesh-normals-array" count="6" stride="3">
  69. <param name="X" type="float"/>
  70. <param name="Y" type="float"/>
  71. <param name="Z" type="float"/>
  72. </accessor>
  73. </technique_common>
  74. </source>
  75. <source id="Cube_003-mesh-map-0">
  76. <float_array id="Cube_003-mesh-map-0-array" count="72">0.125 0.75 0.25 0.875 0.125 0.875 0.125 0.75 0.25 0.875 0.125 0.875 0.125 0.75 0.25 0.875 0.125 0.875 0.125 0.75 0.25 0.875 0.125 0.875 0.125 0.75 0.25 0.875 0.125 0.875 0.125 0.75 0.25 0.875 0.125 0.875 0.125 0.75 0.25 0.75 0.25 0.875 0.125 0.75 0.25 0.75 0.25 0.875 0.125 0.75 0.25 0.75 0.25 0.875 0.125 0.75 0.25 0.75 0.25 0.875 0.125 0.75 0.25 0.75 0.25 0.875 0.125 0.75 0.25 0.75 0.25 0.875</float_array>
  77. <technique_common>
  78. <accessor source="#Cube_003-mesh-map-0-array" count="36" stride="2">
  79. <param name="S" type="float"/>
  80. <param name="T" type="float"/>
  81. </accessor>
  82. </technique_common>
  83. </source>
  84. <vertices id="Cube_003-mesh-vertices">
  85. <input semantic="POSITION" source="#Cube_003-mesh-positions"/>
  86. </vertices>
  87. <triangles material="tiles-material" count="12">
  88. <input semantic="VERTEX" source="#Cube_003-mesh-vertices" offset="0"/>
  89. <input semantic="NORMAL" source="#Cube_003-mesh-normals" offset="1"/>
  90. <input semantic="TEXCOORD" source="#Cube_003-mesh-map-0" offset="2" set="0"/>
  91. <p>4 0 0 2 0 1 0 0 2 2 1 3 7 1 4 3 1 5 6 2 6 5 2 7 7 2 8 1 3 9 7 3 10 5 3 11 0 4 12 3 4 13 1 4 14 4 5 15 1 5 16 5 5 17 4 0 18 6 0 19 2 0 20 2 1 21 6 1 22 7 1 23 6 2 24 4 2 25 5 2 26 1 3 27 3 3 28 7 3 29 0 4 30 2 4 31 3 4 32 4 5 33 0 5 34 1 5 35</p>
  92. </triangles>
  93. </mesh>
  94. </geometry>
  95. <geometry id="Cube_002-mesh" name="Cube.002">
  96. <mesh>
  97. <source id="Cube_002-mesh-positions">
  98. <float_array id="Cube_002-mesh-positions-array" count="24">1 1 2 1 1 0 1 -1 2 1 -1 0 -1 1 2 -1 1 0 -1 -1 2 -1 -1 0</float_array>
  99. <technique_common>
  100. <accessor source="#Cube_002-mesh-positions-array" count="8" stride="3">
  101. <param name="X" type="float"/>
  102. <param name="Y" type="float"/>
  103. <param name="Z" type="float"/>
  104. </accessor>
  105. </technique_common>
  106. </source>
  107. <source id="Cube_002-mesh-normals">
  108. <float_array id="Cube_002-mesh-normals-array" count="18">0 0 1 0 -1 0 -1 0 0 0 0 -1 1 0 0 0 1 0</float_array>
  109. <technique_common>
  110. <accessor source="#Cube_002-mesh-normals-array" count="6" stride="3">
  111. <param name="X" type="float"/>
  112. <param name="Y" type="float"/>
  113. <param name="Z" type="float"/>
  114. </accessor>
  115. </technique_common>
  116. </source>
  117. <source id="Cube_002-mesh-map-0">
  118. <float_array id="Cube_002-mesh-map-0-array" count="72">0.125 0.875 0.25 1 0.125 1 0 0.875 0.125 1 0 1 0 0.875 0.125 1 0 1 0.125 0.875 0.25 1 0.125 1 0 0.875 0.125 1 0 1 0 0.875 0.125 1 0 1 0.125 0.875 0.25 0.875 0.25 1 0 0.875 0.125 0.875 0.125 1 0 0.875 0.125 0.875 0.125 1 0.125 0.875 0.25 0.875 0.25 1 0 0.875 0.125 0.875 0.125 1 0 0.875 0.125 0.875 0.125 1</float_array>
  119. <technique_common>
  120. <accessor source="#Cube_002-mesh-map-0-array" count="36" stride="2">
  121. <param name="S" type="float"/>
  122. <param name="T" type="float"/>
  123. </accessor>
  124. </technique_common>
  125. </source>
  126. <vertices id="Cube_002-mesh-vertices">
  127. <input semantic="POSITION" source="#Cube_002-mesh-positions"/>
  128. </vertices>
  129. <triangles material="tiles-material" count="12">
  130. <input semantic="VERTEX" source="#Cube_002-mesh-vertices" offset="0"/>
  131. <input semantic="NORMAL" source="#Cube_002-mesh-normals" offset="1"/>
  132. <input semantic="TEXCOORD" source="#Cube_002-mesh-map-0" offset="2" set="0"/>
  133. <p>4 0 0 2 0 1 0 0 2 2 1 3 7 1 4 3 1 5 6 2 6 5 2 7 7 2 8 1 3 9 7 3 10 5 3 11 0 4 12 3 4 13 1 4 14 4 5 15 1 5 16 5 5 17 4 0 18 6 0 19 2 0 20 2 1 21 6 1 22 7 1 23 6 2 24 4 2 25 5 2 26 1 3 27 3 3 28 7 3 29 0 4 30 2 4 31 3 4 32 4 5 33 0 5 34 1 5 35</p>
  134. </triangles>
  135. </mesh>
  136. </geometry>
  137. <geometry id="Cube-mesh" name="Cube">
  138. <mesh>
  139. <source id="Cube-mesh-positions">
  140. <float_array id="Cube-mesh-positions-array" count="24">1 1 2 1 1 0 1 -1 2 1 -1 0 -1 1 2 -1 1 0 -1 -1 2 -1 -1 0</float_array>
  141. <technique_common>
  142. <accessor source="#Cube-mesh-positions-array" count="8" stride="3">
  143. <param name="X" type="float"/>
  144. <param name="Y" type="float"/>
  145. <param name="Z" type="float"/>
  146. </accessor>
  147. </technique_common>
  148. </source>
  149. <source id="Cube-mesh-normals">
  150. <float_array id="Cube-mesh-normals-array" count="18">0 0 1 0 -1 0 -1 0 0 0 0 -1 1 0 0 0 1 0</float_array>
  151. <technique_common>
  152. <accessor source="#Cube-mesh-normals-array" count="6" stride="3">
  153. <param name="X" type="float"/>
  154. <param name="Y" type="float"/>
  155. <param name="Z" type="float"/>
  156. </accessor>
  157. </technique_common>
  158. </source>
  159. <source id="Cube-mesh-map-0">
  160. <float_array id="Cube-mesh-map-0-array" count="72">0 0.75 0.125 0.875 0 0.875 0 0.75 0.125 0.875 0 0.875 0 0.75 0.125 0.875 0 0.875 0 0.75 0.125 0.875 0 0.875 0 0.75 0.125 0.875 0 0.875 0 0.75 0.125 0.875 0 0.875 0 0.75 0.125 0.75 0.125 0.875 0 0.75 0.125 0.75 0.125 0.875 0 0.75 0.125 0.75 0.125 0.875 0 0.75 0.125 0.75 0.125 0.875 0 0.75 0.125 0.75 0.125 0.875 0 0.75 0.125 0.75 0.125 0.875</float_array>
  161. <technique_common>
  162. <accessor source="#Cube-mesh-map-0-array" count="36" stride="2">
  163. <param name="S" type="float"/>
  164. <param name="T" type="float"/>
  165. </accessor>
  166. </technique_common>
  167. </source>
  168. <vertices id="Cube-mesh-vertices">
  169. <input semantic="POSITION" source="#Cube-mesh-positions"/>
  170. </vertices>
  171. <triangles material="tiles-material" count="12">
  172. <input semantic="VERTEX" source="#Cube-mesh-vertices" offset="0"/>
  173. <input semantic="NORMAL" source="#Cube-mesh-normals" offset="1"/>
  174. <input semantic="TEXCOORD" source="#Cube-mesh-map-0" offset="2" set="0"/>
  175. <p>4 0 0 2 0 1 0 0 2 2 1 3 7 1 4 3 1 5 6 2 6 5 2 7 7 2 8 1 3 9 7 3 10 5 3 11 0 4 12 3 4 13 1 4 14 4 5 15 1 5 16 5 5 17 4 0 18 6 0 19 2 0 20 2 1 21 6 1 22 7 1 23 6 2 24 4 2 25 5 2 26 1 3 27 3 3 28 7 3 29 0 4 30 2 4 31 3 4 32 4 5 33 0 5 34 1 5 35</p>
  176. </triangles>
  177. </mesh>
  178. </geometry>
  179. </library_geometries>
  180. <library_visual_scenes>
  181. <visual_scene id="Scene" name="Scene">
  182. <node id="floor_test_02" name="floor_test_02" type="NODE">
  183. <matrix sid="transform">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
  184. <instance_geometry url="#Cube_003-mesh" name="floor_test_02">
  185. <bind_material>
  186. <technique_common>
  187. <instance_material symbol="tiles-material" target="#tiles-material">
  188. <bind_vertex_input semantic="UVMap" input_semantic="TEXCOORD" input_set="0"/>
  189. </instance_material>
  190. </technique_common>
  191. </bind_material>
  192. </instance_geometry>
  193. </node>
  194. <node id="wall_test_01" name="wall_test_01" type="NODE">
  195. <matrix sid="transform">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
  196. <instance_geometry url="#Cube_002-mesh" name="wall_test_01">
  197. <bind_material>
  198. <technique_common>
  199. <instance_material symbol="tiles-material" target="#tiles-material">
  200. <bind_vertex_input semantic="UVMap" input_semantic="TEXCOORD" input_set="0"/>
  201. </instance_material>
  202. </technique_common>
  203. </bind_material>
  204. </instance_geometry>
  205. </node>
  206. <node id="floor_test_01" name="floor_test_01" type="NODE">
  207. <matrix sid="transform">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
  208. <instance_geometry url="#Cube-mesh" name="floor_test_01">
  209. <bind_material>
  210. <technique_common>
  211. <instance_material symbol="tiles-material" target="#tiles-material">
  212. <bind_vertex_input semantic="UVMap" input_semantic="TEXCOORD" input_set="0"/>
  213. </instance_material>
  214. </technique_common>
  215. </bind_material>
  216. </instance_geometry>
  217. </node>
  218. </visual_scene>
  219. </library_visual_scenes>
  220. <scene>
  221. <instance_visual_scene url="#Scene"/>
  222. </scene>
  223. </COLLADA>