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>2018-12-20T09:21:58Z</created>
- <modified>2018-12-20T09:21:58Z</modified>
- </asset>
- <library_images />
- <library_materials>
- <material id="ShadowMaterial_mat_id" name="ShadowMaterial_mat">
- <instance_effect url="#eff_ShadowMaterial_id" />
- </material>
- </library_materials>
- <library_effects>
- <effect id="eff_ShadowMaterial_id" name="eff_ShadowMaterial">
- <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="12">-0.5 0 0.5 0.5 0 0.5 -0.5 0 -0.5 0.5 0 -0.5</float_array>
- <technique_common>
- <accessor source="#mesh_0__position_array_id" count="4" 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="ShadowMaterial" count="2">
- <input semantic="VERTEX" source="#mesh_0__vertices_id" offset="0" />
- <p>0 1 2 1 3 2</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">pPlane1</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="4">
- <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</vcount>
- <v>0 0 0 0 0 0 0 0</v>
- </vertex_weights>
- </skin>
- </controller>
- </library_controllers>
- <library_visual_scenes>
- <visual_scene id="vs_ShadowModel_id" name="vs_ShadowModel">
- <node id="pPlane1_bone_id" name="pPlane1" sid="pPlane1" 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>#pPlane1_bone_id</skeleton>
- <bind_material>
- <technique_common>
- <instance_material symbol="ShadowMaterial" target="#ShadowMaterial_mat_id" />
- </technique_common>
- </bind_material>
- </instance_controller>
- </node>
- </visual_scene>
- </library_visual_scenes>
- <scene>
- <instance_visual_scene url="#vs_ShadowModel_id" />
- </scene>
- </COLLADA>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement