added collada testfile

This commit is contained in:
ejcoumans
2006-05-27 00:03:10 +00:00
parent e31711a4d9
commit c80a4cefb5

View File

@@ -0,0 +1,488 @@
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.0">
<asset>
<contributor>
<author>ecoumans</author>
<authoring_tool>Maya 7.0 | ColladaMaya v0.89 Apr 5 2006 at 15:20:17</authoring_tool>
<comments>Collada Maya Export Options: bakeTransforms=0;exportPolygonMeshes=1;bakeLighting=0;isSampling=0;
curveConstrainSampling=0;exportCameraAsLookat=0;relativePaths=0;
exportLights=1;exportCameras=1;exportJointsAndSkin=1;
exportAnimations=1;exportTriangles=0;exportInvisibleNodes=0;
exportNormals=1;exportTexCoords=1;exportVertexColors=1;exportTangents=0;
exportTexTangents=0;exportConstraints=1;exportPhysics=1;exportXRefs=1;
dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>
<source_data>file://C|/dailydownloads/colladastuff/analyticalGeomPhysicsTest.mb</source_data>
</contributor>
<created>2006-05-27T00:01:37Z</created>
<modified>2006-05-27T00:01:37Z</modified>
<unit name="centimeter" meter="0.010000"/>
<up_axis>Z_UP</up_axis>
</asset>
<library_materials>
<material id="lambert1" name="lambert1">
<instance_effect url="#lambert1-fx"/>
</material>
</library_materials>
<library_effects>
<effect id="lambert1-fx" name="lambert1">
<profile_COMMON>
<technique sid="standard">
<lambert>
<emission>
<color sid="emission">0 0 0 1.000000</color>
</emission>
<ambient>
<color sid="ambient">0 0 0 1.000000</color>
</ambient>
<diffuse>
<color sid="diffuse">0.500000 0.500000 0.500000 1.000000</color>
</diffuse>
<transparent>
<color sid="transparent">0 0 0 1.000000</color>
</transparent>
<transparency>
<float>1</float>
</transparency>
</lambert>
</technique>
</profile_COMMON>
</effect>
</library_effects>
<library_geometries>
<geometry id="pCylinderShape1-lib" name="pCylinderShape1">
<mesh>
<source id="pCylinderShape1-lib-Position">
<float_array count="126" id="pCylinderShape1-lib-Position-array">
0.951057 -1.000000 -0.309017
0.809017 -1.000000 -0.587786
0.587785 -1.000000 -0.809017
0.309017 -1.000000 -0.951057
0.000000 -1.000000 -1.000000
-0.309017 -1.000000 -0.951057
-0.587785 -1.000000 -0.809017
-0.809017 -1.000000 -0.587785
-0.951057 -1.000000 -0.309017
-1.000000 -1.000000 -0.000000
-0.951057 -1.000000 0.309017
-0.809017 -1.000000 0.587785
-0.587785 -1.000000 0.809017
-0.309017 -1.000000 0.951057
0.000000 -1.000000 1.000000
0.309017 -1.000000 0.951057
0.587785 -1.000000 0.809017
0.809017 -1.000000 0.587785
0.951057 -1.000000 0.309017
1.000000 -1.000000 0
0.951057 1.000000 -0.309017
0.809017 1.000000 -0.587786
0.587785 1.000000 -0.809017
0.309017 1.000000 -0.951057
0.000000 1.000000 -1.000000
-0.309017 1.000000 -0.951057
-0.587785 1.000000 -0.809017
-0.809017 1.000000 -0.587785
-0.951057 1.000000 -0.309017
-1.000000 1.000000 -0.000000
-0.951057 1.000000 0.309017
-0.809017 1.000000 0.587785
-0.587785 1.000000 0.809017
-0.309017 1.000000 0.951057
0.000000 1.000000 1.000000
0.309017 1.000000 0.951057
0.587785 1.000000 0.809017
0.809017 1.000000 0.587785
0.951057 1.000000 0.309017
1.000000 1.000000 0
0 -1.000000 0
0 1.000000 0
</float_array>
<technique_common>
<accessor source="#pCylinderShape1-lib-Position-array" count="42" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<source id="pCylinderShape1-lib-Normal">
<float_array count="246" id="pCylinderShape1-lib-Normal-array">
0.951057 0 -0.309016
0.809017 0 -0.587785
0.809017 0 -0.587785
0.951057 0 -0.309016
0.587785 0 -0.809017
0.587785 0 -0.809017
0.309017 0 -0.951057
0.309017 0 -0.951057
0 0 -1.000000
0 0 -1.000000
-0.309017 0 -0.951056
-0.309017 0 -0.951056
-0.587785 0 -0.809017
-0.587785 0 -0.809017
-0.809017 0 -0.587785
-0.809017 0 -0.587785
-0.951057 0 -0.309017
-0.951057 0 -0.309017
-1.000000 0 0
-1.000000 0 0
-0.951056 0 0.309017
-0.951056 0 0.309017
-0.809017 0 0.587785
-0.809017 0 0.587785
-0.587785 0 0.809017
-0.587785 0 0.809017
-0.309017 0 0.951057
-0.309017 0 0.951057
0 0 1.000000
0 0 1.000000
0.309017 0 0.951056
0.309017 0 0.951056
0.587785 0 0.809017
0.587785 0 0.809017
0.809017 0 0.587785
0.809017 0 0.587785
0.951057 0 0.309017
0.951057 0 0.309017
1.000000 0 0.000001
1.000000 0 0.000001
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 -1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
0 1.000000 0
</float_array>
<technique_common>
<accessor source="#pCylinderShape1-lib-Normal-array" count="82" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
<technique profile="MAYA">
<DOUBLE_SIDED>true</DOUBLE_SIDED>
</technique>
</source>
<source id="pCylinderShape1-lib-map1" name="map1">
<float_array count="88" id="pCylinderShape1-lib-map1-array">
0.500000 0
0 0.159155
0.050000 0.159155
0.100000 0.159155
0.150000 0.159155
0.200000 0.159155
0.250000 0.159155
0.300000 0.159155
0.350000 0.159155
0.400000 0.159155
0.450000 0.159155
0.500000 0.159155
0.550000 0.159155
0.600000 0.159155
0.650000 0.159155
0.700000 0.159155
0.750000 0.159155
0.800000 0.159155
0.850000 0.159155
0.900000 0.159155
0.950000 0.159155
1.000000 0.159155
0 0.477465
0.050000 0.477465
0.100000 0.477465
0.150000 0.477465
0.200000 0.477465
0.250000 0.477465
0.300000 0.477465
0.350000 0.477465
0.400000 0.477465
0.450000 0.477465
0.500000 0.477465
0.550000 0.477465
0.600000 0.477465
0.650000 0.477465
0.700000 0.477465
0.750000 0.477465
0.800000 0.477465
0.850000 0.477465
0.900000 0.477465
0.950000 0.477465
1.000000 0.477465
0.500000 0.636620
</float_array>
<technique_common>
<accessor source="#pCylinderShape1-lib-map1-array" count="44" stride="2">
<param name="S" type="float"/>
<param name="T" type="float"/>
</accessor>
</technique_common>
</source>
<vertices id="pCylinderShape1-lib-Vertex">
<input semantic="POSITION" source="#pCylinderShape1-lib-Position"/>
</vertices>
<polygons material="lambert1" count="60">
<input semantic="VERTEX" offset="0" source="#pCylinderShape1-lib-Vertex"/>
<input semantic="NORMAL" offset="1" source="#pCylinderShape1-lib-Normal"/>
<input semantic="TEXCOORD" offset="2" set="0" source="#pCylinderShape1-lib-map1"/>
<p>0 0 1 1 1 2 21 2 23 20 3 22</p>
<p>1 1 2 2 4 3 22 5 24 21 2 23</p>
<p>2 4 3 3 6 4 23 7 25 22 5 24</p>
<p>3 6 4 4 8 5 24 9 26 23 7 25</p>
<p>4 8 5 5 10 6 25 11 27 24 9 26</p>
<p>5 10 6 6 12 7 26 13 28 25 11 27</p>
<p>6 12 7 7 14 8 27 15 29 26 13 28</p>
<p>7 14 8 8 16 9 28 17 30 27 15 29</p>
<p>8 16 9 9 18 10 29 19 31 28 17 30</p>
<p>9 18 10 10 20 11 30 21 32 29 19 31</p>
<p>10 20 11 11 22 12 31 23 33 30 21 32</p>
<p>11 22 12 12 24 13 32 25 34 31 23 33</p>
<p>12 24 13 13 26 14 33 27 35 32 25 34</p>
<p>13 26 14 14 28 15 34 29 36 33 27 35</p>
<p>14 28 15 15 30 16 35 31 37 34 29 36</p>
<p>15 30 16 16 32 17 36 33 38 35 31 37</p>
<p>16 32 17 17 34 18 37 35 39 36 33 38</p>
<p>17 34 18 18 36 19 38 37 40 37 35 39</p>
<p>18 36 19 19 38 20 39 39 41 38 37 40</p>
<p>19 38 20 0 0 21 20 3 42 39 39 41</p>
<p>1 40 2 0 41 1 40 42 0</p>
<p>2 43 3 1 40 2 40 42 0</p>
<p>3 44 4 2 43 3 40 42 0</p>
<p>4 45 5 3 44 4 40 42 0</p>
<p>5 46 6 4 45 5 40 42 0</p>
<p>6 47 7 5 46 6 40 42 0</p>
<p>7 48 8 6 47 7 40 42 0</p>
<p>8 49 9 7 48 8 40 42 0</p>
<p>9 50 10 8 49 9 40 42 0</p>
<p>10 51 11 9 50 10 40 42 0</p>
<p>11 52 12 10 51 11 40 42 0</p>
<p>12 53 13 11 52 12 40 42 0</p>
<p>13 54 14 12 53 13 40 42 0</p>
<p>14 55 15 13 54 14 40 42 0</p>
<p>15 56 16 14 55 15 40 42 0</p>
<p>16 57 17 15 56 16 40 42 0</p>
<p>17 58 18 16 57 17 40 42 0</p>
<p>18 59 19 17 58 18 40 42 0</p>
<p>19 60 20 18 59 19 40 42 0</p>
<p>0 41 21 19 60 20 40 42 0</p>
<p>20 61 22 21 62 23 41 63 43</p>
<p>21 62 23 22 64 24 41 63 43</p>
<p>22 64 24 23 65 25 41 63 43</p>
<p>23 65 25 24 66 26 41 63 43</p>
<p>24 66 26 25 67 27 41 63 43</p>
<p>25 67 27 26 68 28 41 63 43</p>
<p>26 68 28 27 69 29 41 63 43</p>
<p>27 69 29 28 70 30 41 63 43</p>
<p>28 70 30 29 71 31 41 63 43</p>
<p>29 71 31 30 72 32 41 63 43</p>
<p>30 72 32 31 73 33 41 63 43</p>
<p>31 73 33 32 74 34 41 63 43</p>
<p>32 74 34 33 75 35 41 63 43</p>
<p>33 75 35 34 76 36 41 63 43</p>
<p>34 76 36 35 77 37 41 63 43</p>
<p>35 77 37 36 78 38 41 63 43</p>
<p>36 78 38 37 79 39 41 63 43</p>
<p>37 79 39 38 80 40 41 63 43</p>
<p>38 80 40 39 81 41 41 63 43</p>
<p>39 81 41 20 61 42 41 63 43</p>
</polygons>
</mesh>
</geometry>
</library_geometries>
<library_physics_materials>
<physics_material id="nxRigidBody1-PhysicsMaterial" name="nxRigidBody1">
<technique_common>
<dynamic_friction>0.200000</dynamic_friction>
<restitution>0.600000</restitution>
<static_friction>0.200000</static_friction>
</technique_common>
</physics_material>
<physics_material id="nxRigidBody2-PhysicsMaterial" name="nxRigidBody2">
<technique_common>
<dynamic_friction>0.200000</dynamic_friction>
<restitution>0.600000</restitution>
<static_friction>0.200000</static_friction>
</technique_common>
</physics_material>
<physics_material id="nxRigidBody3-PhysicsMaterial" name="nxRigidBody3">
<technique_common>
<dynamic_friction>0.200000</dynamic_friction>
<restitution>0.600000</restitution>
<static_friction>0.200000</static_friction>
</technique_common>
</physics_material>
<physics_material id="nxRigidBody4-PhysicsMaterial" name="nxRigidBody4">
<technique_common>
<dynamic_friction>0.200000</dynamic_friction>
<restitution>0.600000</restitution>
<static_friction>0.200000</static_friction>
</technique_common>
</physics_material>
</library_physics_materials>
<library_physics_models>
<physics_model id="AgeiaPhysicsModel">
<rigid_body sid="nxRigidBody1-RB">
<technique_common>
<mass>1.600000</mass>
<instance_physics_material url="#nxRigidBody1-PhysicsMaterial"/>
<shape>
<box>
<half_extents>0.500000 0.500000 0.736465</half_extents>
</box>
</shape>
<shape>
<box>
<half_extents>0.500000 0.500000 0.500000</half_extents>
</box>
</shape>
</technique_common>
</rigid_body>
<rigid_body sid="nxRigidBody2-RB">
<technique_common>
<mass>5.000000</mass>
<instance_physics_material url="#nxRigidBody2-PhysicsMaterial"/>
<shape>
<sphere>
<radius>1.000000</radius>
</sphere>
</shape>
<shape>
<sphere>
<radius>1.000000</radius>
</sphere>
</shape>
</technique_common>
</rigid_body>
<rigid_body sid="nxRigidBody3-RB">
<technique_common>
<mass>2.500000</mass>
<instance_physics_material url="#nxRigidBody3-PhysicsMaterial"/>
<shape>
<instance_geometry url="#pCylinderShape1-lib"/>
</shape>
</technique_common>
</rigid_body>
<rigid_body sid="nxRigidBody4-RB">
<technique_common>
<dynamic>false</dynamic>
<mass>2.000000</mass>
<instance_physics_material url="#nxRigidBody4-PhysicsMaterial"/>
<shape>
<box>
<half_extents>18.161070 17.301874 0.500000</half_extents>
</box>
</shape>
</technique_common>
</rigid_body>
</physics_model>
</library_physics_models>
<library_physics_scenes>
<physics_scene id="AgeiaPhysicsScene">
<instance_physics_model url="#AgeiaPhysicsModel">
<instance_rigid_body body="nxRigidBody1-RB" target="#nxRigidBody1"/>
<instance_rigid_body body="nxRigidBody2-RB" target="#nxRigidBody2"/>
<instance_rigid_body body="nxRigidBody3-RB" target="#nxRigidBody3"/>
<instance_rigid_body body="nxRigidBody4-RB" target="#nxRigidBody4"/>
</instance_physics_model>
<technique_common>
<gravity>0 0 -9.810000</gravity>
<time_step>0.030000</time_step>
</technique_common>
</physics_scene>
</library_physics_scenes>
<library_visual_scenes>
<visual_scene id="DefaultScene" name="analyticalGeomPhysicsTest">
<node id="nurbsCube1" name="nurbsCube1" sid="nurbsCube1">
<rotate sid="rotateZ">0 0 1 0</rotate>
<rotate sid="rotateY">0 1 0 0</rotate>
<rotate sid="rotateX">1 0 0 0</rotate>
</node>
<node id="nxRigidBody1" name="nxRigidBody1" sid="nxRigidBody1">
<translate sid="translate">0 -9.667151 8.648856</translate>
<rotate sid="rotateZ">0 0 1 0</rotate>
<rotate sid="rotateY">0 1 0 0</rotate>
<rotate sid="rotateX">1 0 0 0</rotate>
<node id="physics1" name="physics1" sid="physics1">
<rotate sid="rotateZ">0 0 1 0</rotate>
<rotate sid="rotateY">0 1 0 0</rotate>
<rotate sid="rotateX">1 0 0 0</rotate>
</node>
</node>
<node id="nxRigidBody2" name="nxRigidBody2" sid="nxRigidBody2">
<translate sid="translate">0 0 13.819195</translate>
<rotate sid="rotateZ">0 0 1 0</rotate>
<rotate sid="rotateY">0 1 0 0</rotate>
<rotate sid="rotateX">1 0 0 0</rotate>
<node id="physics2" name="physics2" sid="physics2">
<rotate sid="rotateZ">0 0 1 0</rotate>
<rotate sid="rotateY">0 1 0 0</rotate>
<rotate sid="rotateX">1 0 0 0</rotate>
</node>
</node>
<node id="nxRigidBody3" name="nxRigidBody3" sid="nxRigidBody3">
<translate sid="translate">0 0 6.114417</translate>
<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_geometry url="#pCylinderShape1-lib">
<bind_material>
<technique_common>
<instance_material symbol="lambert1" target="#lambert1"/>
</technique_common>
</bind_material>
</instance_geometry>
</node>
<node id="nxRigidBody4" name="nxRigidBody4" sid="nxRigidBody4">
<rotate sid="rotateZ">0 0 1 0</rotate>
<rotate sid="rotateY">0 1 0 0</rotate>
<rotate sid="rotateX">1 0 0 0</rotate>
</node>
<extra>
<technique profile="MAYA">
<start_time>0.041667</start_time>
<end_time>2.000000</end_time>
</technique>
</extra>
</visual_scene>
</library_visual_scenes>
<scene>
<instance_physics_scene url="#AgeiaPhysicsScene"/>
<instance_visual_scene url="#DefaultScene"/>
</scene>
</COLLADA>