multimaterial.dae 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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>Igor Campbell</author>
  6. <authoring_tool>Blender 2.66.1 r55078</authoring_tool>
  7. </contributor>
  8. <created>2013-04-17T12:27:39</created>
  9. <modified>2013-04-17T12:27:39</modified>
  10. <unit name="meter" meter="1"/>
  11. <up_axis>Z_UP</up_axis>
  12. </asset>
  13. <library_images/>
  14. <library_effects>
  15. <effect id="Material_001-effect">
  16. <profile_COMMON>
  17. <technique sid="common">
  18. <phong>
  19. <emission>
  20. <color sid="emission">0 0 0 1</color>
  21. </emission>
  22. <ambient>
  23. <color sid="ambient">0 0 0 1</color>
  24. </ambient>
  25. <diffuse>
  26. <color sid="diffuse">0.64 0 0 1</color>
  27. </diffuse>
  28. <specular>
  29. <color sid="specular">0.25 0.25 0.25 1</color>
  30. </specular>
  31. <shininess>
  32. <float sid="shininess">50</float>
  33. </shininess>
  34. <index_of_refraction>
  35. <float sid="index_of_refraction">1</float>
  36. </index_of_refraction>
  37. </phong>
  38. </technique>
  39. <extra>
  40. <technique profile="GOOGLEEARTH">
  41. <double_sided>1</double_sided>
  42. </technique>
  43. </extra>
  44. </profile_COMMON>
  45. <extra><technique profile="MAX3D"><double_sided>1</double_sided></technique></extra>
  46. </effect>
  47. <effect id="Material2-effect">
  48. <profile_COMMON>
  49. <technique sid="common">
  50. <phong>
  51. <emission>
  52. <color sid="emission">0 0 0 1</color>
  53. </emission>
  54. <ambient>
  55. <color sid="ambient">0 0 0 1</color>
  56. </ambient>
  57. <diffuse>
  58. <color sid="diffuse">0 0 0.64 1</color>
  59. </diffuse>
  60. <specular>
  61. <color sid="specular">0.25 0.25 0.25 1</color>
  62. </specular>
  63. <shininess>
  64. <float sid="shininess">50</float>
  65. </shininess>
  66. <index_of_refraction>
  67. <float sid="index_of_refraction">1</float>
  68. </index_of_refraction>
  69. </phong>
  70. </technique>
  71. <extra>
  72. <technique profile="GOOGLEEARTH">
  73. <double_sided>1</double_sided>
  74. </technique>
  75. </extra>
  76. </profile_COMMON>
  77. <extra><technique profile="MAX3D"><double_sided>1</double_sided></technique></extra>
  78. </effect>
  79. <effect id="Material3-effect">
  80. <profile_COMMON>
  81. <technique sid="common">
  82. <phong>
  83. <emission>
  84. <color sid="emission">0 0 0 1</color>
  85. </emission>
  86. <ambient>
  87. <color sid="ambient">0 0 0 1</color>
  88. </ambient>
  89. <diffuse>
  90. <color sid="diffuse">0 0.64 0 1</color>
  91. </diffuse>
  92. <specular>
  93. <color sid="specular">0.25 0.25 0.25 1</color>
  94. </specular>
  95. <shininess>
  96. <float sid="shininess">50</float>
  97. </shininess>
  98. <index_of_refraction>
  99. <float sid="index_of_refraction">1</float>
  100. </index_of_refraction>
  101. </phong>
  102. </technique>
  103. <extra>
  104. <technique profile="GOOGLEEARTH">
  105. <double_sided>1</double_sided>
  106. </technique>
  107. </extra>
  108. </profile_COMMON>
  109. <extra><technique profile="MAX3D"><double_sided>1</double_sided></technique></extra>
  110. </effect>
  111. <effect id="Material4-effect">
  112. <profile_COMMON>
  113. <technique sid="common">
  114. <phong>
  115. <emission>
  116. <color sid="emission">0 0 0 1</color>
  117. </emission>
  118. <ambient>
  119. <color sid="ambient">0 0 0 1</color>
  120. </ambient>
  121. <diffuse>
  122. <color sid="diffuse">0.64 0.64 0 1</color>
  123. </diffuse>
  124. <specular>
  125. <color sid="specular">0.25 0.25 0.25 1</color>
  126. </specular>
  127. <shininess>
  128. <float sid="shininess">50</float>
  129. </shininess>
  130. <index_of_refraction>
  131. <float sid="index_of_refraction">1</float>
  132. </index_of_refraction>
  133. </phong>
  134. </technique>
  135. <extra>
  136. <technique profile="GOOGLEEARTH">
  137. <double_sided>1</double_sided>
  138. </technique>
  139. </extra>
  140. </profile_COMMON>
  141. <extra><technique profile="MAX3D"><double_sided>1</double_sided></technique></extra>
  142. </effect>
  143. <effect id="Material5-effect">
  144. <profile_COMMON>
  145. <technique sid="common">
  146. <phong>
  147. <emission>
  148. <color sid="emission">0 0 0 1</color>
  149. </emission>
  150. <ambient>
  151. <color sid="ambient">0 0 0 1</color>
  152. </ambient>
  153. <diffuse>
  154. <color sid="diffuse">0.64 0 0.64 1</color>
  155. </diffuse>
  156. <specular>
  157. <color sid="specular">0.25 0.25 0.25 1</color>
  158. </specular>
  159. <shininess>
  160. <float sid="shininess">50</float>
  161. </shininess>
  162. <index_of_refraction>
  163. <float sid="index_of_refraction">1</float>
  164. </index_of_refraction>
  165. </phong>
  166. </technique>
  167. <extra>
  168. <technique profile="GOOGLEEARTH">
  169. <double_sided>1</double_sided>
  170. </technique>
  171. </extra>
  172. </profile_COMMON>
  173. <extra><technique profile="MAX3D"><double_sided>1</double_sided></technique></extra>
  174. </effect>
  175. <effect id="Material6-effect">
  176. <profile_COMMON>
  177. <technique sid="common">
  178. <phong>
  179. <emission>
  180. <color sid="emission">0 0 0 1</color>
  181. </emission>
  182. <ambient>
  183. <color sid="ambient">0 0 0 1</color>
  184. </ambient>
  185. <diffuse>
  186. <color sid="diffuse">0 0.64 0.64 1</color>
  187. </diffuse>
  188. <specular>
  189. <color sid="specular">0.25 0.25 0.25 1</color>
  190. </specular>
  191. <shininess>
  192. <float sid="shininess">50</float>
  193. </shininess>
  194. <index_of_refraction>
  195. <float sid="index_of_refraction">1</float>
  196. </index_of_refraction>
  197. </phong>
  198. </technique>
  199. <extra>
  200. <technique profile="GOOGLEEARTH">
  201. <double_sided>1</double_sided>
  202. </technique>
  203. </extra>
  204. </profile_COMMON>
  205. <extra><technique profile="MAX3D"><double_sided>1</double_sided></technique></extra>
  206. </effect>
  207. </library_effects>
  208. <library_materials>
  209. <material id="Material_001-material" name="Material_001">
  210. <instance_effect url="#Material_001-effect"/>
  211. </material>
  212. <material id="Material2-material" name="Material2">
  213. <instance_effect url="#Material2-effect"/>
  214. </material>
  215. <material id="Material3-material" name="Material3">
  216. <instance_effect url="#Material3-effect"/>
  217. </material>
  218. <material id="Material4-material" name="Material4">
  219. <instance_effect url="#Material4-effect"/>
  220. </material>
  221. <material id="Material5-material" name="Material5">
  222. <instance_effect url="#Material5-effect"/>
  223. </material>
  224. <material id="Material6-material" name="Material6">
  225. <instance_effect url="#Material6-effect"/>
  226. </material>
  227. </library_materials>
  228. <library_geometries>
  229. <geometry id="Cube_001-mesh" name="Cube.001">
  230. <mesh>
  231. <source id="Cube_001-mesh-positions">
  232. <float_array id="Cube_001-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>
  233. <technique_common>
  234. <accessor source="#Cube_001-mesh-positions-array" count="8" stride="3">
  235. <param name="X" type="float"/>
  236. <param name="Y" type="float"/>
  237. <param name="Z" type="float"/>
  238. </accessor>
  239. </technique_common>
  240. </source>
  241. <source id="Cube_001-mesh-normals">
  242. <float_array id="Cube_001-mesh-normals-array" count="18">1 -1.49012e-7 1.49012e-7 0 0 1 -3.57628e-7 -1 -2.08616e-7 0 0 -1 1.19209e-7 1 1.19209e-7 -1 0 0</float_array>
  243. <technique_common>
  244. <accessor source="#Cube_001-mesh-normals-array" count="6" stride="3">
  245. <param name="X" type="float"/>
  246. <param name="Y" type="float"/>
  247. <param name="Z" type="float"/>
  248. </accessor>
  249. </technique_common>
  250. </source>
  251. <vertices id="Cube_001-mesh-vertices">
  252. <input semantic="POSITION" source="#Cube_001-mesh-positions"/>
  253. </vertices>
  254. <polylist material="Material_001-material" count="1">
  255. <input semantic="VERTEX" source="#Cube_001-mesh-vertices" offset="0"/>
  256. <input semantic="NORMAL" source="#Cube_001-mesh-normals" offset="1"/>
  257. <vcount>4 </vcount>
  258. <p>0 0 4 0 5 0 1 0</p>
  259. </polylist>
  260. <polylist material="Material2-material" count="1">
  261. <input semantic="VERTEX" source="#Cube_001-mesh-vertices" offset="0"/>
  262. <input semantic="NORMAL" source="#Cube_001-mesh-normals" offset="1"/>
  263. <vcount>4 </vcount>
  264. <p>4 1 7 1 6 1 5 1</p>
  265. </polylist>
  266. <polylist material="Material3-material" count="1">
  267. <input semantic="VERTEX" source="#Cube_001-mesh-vertices" offset="0"/>
  268. <input semantic="NORMAL" source="#Cube_001-mesh-normals" offset="1"/>
  269. <vcount>4 </vcount>
  270. <p>1 2 5 2 6 2 2 2</p>
  271. </polylist>
  272. <polylist material="Material4-material" count="1">
  273. <input semantic="VERTEX" source="#Cube_001-mesh-vertices" offset="0"/>
  274. <input semantic="NORMAL" source="#Cube_001-mesh-normals" offset="1"/>
  275. <vcount>4 </vcount>
  276. <p>0 3 1 3 2 3 3 3</p>
  277. </polylist>
  278. <polylist material="Material5-material" count="1">
  279. <input semantic="VERTEX" source="#Cube_001-mesh-vertices" offset="0"/>
  280. <input semantic="NORMAL" source="#Cube_001-mesh-normals" offset="1"/>
  281. <vcount>4 </vcount>
  282. <p>4 4 0 4 3 4 7 4</p>
  283. </polylist>
  284. <polylist material="Material6-material" count="1">
  285. <input semantic="VERTEX" source="#Cube_001-mesh-vertices" offset="0"/>
  286. <input semantic="NORMAL" source="#Cube_001-mesh-normals" offset="1"/>
  287. <vcount>4 </vcount>
  288. <p>2 5 6 5 7 5 3 5</p>
  289. </polylist>
  290. </mesh>
  291. <extra><technique profile="MAYA"><double_sided>1</double_sided></technique></extra>
  292. </geometry>
  293. </library_geometries>
  294. <library_controllers/>
  295. <library_visual_scenes>
  296. <visual_scene id="Scene" name="Scene">
  297. <node id="Cube_001" name="Cube_001" type="NODE">
  298. <matrix sid="transform">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
  299. <instance_geometry url="#Cube_001-mesh">
  300. <bind_material>
  301. <technique_common>
  302. <instance_material symbol="Material_001-material" target="#Material_001-material"/>
  303. <instance_material symbol="Material2-material" target="#Material2-material"/>
  304. <instance_material symbol="Material3-material" target="#Material3-material"/>
  305. <instance_material symbol="Material4-material" target="#Material4-material"/>
  306. <instance_material symbol="Material5-material" target="#Material5-material"/>
  307. <instance_material symbol="Material6-material" target="#Material6-material"/>
  308. </technique_common>
  309. </bind_material>
  310. </instance_geometry>
  311. </node>
  312. </visual_scene>
  313. </library_visual_scenes>
  314. <scene>
  315. <instance_visual_scene url="#Scene"/>
  316. </scene>
  317. </COLLADA>