Advertisement
Nightseeker

ACNL debug_cylinder.dae

Jun 1st, 2018
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.71 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:04:17Z</created>
  5. <modified>2016-09-22T02:04:17Z</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="54">1.41421 -4 -1.41421 0 -4 -2 1.41421 4 -1.41421 2 4 0 2 -4 0 1.41421 4 1.41421 1.41421 -4 1.41421 0 4 2 0 -4 2 -1.41421 4 1.41421 -1.41421 -4 1.41421 -2 4 0 -2 -4 0 -1.41421 4 -1.41421 -1.41421 -4 -1.41421 0 4 -2 0 4 0 0 -4 0</float_array>
  56. <technique_common>
  57. <accessor source="#mesh_0__position_array_id" count="18" 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="54">0.479841 -0.734509 -0.479842 0 -0.734509 -0.678598 0.479841 0.734509 -0.479842 0.678598 0.734509 0 0.678598 -0.734509 0 0.479841 0.734509 0.479842 0.479841 -0.734509 0.479842 0 0.734509 0.678598 0 -0.734509 0.678598 -0.479842 0.734509 0.479841 -0.479842 -0.734509 0.479841 -0.678598 0.734509 0 -0.678598 -0.734509 0 -0.479842 0.734509 -0.479842 -0.479842 -0.734509 -0.479842 0 0.734509 -0.678598 0 1 0 0 -1 0</float_array>
  66. <technique_common>
  67. <accessor source="#mesh_0__normal_array_id" count="18" 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="32">
  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 0 2 3 4 0 3 4 3 5 6 4 5 6 5 7 8 6 7 8 7 9 10 8 9 10 9 11 12 10 11 12 11 13 14 12 13 14 13 15 1 14 15 1 15 2 2 15 16 3 2 16 5 3 16 7 5 16 9 7 16 11 9 16 13 11 16 15 13 16 1 0 17 14 1 17 12 14 17 10 12 17 8 10 17 6 8 17 4 6 17 0 4 17</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_cylinder</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="18">
  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</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</v>
  122. </vertex_weights>
  123. </skin>
  124. </controller>
  125. </library_controllers>
  126. <library_visual_scenes>
  127. <visual_scene id="vs_debug_cylinder_id" name="vs_debug_cylinder">
  128. <node id="debug_cylinder_bone_id" name="debug_cylinder" sid="debug_cylinder" 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_cylinder_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_cylinder_id" />
  146. </scene>
  147. </COLLADA>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement