Skip to content

[Collada] add Mario test run animation #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
302 changes: 302 additions & 0 deletions embeds/collada/a_box_smooth_translate.dae
Original file line number Diff line number Diff line change
@@ -0,0 +1,302 @@
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<asset>
<contributor>
<author>katopz</author>
<authoring_tool>Maya8.5 | ColladaMaya v3.05B</authoring_tool>
<comments>ColladaMaya export options: bakeTransforms=0;exportPolygonMeshes=1;bakeLighting=0;isSampling=0;
curveConstrainSampling=0;removeStaticCurves=1;exportCameraAsLookat=0;
exportLights=0;exportCameras=0;exportJointsAndSkin=1;
exportAnimations=1;exportTriangles=1;exportInvisibleNodes=0;
exportNormals=0;exportTexCoords=1;
exportVertexColors=0;exportVertexColorsAnimation=0;exportTangents=0;
exportTexTangents=0;exportConstraints=0;exportPhysics=0;exportXRefs=1;
dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>
</contributor>
<created>2008-06-19T17:30:34Z</created>
<modified>2008-06-19T17:30:34Z</modified>
<unit meter="0.01" name="centimeter"/>
<up_axis>Y_UP</up_axis>
</asset>
<library_animations>
<animation id="joint2.translate">
<source id="joint2.translate_joint2_translate-input">
<float_array id="joint2.translate_joint2_translate-input-array" count="5">0.041666 0.5 1 1.5 2</float_array>
<technique_common>
<accessor source="#joint2.translate_joint2_translate-input-array" count="5" stride="1">
<param name="TIME" type="float"/>
</accessor>
</technique_common>
<technique profile="MAYA">
<pre_infinity>CONSTANT</pre_infinity>
<post_infinity>CONSTANT</post_infinity>
</technique>
</source>
<source id="joint2.translate_joint2_translate-output">
<float_array id="joint2.translate_joint2_translate-output-array" count="15">0 5 0 10 5 0 0 10 0 0 5 10 0 5 0</float_array>
<technique_common>
<accessor source="#joint2.translate_joint2_translate-output-array" count="5" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<source id="joint2.translate_joint2_translate-interpolations">
<Name_array id="joint2.translate_joint2_translate-interpolations-array" count="5">BEZIER BEZIER BEZIER BEZIER BEZIER</Name_array>
<technique_common>
<accessor source="#joint2.translate_joint2_translate-interpolations-array" count="5" stride="1">
<param name="INTERPOLATION" type="Name"/>
</accessor>
</technique_common>
</source>
<source id="joint2.translate_joint2_translate-intangents">
<float_array id="joint2.translate_joint2_translate-intangents-array" count="30">-0.291667 -7.27273 -0.291667 5 -0.291667 0 0.347222 10 0.347222 5 0.347222 0 0.833333 0 0.833333 10 0.833333 0 1.33333 0 1.33333 5 1.33333 10 1.83333 0 1.83333 5 1.83333 3.33333</float_array>
<technique_common>
<accessor source="#joint2.translate_joint2_translate-intangents-array" count="5" stride="6">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="X" type="float"/>
<param name="Y" type="float"/>
</accessor>
</technique_common>
</source>
<source id="joint2.translate_joint2_translate-outtangents">
<float_array id="joint2.translate_joint2_translate-outtangents-array" count="30">0.194444 3.33333 0.194444 5 0.194444 0 0.666667 10 0.666667 5 0.666667 0 1.16667 0 1.16667 10 1.16667 0 1.66667 0 1.66667 5 1.66667 10 2.33333 0 2.33333 5 2.33333 -6.66667</float_array>
<technique_common>
<accessor source="#joint2.translate_joint2_translate-outtangents-array" count="5" stride="6">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="X" type="float"/>
<param name="Y" type="float"/>
</accessor>
</technique_common>
</source>
<sampler id="joint2.translate_joint2_translate-sampler">
<input semantic="INPUT" source="#joint2.translate_joint2_translate-input"/>
<input semantic="OUTPUT" source="#joint2.translate_joint2_translate-output"/>
<input semantic="INTERPOLATION" source="#joint2.translate_joint2_translate-interpolations"/>
<input semantic="IN_TANGENT" source="#joint2.translate_joint2_translate-intangents"/>
<input semantic="OUT_TANGENT" source="#joint2.translate_joint2_translate-outtangents"/>
</sampler>
<channel source="#joint2.translate_joint2_translate-sampler" target="joint2/translate"/>
</animation>
</library_animations>
<library_images>
<image id="file1" name="file1">
<init_from>./a_box_smooth_translate.jpg</init_from>
<extra>
<technique profile="MAYA">
<dgnode_type>kFile</dgnode_type>
<image_sequence>0</image_sequence>
</technique>
</extra>
</image>
</library_images>
<library_materials>
<material id="lambert1" name="lambert1">
<instance_effect url="#lambert1-fx"/>
</material>
</library_materials>
<library_effects>
<effect id="lambert1-fx">
<profile_COMMON>
<newparam sid="file1-surface">
<surface type="2D">
<init_from>file1</init_from>
<format>A8R8G8B8</format>
</surface>
</newparam>
<newparam sid="file1-sampler">
<sampler2D>
<source>file1-surface</source>
<wrap_s>WRAP</wrap_s>
<wrap_t>WRAP</wrap_t>
<minfilter>NONE</minfilter>
<magfilter>NONE</magfilter>
<mipfilter>NONE</mipfilter>
</sampler2D>
</newparam>
<technique sid="common">
<lambert>
<emission>
<color>0 0 0 1</color>
</emission>
<ambient>
<color>0 0 0 1</color>
</ambient>
<diffuse>
<texture texture="file1-sampler" texcoord="TEX0">
<extra>
<technique profile="MAYA">
<wrapU>1</wrapU>
<wrapV>1</wrapV>
<mirrorU>0</mirrorU>
<mirrorV>0</mirrorV>
<coverageU>1</coverageU>
<coverageV>1</coverageV>
<translateFrameU>0</translateFrameU>
<translateFrameV>0</translateFrameV>
<rotateFrame>0</rotateFrame>
<stagger>0</stagger>
<fast>0</fast>
<repeatU>1</repeatU>
<repeatV>1</repeatV>
<offsetU>0</offsetU>
<offsetV>0</offsetV>
<rotateUV>0</rotateUV>
<noiseU>0</noiseU>
<noiseV>0</noiseV>
<blend_mode>NONE</blend_mode>
</technique>
</extra>
</texture>
</diffuse>
<transparent opaque="RGB_ZERO">
<color>0 0 0 1</color>
</transparent>
<transparency>
<float>1</float>
</transparency>
</lambert>
<extra>
<technique profile="FCOLLADA"/>
</extra>
</technique>
</profile_COMMON>
</effect>
</library_effects>
<library_geometries>
<geometry id="pCubeShape1" name="pCubeShape1">
<mesh>
<source id="pCubeShape1-positions" name="position">
<float_array id="pCubeShape1-positions-array" count="36">-2.5 -5 2.5 2.5 -5 2.5 -2.5 0 2.5 2.5 0 2.5 -2.5 5 2.5 2.5 5 2.5 -2.5 5 -2.5 2.5 5 -2.5 -2.5 0 -2.5 2.5 0 -2.5 -2.5 -5 -2.5 2.5 -5 -2.5</float_array>
<technique_common>
<accessor source="#pCubeShape1-positions-array" count="12" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<source id="pCubeShape1-map1" name="map1">
<float_array id="pCubeShape1-map1-array" count="40">0.375 0 0.625 0 0.375 0.125 0.625 0.125 0.375 0.25 0.625 0.25 0.375 0.5 0.625 0.5 0.375 0.625 0.625 0.625 0.375 0.75 0.625 0.75 0.375 1 0.625 1 0.875 0 0.875 0.125 0.875 0.25 0.125 0 0.125 0.125 0.125 0.25</float_array>
<technique_common>
<accessor source="#pCubeShape1-map1-array" count="20" stride="2">
<param name="S" type="float"/>
<param name="T" type="float"/>
</accessor>
</technique_common>
</source>
<vertices id="pCubeShape1-vertices">
<input semantic="POSITION" source="#pCubeShape1-positions"/>
</vertices>
<triangles material="initialShadingGroup" count="20">
<input semantic="VERTEX" source="#pCubeShape1-vertices" offset="0"/>
<input semantic="TEXCOORD" source="#pCubeShape1-map1" offset="1" set="0"/>
<p>0 0 1 1 2 2 2 2 1 1 3 3 2 2 3 3 4 4 4 4 3 3 5 5 4 4 5 5 6 6 6 6 5 5 7 7 6 6 7 7 8 8 8 8 7 7 9 9 8 8 9 9 10 10 10 10 9 9 11 11 10 10 11 11 0 12 0 12 11 11 1 13 1 1 11 14 3 3 3 3 11 14 9 15 3 3 9 15 5 5 5 5 9 15 7 16 10 17 0 0 8 18 8 18 0 0 2 2 8 18 2 2 6 19 6 19 2 2 4 4</p>
</triangles>
</mesh>
<extra>
<technique profile="MAYA">
<double_sided>0</double_sided>
</technique>
</extra>
</geometry>
</library_geometries>
<library_controllers>
<controller id="pCubeShape1-skin" name="skinCluster1">
<skin source="#pCubeShape1">
<bind_shape_matrix>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</bind_shape_matrix>
<source id="pCubeShape1-skin-joints">
<Name_array id="pCubeShape1-skin-joints-array" count="2">bone0 bone1</Name_array>
<technique_common>
<accessor source="#pCubeShape1-skin-joints-array" count="2" stride="1">
<param name="JOINT" type="Name"/>
</accessor>
</technique_common>
</source>
<source id="pCubeShape1-skin-bind_poses">
<float_array id="pCubeShape1-skin-bind_poses-array" count="32">1 0 0 0 0 1 0 2.5 0 0 1 0 0 0 0 1 1 0 0 0 0 1 0 -2.5 0 0 1 0 0 0 0 1</float_array>
<technique_common>
<accessor source="#pCubeShape1-skin-bind_poses-array" count="2" stride="16">
<param name="TRANSFORM" type="float4x4"/>
</accessor>
</technique_common>
</source>
<source id="pCubeShape1-skin-weights">
<float_array id="pCubeShape1-skin-weights-array" count="25">1 0.998493 0.001506 0.998493 0.001506 0.883636 0.116364 0.883636 0.116364 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.883636 0.116364 0.883636 0.116364 0.998493 0.001506 0.998493 0.001506</float_array>
<technique_common>
<accessor source="#pCubeShape1-skin-weights-array" count="25" stride="1">
<param name="WEIGHT" type="float"/>
</accessor>
</technique_common>
</source>
<joints>
<input semantic="JOINT" source="#pCubeShape1-skin-joints"/>
<input semantic="INV_BIND_MATRIX" source="#pCubeShape1-skin-bind_poses"/>
</joints>
<vertex_weights count="12">
<input semantic="JOINT" source="#pCubeShape1-skin-joints" offset="0"/>
<input semantic="WEIGHT" source="#pCubeShape1-skin-weights" offset="1"/>
<vcount>2 2 2 2 2 2 2 2 2 2 2 2 </vcount>
<v>0 1 1 2 0 3 1 4 0 5 1 6 0 7 1 8 0 9 1 10 0 11 1 12 0 13 1 14 0 15 1 16 0 17 1 18 0 19 1 20 0 21 1 22 0 23 1 24</v>
</vertex_weights>
</skin>
</controller>
</library_controllers>
<library_visual_scenes>
<visual_scene id="VisualSceneNode" name="_0_box_smooth_translate">
<node id="pCube1" name="pCube1" type="NODE">
<rotate sid="rotateZ">0 0 1 0</rotate>
<rotate sid="rotateY">0 1 0 0</rotate>
<rotate sid="rotateX">1 0 0 0</rotate>
<instance_controller url="#pCubeShape1-skin">
<skeleton>#joint1</skeleton>
<bind_material>
<technique_common>
<instance_material symbol="initialShadingGroup" target="#lambert1">
<bind_vertex_input semantic="TEX0" input_semantic="TEXCOORD" input_set="0"/>
</instance_material>
</technique_common>
</bind_material>
</instance_controller>
</node>
<node id="joint1" name="joint1" sid="bone0" type="JOINT">
<translate sid="translate">0 -2.5 0</translate>
<rotate sid="jointOrientZ">0 0 1 0</rotate>
<rotate sid="jointOrientY">0 1 0 0</rotate>
<rotate sid="jointOrientX">1 0 0 0</rotate>
<node id="joint2" name="joint2" sid="bone1" type="JOINT">
<translate sid="translate">0 5 0</translate>
<rotate sid="jointOrientZ">0 0 1 0</rotate>
<rotate sid="jointOrientY">0 1 0 0</rotate>
<rotate sid="jointOrientX">1 0 0 0</rotate>
<extra>
<technique profile="MAYA">
<segment_scale_compensate>1</segment_scale_compensate>
</technique>
</extra>
</node>
<extra>
<technique profile="MAYA">
<segment_scale_compensate>1</segment_scale_compensate>
</technique>
</extra>
</node>
<extra>
<technique profile="FCOLLADA">
<start_time>0.041666</start_time>
<end_time>2</end_time>
</technique>
</extra>
</visual_scene>
</library_visual_scenes>
<scene>
<instance_visual_scene url="#VisualSceneNode"/>
</scene>
</COLLADA>
Binary file added embeds/collada/a_box_smooth_translate.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading