cube.dae 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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>Matt</author>
  6. <authoring_tool>3dsMax 10 - Feeling ColladaMax v3.05B.</authoring_tool>
  7. <comments>ColladaMax Export Options: ExportNormals=1;ExportEPolyAsTriangles=1;ExportXRefs=1;ExportSelected=0;ExportTangents=0;ExportAnimations=0;SampleAnim=1;ExportAnimClip=1;BakeMatrices=1;ExportRelativePaths=1;AnimStart=0;AnimEnd=3.33333;</comments>
  8. <source_data>cube.max</source_data>
  9. </contributor>
  10. <created>2009-09-09T07:28:49Z</created>
  11. <modified>2009-09-09T07:28:53Z</modified>
  12. <unit meter="1" name="meter"/>
  13. <up_axis>Z_UP</up_axis>
  14. </asset>
  15. <library_images>
  16. <image id="grid.dds" name="grid_dds">
  17. <init_from>./grid.dds</init_from>
  18. </image>
  19. </library_images>
  20. <library_materials>
  21. <material id="GridMaterial" name="GridMaterial">
  22. <instance_effect url="#GridMaterial-fx"/>
  23. </material>
  24. </library_materials>
  25. <library_effects>
  26. <effect id="GridMaterial-fx" name="GridMaterial">
  27. <profile_COMMON>
  28. <newparam sid="grid_dds-surface">
  29. <surface type="2D">
  30. <init_from>grid.dds</init_from>
  31. <format>A8R8G8B8</format>
  32. </surface>
  33. </newparam>
  34. <newparam sid="grid_dds-sampler">
  35. <sampler2D>
  36. <source>grid_dds-surface</source>
  37. <wrap_s>WRAP</wrap_s>
  38. <wrap_t>WRAP</wrap_t>
  39. <minfilter>NONE</minfilter>
  40. <magfilter>NONE</magfilter>
  41. <mipfilter>NONE</mipfilter>
  42. </sampler2D>
  43. </newparam>
  44. <technique sid="common">
  45. <blinn>
  46. <ambient>
  47. <color>0.588235 0.588235 0.588235 1</color>
  48. </ambient>
  49. <diffuse>
  50. <texture texture="grid_dds-sampler" texcoord="CHANNEL1">
  51. <extra>
  52. <technique profile="MAYA">
  53. <mirrorU>0</mirrorU>
  54. <mirrorV>0</mirrorV>
  55. <wrapU>1</wrapU>
  56. <wrapV>1</wrapV>
  57. <repeatU>1</repeatU>
  58. <repeatV>1</repeatV>
  59. <offsetU>0</offsetU>
  60. <offsetV>0</offsetV>
  61. <rotateUV>0</rotateUV>
  62. </technique>
  63. <technique profile="MAX3D">
  64. <amount>1</amount>
  65. </technique>
  66. </extra>
  67. </texture>
  68. </diffuse>
  69. <specular>
  70. <color>0.9 0.9 0.9 1</color>
  71. </specular>
  72. <shininess>
  73. <float>0.415939</float>
  74. </shininess>
  75. <reflective>
  76. <color>0 0 0 1</color>
  77. </reflective>
  78. <reflectivity>
  79. <float>1</float>
  80. </reflectivity>
  81. <transparent opaque="A_ONE">
  82. <color>1 1 1 1</color>
  83. </transparent>
  84. <transparency>
  85. <float>1</float>
  86. </transparency>
  87. </blinn>
  88. <extra>
  89. <technique profile="FCOLLADA">
  90. <spec_level>
  91. <float>0</float>
  92. </spec_level>
  93. <emission_level>
  94. <float>0</float>
  95. </emission_level>
  96. </technique>
  97. </extra>
  98. </technique>
  99. </profile_COMMON>
  100. <extra>
  101. <technique profile="MAX3D">
  102. <faceted>0</faceted>
  103. <double_sided>0</double_sided>
  104. <wireframe>0</wireframe>
  105. <face_map>0</face_map>
  106. </technique>
  107. </extra>
  108. </effect>
  109. </library_effects>
  110. <library_geometries>
  111. <geometry id="cube-mesh" name="cube">
  112. <mesh>
  113. <source id="cube-mesh-positions">
  114. <float_array id="cube-mesh-positions-array" count="24">-0.5 -0.5 0 0.5 -0.5 0 -0.5 0.5 0 0.5 0.5 0 -0.5 -0.5 1 0.5 -0.5 1 -0.5 0.5 1 0.5 0.5 1</float_array>
  115. <technique_common>
  116. <accessor source="#cube-mesh-positions-array" count="8" stride="3">
  117. <param name="X" type="float"/>
  118. <param name="Y" type="float"/>
  119. <param name="Z" type="float"/>
  120. </accessor>
  121. </technique_common>
  122. </source>
  123. <source id="cube-mesh-normals">
  124. <float_array id="cube-mesh-normals-array" count="72">0 0 -1 0 0 -1 0 0 -1 0 0 -1 0 0 1 0 0 1 0 0 1 0 0 1 0 -1 0 0 -1 0 0 -1 0 0 -1 0 1 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 1 0 0 1 0 -1 0 0 -1 0 0 -1 0 0 -1 0 0</float_array>
  125. <technique_common>
  126. <accessor source="#cube-mesh-normals-array" count="24" stride="3">
  127. <param name="X" type="float"/>
  128. <param name="Y" type="float"/>
  129. <param name="Z" type="float"/>
  130. </accessor>
  131. </technique_common>
  132. </source>
  133. <source id="cube-mesh-map-channel1">
  134. <float_array id="cube-mesh-map-channel1-array" count="36">0 0 0 1 0 0 0 1 0 1 1 0 0 0 0 1 0 0 0 1 0 1 1 0 0 0 0 1 0 0 0 1 0 1 1 0</float_array>
  135. <technique_common>
  136. <accessor source="#cube-mesh-map-channel1-array" count="12" stride="3">
  137. <param name="S" type="float"/>
  138. <param name="T" type="float"/>
  139. <param name="P" type="float"/>
  140. </accessor>
  141. </technique_common>
  142. </source>
  143. <vertices id="cube-mesh-vertices">
  144. <input semantic="POSITION" source="#cube-mesh-positions"/>
  145. </vertices>
  146. <triangles material="GridMaterial" count="12">
  147. <input semantic="VERTEX" source="#cube-mesh-vertices" offset="0"/>
  148. <input semantic="NORMAL" source="#cube-mesh-normals" offset="1"/>
  149. <input semantic="TEXCOORD" source="#cube-mesh-map-channel1" offset="2" set="1"/>
  150. <p>0 0 9 2 1 11 3 2 10 3 2 10 1 3 8 0 0 9 4 4 8 5 5 9 7 6 11 7 6 11 6 7 10 4 4 8 0 8 4 1 9 5 5 10 7 5 10 7 4 11 6 0 8 4 1 12 0 3 13 1 7 14 3 7 14 3 5 15 2 1 12 0 3 16 4 2 17 5 6 18 7 6 18 7 7 19 6 3 16 4 2 20 0 0 21 1 4 22 3 4 22 3 6 23 2 2 20 0</p>
  151. </triangles>
  152. </mesh>
  153. </geometry>
  154. </library_geometries>
  155. <library_visual_scenes>
  156. <visual_scene id="cube.max" name="cube_max">
  157. <node id="cube-node" name="cube" type="NODE">
  158. <matrix>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
  159. <instance_geometry url="#cube-mesh">
  160. <bind_material>
  161. <technique_common>
  162. <instance_material symbol="GridMaterial" target="#GridMaterial">
  163. <bind_vertex_input semantic="CHANNEL1" input_semantic="TEXCOORD" input_set="1"/>
  164. </instance_material>
  165. </technique_common>
  166. </bind_material>
  167. </instance_geometry>
  168. </node>
  169. <extra>
  170. <technique profile="FCOLLADA">
  171. <start_time>0</start_time>
  172. <end_time>3.33333</end_time>
  173. </technique>
  174. </extra>
  175. <extra>
  176. <technique profile="MAX3D">
  177. <frame_rate>30</frame_rate>
  178. </technique>
  179. </extra>
  180. </visual_scene>
  181. </library_visual_scenes>
  182. <scene>
  183. <instance_visual_scene url="#cube.max"/>
  184. </scene>
  185. </COLLADA>