Skip to content

Commit

Permalink
Fix templates in scenes (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger authored Oct 24, 2022
1 parent d0b76ad commit 383875b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/Tri2edgeManiMapping.scn
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<ManifoldTriangleSetTopologyContainer src="@loader" name="Container"/>
<ManifoldTriangleSetTopologyModifier name="Modifier"/>
<TriangleSetGeometryAlgorithms template="Vec3d" name="GeomAlgo"/>
<DiagonalMass template="Vec3d" name="default146" massDensity="0.15"/>
<DiagonalMass template="Vec3d,Vec3d" name="default146" massDensity="0.15"/>
<FixedConstraint template="Vec3d" name="default147" indices="0 1"/>
<TriangularFEMForceField template="Vec3d" name="FEM" method="large" poissonRatio="0.3" youngModulus="60"/>
<TriangularBendingSprings template="Vec3d" name="FEM-Bend" stiffness="300" damping="1"/>
Expand All @@ -43,8 +43,8 @@
<ManifoldEdgeSetGeometryAlgorithms template="Vec3d" name="TopoGeo"/>
<Triangle2EdgeTopologicalMapping name="Mapping" input="@../Container" output="@Container"/>
<Node name="Visu" gravity="0 -9.81 0" >
<OglModel template="ExtVec3f" name="Visual" position="@../../mechanical.position" triangles="@../../loader.triangles" material="Default Diffuse 1 0 0 1 1 Ambient 1 0 0 0.2 1 Specular 0 0 0 1 1 Emissive 0 0 0 1 1 Shininess 0 45"/>
<IdentityMapping template="Vec3d,ExtVec3f" name="default17" input="@../../mechanical" output="@Visual"/>
<OglModel template="Vec3d" name="Visual" position="@../../mechanical.position" triangles="@../../loader.triangles" material="Default Diffuse 1 0 0 1 1 Ambient 1 0 0 0.2 1 Specular 0 0 0 1 1 Emissive 0 0 0 1 1 Shininess 0 45"/>
<IdentityMapping template="Vec3d,Vec3d" name="default17" input="@../../mechanical" output="@Visual"/>
</Node>
<MeshSpringForceField template="Vec3d" name="default0" stiffness="100" damping="1" linesStiffness="100" linesDamping="1" trianglesStiffness="100" trianglesDamping="1" quadsStiffness="100" quadsDamping="1" tetrasStiffness="100" tetrasDamping="1" cubesStiffness="100" cubesDamping="1"/>
</Node>
Expand Down
6 changes: 3 additions & 3 deletions examples/Tri2edgeMapping.scn
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<TriangleSetTopologyContainer src="@loader" name="Container"/>
<TriangleSetTopologyModifier name="Modifier"/>
<TriangleSetGeometryAlgorithms template="Vec3d" name="GeomAlgo"/>
<DiagonalMass template="Vec3d" name="default5" massDensity="0.15"/>
<DiagonalMass template="Vec3d,Vec3d" name="default5" massDensity="0.15"/>
<FixedConstraint template="Vec3d" name="default6" indices="0 1"/>
<TriangularFEMForceField template="Vec3d" name="FEM" method="large" poissonRatio="0.3" youngModulus="60"/>
<TriangularBendingSprings template="Vec3d" name="FEM-Bend" stiffness="300" damping="1"/>
Expand All @@ -42,8 +42,8 @@
<EdgeSetTopologyModifier name="Modifier"/>
<Triangle2EdgeTopologicalMapping name="Mapping"/>
<Node name="visu" gravity="0 -9.81 0" >
<OglModel template="ExtVec3f" name="Visual" position="@../../mechanical.position" triangles="@../../loader.triangles" material="Default Diffuse 1 1 0 0 1 Ambient 1 0.2 0 0 1 Specular 0 1 0 0 1 Emissive 0 1 0 0 1 Shininess 0 45"/>
<IdentityMapping template="Vec3d,ExtVec3f" name="default8" input="@../../mechanical" output="@Visual"/>
<OglModel template="Vec3d" name="Visual" position="@../../mechanical.position" triangles="@../../loader.triangles" material="Default Diffuse 1 1 0 0 1 Ambient 1 0.2 0 0 1 Specular 0 1 0 0 1 Emissive 0 1 0 0 1 Shininess 0 45"/>
<IdentityMapping template="Vec3d,Vec3d" name="default8" input="@../../mechanical" output="@Visual"/>
</Node>
</Node>
</Node>
Expand Down

0 comments on commit 383875b

Please sign in to comment.