/usr/share/sofa/examples/Demos/collisionMultiple.scn is in sofa-data 1.0~beta4-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | <Node name="root" dt="0.03333" showBehaviorModels="0" showCollisionModels="0" showMappings="0" showForceFields="0">
<Object type="CollisionPipeline" verbose="0" depth="10" draw="0"/>
<Object type="BruteForceDetection" name="N2" />
<Object type="MinProximityIntersection" name="Proximity" alarmDistance="0.75" contactDistance="0.5" />
<Object type="CollisionResponse" name="Response" response="default" />
<Object type="CollisionGroup" name="Group" />
<Node name="Torus">
<Object type="EulerImplicit" name="cg_odesolver" printLog="false"/>
<Object type="CGLinearSolver" iterations="25" name="linear solver" tolerance="1.0e-9" threshold="1.0e-9" template="SparseMatrix" />
<Object type="MechanicalObject" dx="0" dy="20" dz="29" rz="64"/>
<Object type="UniformMass" totalmass="10"/>
<Object type="RegularGrid"
nx="6" ny="5" nz="2"
xmin="-7.5" xmax="7.5"
ymin="-6" ymax="6"
zmin="-1.75" zmax="1.75"
/>
<Object type="RegularGridSpringForceField" name="Springs" stiffness="350" damping="1" />
<Node name="Visu">
<Object type="OglModel" name="Visual" fileMesh="mesh/torus2_scale3.obj" dx="0" dy="20" dz="29" color="blue" />
<Object type="BarycentricMapping" object1="../.." object2="Visual" />
</Node>
<Node name="Surf">
<Object type="MeshLoader" name="meshLoader" filename="mesh/torus2_scale3.obj"/>
<Object type="Mesh" />
<Object type="MechanicalObject" dx="0" dy="20" dz="29" />
<Object type="Triangle" />
<Object type="Line" />
<Object type="Point" />
<Object type="BarycentricMapping" />
</Node>
</Node>
<!--
<Node name="Dragon">
<Object type="EulerImplicit" name="cg_odesolver" printLog="false"/>
<Object type="CGLinearSolver" iterations="25" name="linear solver" tolerance="1.0e-9" threshold="1.0e-9" />
<Object type="MechanicalObject" dx="20" dy="20" dz="29" rx="33"/>
<Object type="UniformMass" totalmass="10"/>
<Object type="RegularGrid"
nx="6" ny="5" nz="3"
xmin="-11" xmax="11"
ymin="-7" ymax="7"
zmin="-4" zmax="4"
/>
<Object type="RegularGridSpringForceField" name="Springs" stiffness="350" damping="1" />
<Node name="Visu">
<Object type="OglModel" name="Visual" fileMesh="mesh/dragon.obj" dx="20" dy="20" dz="29" color="red" />
<Object type="BarycentricMapping" object1="../.." object2="Visual" />
</Node>
<Node name="Surf">
<Object type="MeshLoader" name="meshLoader" filename="mesh/dragon.obj"/>
<Object type="Mesh" />
<Object type="MechanicalObject" dx="20" dy="20" dz="29" />
<Object type="Triangle" />
<Object type="Line" />
<Object type="Point" />
<Object type="BarycentricMapping" />
</Node>
</Node>
<Node name="Frog">
<Object type="EulerImplicit" name="cg_odesolver" printLog="false"/>
<Object type="CGLinearSolver" iterations="25" name="linear solver" tolerance="1.0e-9" threshold="1.0e-9" />
<Object type="MechanicalObject" dx="-20" dy="20" dz="29" ry="10"/>
<Object type="UniformMass" totalmass="10"/>
<Object type="RegularGrid"
nx="6" ny="3" nz="5"
xmin="-10" xmax="8"
ymin="-3" ymax="2.5"
zmin="-7" zmax="7"
/>
<Object type="RegularGridSpringForceField" name="Springs" stiffness="350" damping="1" />
<Node name="Visu1">
<Object type="OglModel" name="VisualBody" fileMesh="mesh/frog_body.obj" normals="0" dx="-20" dy="20" dz="29" color="0.17 0.70 0.05" />
<Object type="BarycentricMapping" object1="../.." object2="VisualBody" />
</Node>
<Node name="Visu2">
<Object type="OglModel" name="VisualEyes" fileMesh="mesh/frog_eyes.obj" normals="0" dx="-20" dy="20" dz="29" color="0.04 0.19 0.52" />
<Object type="BarycentricMapping" object1="../.." object2="VisualEyes" />
</Node>
<Node name="Visu3">
<Object type="OglModel" name="VisualEyebrows" fileMesh="mesh/frog_eyebrows.obj" normals="0" dx="-20" dy="20" dz="29" color="0.44 0.43 0.00" />
<Object type="BarycentricMapping" object1="../.." object2="VisualEyebrows" />
</Node>
<Node name="Visu4">
<Object type="OglModel" name="VisualLips" fileMesh="mesh/frog_lips.obj" normals="0" dx="-20" dy="20" dz="29" color="0.47 0.25 0.03" />
<Object type="BarycentricMapping" object1="../.." object2="VisualLips" />
</Node>
<Node name="Surf">
<Object type="MeshLoader" name="meshLoader" filename="mesh/frog-push25.obj"/>
<Object type="Mesh" />
<Object type="MechanicalObject" dx="-20" dy="20" dz="29" />
<Object type="Triangle" />
<Object type="Line" />
<Object type="Point" />
<Object type="BarycentricMapping" />
</Node>
</Node>
-->
<Node name="Floor">
<Object type="MeshLoader" name="meshLoader" filename="mesh/floor2b.obj"/>
<Object type="Mesh" />
<Object type="MechanicalObject" dy="-10.25" scale="0.5" />
<Object type="Triangle" name="Floor" simulated="0" moving="0" />
<Object type="Line" name="Floor" simulated="0" moving="0" />
<Object type="Point" name="Floor" simulated="0" moving="0" />
<Object type="OglModel" name="FloorV" fileMesh="mesh/floor2b.obj" scale="0.5" texturename="textures/floor.png" dy="-10" />
</Node>
</Node>
|