Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <COLLADA version="1.4.1" xmlns="http://www.collada.org/2005/11/COLLADASchema">
- <asset>
- <created>2016-09-22T02:04:17Z</created>
- <modified>2016-09-22T02:04:17Z</modified>
- </asset>
- <library_images />
- <library_materials>
- <material id="lambert1_mat_id" name="lambert1_mat">
- <instance_effect url="#eff_lambert1_id" />
- </material>
- </library_materials>
- <library_effects>
- <effect id="eff_lambert1_id" name="eff_lambert1">
- <profile_COMMON>
- <newparam sid="img_surface">
- <surface type="2D">
- <init_from>_id</init_from>
- <format>PNG</format>
- </surface>
- </newparam>
- <newparam sid="img_sampler">
- <sampler2D>
- <source>img_surface</source>
- <wrap_s>WRAP</wrap_s>
- <wrap_t>WRAP</wrap_t>
- <minfilter>LINEAR_MIPMAP_LINEAR</minfilter>
- <magfilter>LINEAR</magfilter>
- <mipfilter>LINEAR</mipfilter>
- </sampler2D>
- </newparam>
- <technique sid="img_technique">
- <phong>
- <emission>
- <color>0 0 0 1</color>
- </emission>
- <ambient>
- <color>0 0 0 1</color>
- </ambient>
- <diffuse>
- <texture texture="img_sampler" texcoord="uv" />
- </diffuse>
- <specular>
- <color>1 1 1 1</color>
- </specular>
- </phong>
- </technique>
- </profile_COMMON>
- </effect>
- </library_effects>
- <library_geometries>
- <geometry id="mesh_0__id" name="mesh_0_">
- <mesh>
- <source id="mesh_0__position_id" name="mesh_0__position">
- <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>
- <technique_common>
- <accessor source="#mesh_0__position_array_id" count="18" stride="3">
- <param name="X" type="float" />
- <param name="Y" type="float" />
- <param name="Z" type="float" />
- </accessor>
- </technique_common>
- </source>
- <source id="mesh_0__normal_id" name="mesh_0__normal">
- <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>
- <technique_common>
- <accessor source="#mesh_0__normal_array_id" count="18" stride="3">
- <param name="X" type="float" />
- <param name="Y" type="float" />
- <param name="Z" type="float" />
- </accessor>
- </technique_common>
- </source>
- <vertices id="mesh_0__vertices_id">
- <input semantic="POSITION" source="#mesh_0__position_id" />
- </vertices>
- <triangles material="lambert1" count="32">
- <input semantic="VERTEX" source="#mesh_0__vertices_id" offset="0" />
- <input semantic="NORMAL" source="#mesh_0__normal_id" offset="0" />
- <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>
- </triangles>
- </mesh>
- </geometry>
- </library_geometries>
- <library_controllers>
- <controller id="mesh_0__ctrl_id">
- <skin source="#mesh_0__id">
- <bind_shape_matrix>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</bind_shape_matrix>
- <source id="mesh_0__ctrl_joint_names_id">
- <Name_array id="mesh_0__ctrl_joint_names_array_id" count="1">debug_cylinder</Name_array>
- <technique_common>
- <accessor source="#mesh_0__ctrl_joint_names_array_id" count="1" stride="1">
- <param name="JOINT" type="Name" />
- </accessor>
- </technique_common>
- </source>
- <source id="mesh_0__ctrl_inv_bind_poses_id">
- <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>
- <technique_common>
- <accessor source="#mesh_0__ctrl_inv_bind_poses_array_id" count="1" stride="16">
- <param name="TRANSFORM" type="float4x4" />
- </accessor>
- </technique_common>
- </source>
- <source id="mesh_0__ctrl_weights_id">
- <float_array id="mesh_0__ctrl_weights_array_id" count="1">1</float_array>
- <technique_common>
- <accessor source="#mesh_0__ctrl_weights_array_id" count="1" stride="1">
- <param name="WEIGHT" type="float" />
- </accessor>
- </technique_common>
- </source>
- <joints>
- <input semantic="JOINT" source="#mesh_0__ctrl_joint_names_id" />
- <input semantic="INV_BIND_MATRIX" source="#mesh_0__ctrl_inv_bind_poses_id" />
- </joints>
- <vertex_weights count="18">
- <input semantic="JOINT" source="#mesh_0__ctrl_joint_names_id" offset="0" />
- <input semantic="WEIGHT" source="#mesh_0__ctrl_weights_id" offset="1" />
- <vcount>1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1</vcount>
- <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>
- </vertex_weights>
- </skin>
- </controller>
- </library_controllers>
- <library_visual_scenes>
- <visual_scene id="vs_debug_cylinder_id" name="vs_debug_cylinder">
- <node id="debug_cylinder_bone_id" name="debug_cylinder" sid="debug_cylinder" type="JOINT">
- <matrix>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
- </node>
- <node id="vsn_mesh_0__id" name="vsn_mesh_0_" type="NODE">
- <matrix>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
- <instance_controller url="#mesh_0__ctrl_id">
- <skeleton>#debug_cylinder_bone_id</skeleton>
- <bind_material>
- <technique_common>
- <instance_material symbol="lambert1" target="#lambert1_mat_id" />
- </technique_common>
- </bind_material>
- </instance_controller>
- </node>
- </visual_scene>
- </library_visual_scenes>
- <scene>
- <instance_visual_scene url="#vs_debug_cylinder_id" />
- </scene>
- </COLLADA>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement