Advertisement
Nightseeker

ACNL debug_cube.dae

Jun 1st, 2018
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.28 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <COLLADA version="1.4.1" xmlns="http://www.collada.org/2005/11/COLLADASchema">
  3. <asset>
  4. <created>2016-09-22T02:01:56Z</created>
  5. <modified>2016-09-22T02:01:56Z</modified>
  6. </asset>
  7. <library_images />
  8. <library_materials>
  9. <material id="lambert1_mat_id" name="lambert1_mat">
  10. <instance_effect url="#eff_lambert1_id" />
  11. </material>
  12. </library_materials>
  13. <library_effects>
  14. <effect id="eff_lambert1_id" name="eff_lambert1">
  15. <profile_COMMON>
  16. <newparam sid="img_surface">
  17. <surface type="2D">
  18. <init_from>_id</init_from>
  19. <format>PNG</format>
  20. </surface>
  21. </newparam>
  22. <newparam sid="img_sampler">
  23. <sampler2D>
  24. <source>img_surface</source>
  25. <wrap_s>WRAP</wrap_s>
  26. <wrap_t>WRAP</wrap_t>
  27. <minfilter>LINEAR_MIPMAP_LINEAR</minfilter>
  28. <magfilter>LINEAR</magfilter>
  29. <mipfilter>LINEAR</mipfilter>
  30. </sampler2D>
  31. </newparam>
  32. <technique sid="img_technique">
  33. <phong>
  34. <emission>
  35. <color>0 0 0 1</color>
  36. </emission>
  37. <ambient>
  38. <color>0 0 0 1</color>
  39. </ambient>
  40. <diffuse>
  41. <texture texture="img_sampler" texcoord="uv" />
  42. </diffuse>
  43. <specular>
  44. <color>1 1 1 1</color>
  45. </specular>
  46. </phong>
  47. </technique>
  48. </profile_COMMON>
  49. </effect>
  50. </library_effects>
  51. <library_geometries>
  52. <geometry id="mesh_0__id" name="mesh_0_">
  53. <mesh>
  54. <source id="mesh_0__position_id" name="mesh_0__position">
  55. <float_array id="mesh_0__position_array_id" count="72">-4 -4 4 4 -4 4 -4 4 4 4 4 4 -4 4 4 4 4 4 -4 4 -4 4 4 -4 -4 4 -4 4 4 -4 -4 -4 -4 4 -4 -4 -4 -4 -4 4 -4 -4 -4 -4 4 4 -4 4 4 -4 4 4 -4 -4 4 4 4 4 4 -4 -4 -4 -4 -4 -4 4 -4 4 -4 -4 4 4</float_array>
  56. <technique_common>
  57. <accessor source="#mesh_0__position_array_id" count="24" stride="3">
  58. <param name="X" type="float" />
  59. <param name="Y" type="float" />
  60. <param name="Z" type="float" />
  61. </accessor>
  62. </technique_common>
  63. </source>
  64. <source id="mesh_0__normal_id" name="mesh_0__normal">
  65. <float_array id="mesh_0__normal_array_id" count="72">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 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 -1 0 0 -1 0 0 -1 0 0 -1 0 0</float_array>
  66. <technique_common>
  67. <accessor source="#mesh_0__normal_array_id" count="24" stride="3">
  68. <param name="X" type="float" />
  69. <param name="Y" type="float" />
  70. <param name="Z" type="float" />
  71. </accessor>
  72. </technique_common>
  73. </source>
  74. <vertices id="mesh_0__vertices_id">
  75. <input semantic="POSITION" source="#mesh_0__position_id" />
  76. </vertices>
  77. <triangles material="lambert1" count="12">
  78. <input semantic="VERTEX" source="#mesh_0__vertices_id" offset="0" />
  79. <input semantic="NORMAL" source="#mesh_0__normal_id" offset="0" />
  80. <p>0 1 2 1 3 2 4 5 6 5 7 6 8 9 10 9 11 10 12 13 14 13 15 14 16 17 18 17 19 18 20 21 22 21 23 22</p>
  81. </triangles>
  82. </mesh>
  83. </geometry>
  84. </library_geometries>
  85. <library_controllers>
  86. <controller id="mesh_0__ctrl_id">
  87. <skin source="#mesh_0__id">
  88. <bind_shape_matrix>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</bind_shape_matrix>
  89. <source id="mesh_0__ctrl_joint_names_id">
  90. <Name_array id="mesh_0__ctrl_joint_names_array_id" count="1">debug_cube</Name_array>
  91. <technique_common>
  92. <accessor source="#mesh_0__ctrl_joint_names_array_id" count="1" stride="1">
  93. <param name="JOINT" type="Name" />
  94. </accessor>
  95. </technique_common>
  96. </source>
  97. <source id="mesh_0__ctrl_inv_bind_poses_id">
  98. <float_array id="mesh_0__ctrl_inv_bind_poses_array_id" count="16">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</float_array>
  99. <technique_common>
  100. <accessor source="#mesh_0__ctrl_inv_bind_poses_array_id" count="1" stride="16">
  101. <param name="TRANSFORM" type="float4x4" />
  102. </accessor>
  103. </technique_common>
  104. </source>
  105. <source id="mesh_0__ctrl_weights_id">
  106. <float_array id="mesh_0__ctrl_weights_array_id" count="1">1</float_array>
  107. <technique_common>
  108. <accessor source="#mesh_0__ctrl_weights_array_id" count="1" stride="1">
  109. <param name="WEIGHT" type="float" />
  110. </accessor>
  111. </technique_common>
  112. </source>
  113. <joints>
  114. <input semantic="JOINT" source="#mesh_0__ctrl_joint_names_id" />
  115. <input semantic="INV_BIND_MATRIX" source="#mesh_0__ctrl_inv_bind_poses_id" />
  116. </joints>
  117. <vertex_weights count="24">
  118. <input semantic="JOINT" source="#mesh_0__ctrl_joint_names_id" offset="0" />
  119. <input semantic="WEIGHT" source="#mesh_0__ctrl_weights_id" offset="1" />
  120. <vcount>1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1</vcount>
  121. <v>0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0</v>
  122. </vertex_weights>
  123. </skin>
  124. </controller>
  125. </library_controllers>
  126. <library_visual_scenes>
  127. <visual_scene id="vs_debug_cube_id" name="vs_debug_cube">
  128. <node id="debug_cube_bone_id" name="debug_cube" sid="debug_cube" type="JOINT">
  129. <matrix>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
  130. </node>
  131. <node id="vsn_mesh_0__id" name="vsn_mesh_0_" type="NODE">
  132. <matrix>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
  133. <instance_controller url="#mesh_0__ctrl_id">
  134. <skeleton>#debug_cube_bone_id</skeleton>
  135. <bind_material>
  136. <technique_common>
  137. <instance_material symbol="lambert1" target="#lambert1_mat_id" />
  138. </technique_common>
  139. </bind_material>
  140. </instance_controller>
  141. </node>
  142. </visual_scene>
  143. </library_visual_scenes>
  144. <scene>
  145. <instance_visual_scene url="#vs_debug_cube_id" />
  146. </scene>
  147. </COLLADA>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement