Skip to content

Commit

Permalink
replace DefaultPipeline with CollisionPipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy committed Sep 30, 2024
1 parent 4aa5c2d commit 1934346
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions examples/ManifoldTriangleSurfaceCutting.scn
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Node name="root" dt="0.05" gravity="0 -9 1">
<Node name="RequiredPlugins">
<RequiredPlugin name="ManifoldTopologies"/> <!-- Needed to use components [ManifoldTriangleSetTopologyContainer, ManifoldTriangleSetTopologyModifier] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Algorithm"/> <!-- Needed to use components [BVHNarrowPhase, BruteForceBroadPhase, DefaultPipeline] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Algorithm"/> <!-- Needed to use components [BVHNarrowPhase, BruteForceBroadPhase, CollisionPipeline] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Intersection"/> <!-- Needed to use components [MinProximityIntersection] -->
<RequiredPlugin name="Sofa.Component.Collision.Geometry"/> <!-- Needed to use components [TriangleCollisionModel] -->
<RequiredPlugin name="Sofa.Component.Collision.Response.Contact"/> <!-- Needed to use components [CollisionResponse] -->
Expand All @@ -21,7 +21,7 @@
<RequiredPlugin name="Sofa.GL.Component.Rendering3D"/> <!-- Needed to use components [OglModel] -->
</Node>
<VisualStyle displayFlags="showBehaviorModels hideCollisionModels hideMappings hideForceFields"/>
<DefaultPipeline verbose="0" />
<CollisionPipeline verbose="0" />
<BruteForceBroadPhase/>
<BVHNarrowPhase/>
<CollisionResponse response="PenalityContactForceField" />
Expand Down
4 changes: 2 additions & 2 deletions examples/SimpleManifoldTesselatedTetraTopologicalMapping.scn
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<VisualStyle displayFlags="showBehaviorModels showCollisionModels hideMappings showForceFields"/>
<Node name="RequiredPlugins">
<RequiredPlugin name="ManifoldTopologies"/> <!-- Needed to use components [ManifoldTetrahedronSetTopologyContainer] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Algorithm"/> <!-- Needed to use components [BVHNarrowPhase, BruteForceBroadPhase, DefaultPipeline] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Algorithm"/> <!-- Needed to use components [BVHNarrowPhase, BruteForceBroadPhase, CollisionPipeline] -->
<RequiredPlugin name="Sofa.Component.Collision.Geometry"/> <!-- Needed to use components [TriangleCollisionModel] -->
<RequiredPlugin name="Sofa.Component.Collision.Response.Contact"/> <!-- Needed to use components [CollisionResponse] -->
<RequiredPlugin name="Sofa.Component.Constraint.Projective"/> <!-- Needed to use components [FixedConstraint] -->
Expand All @@ -16,7 +16,7 @@
<RequiredPlugin name="Sofa.Component.Topology.Container.Dynamic"/> <!-- Needed to use components [TetrahedronSetGeometryAlgorithms, TetrahedronSetTopologyModifier] -->
<RequiredPlugin name="Sofa.Component.Visual"/> <!-- Needed to use components [VisualStyle] -->
</Node>
<DefaultPipeline verbose="0" name="CollisionPipeline"/>
<CollisionPipeline verbose="0" name="CollisionPipeline"/>
<BruteForceBroadPhase/>
<BVHNarrowPhase/>
<CollisionResponse response="PenalityContactForceField" name="collision response"/>
Expand Down
4 changes: 2 additions & 2 deletions examples/SimpleTesselatedTetraTopologicalMapping.scn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Node name="root" dt="0.05" showBehaviorModels="1" showCollisionModels="1" showMappings="0" showForceFields="1" showBoundingTree="0" gravity="0 0 0">
<Node name="RequiredPlugins">
<RequiredPlugin name="Sofa.Component.Collision.Detection.Algorithm"/> <!-- Needed to use components [BVHNarrowPhase, BruteForceBroadPhase, DefaultPipeline] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Algorithm"/> <!-- Needed to use components [BVHNarrowPhase, BruteForceBroadPhase, CollisionPipeline] -->
<RequiredPlugin name="Sofa.Component.Collision.Geometry"/> <!-- Needed to use components [TriangleCollisionModel] -->
<RequiredPlugin name="Sofa.Component.Collision.Response.Contact"/> <!-- Needed to use components [CollisionResponse] -->
<RequiredPlugin name="Sofa.Component.Constraint.Projective"/> <!-- Needed to use components [FixedConstraint] -->
Expand All @@ -14,7 +14,7 @@
<RequiredPlugin name="Sofa.Component.Topology.Container.Dynamic"/> <!-- Needed to use components [TetrahedronSetGeometryAlgorithms, TetrahedronSetTopologyContainer, TetrahedronSetTopologyModifier] -->
<RequiredPlugin name="Sofa.Component.Visual"/> <!-- Needed to use components [VisualStyle] -->
</Node>
<DefaultPipeline verbose="0" name="CollisionPipeline"/>
<CollisionPipeline verbose="0" name="CollisionPipeline"/>
<BruteForceBroadPhase/>
<BVHNarrowPhase/>
<CollisionResponse response="PenalityContactForceField" name="collision response"/>
Expand Down
4 changes: 2 additions & 2 deletions examples/Tri2edgeManiMapping.scn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Node name="root" gravity="0 -9 1" dt="0.05" showBehaviorModels="1" showCollisionModels="0" showMappings="0" showForceFields="0" >
<Node name="RequiredPlugins">
<RequiredPlugin name="ManifoldTopologies"/> <!-- Needed to use components [ManifoldEdgeSetGeometryAlgorithms, ManifoldEdgeSetTopologyContainer, ManifoldEdgeSetTopologyModifier, ManifoldTriangleSetTopologyContainer, ManifoldTriangleSetTopologyModifier] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Algorithm"/> <!-- Needed to use components [BVHNarrowPhase, BruteForceBroadPhase, DefaultPipeline] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Algorithm"/> <!-- Needed to use components [BVHNarrowPhase, BruteForceBroadPhase, CollisionPipeline] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Intersection"/> <!-- Needed to use components [MinProximityIntersection] -->
<RequiredPlugin name="Sofa.Component.Collision.Geometry"/> <!-- Needed to use components [TriangleCollisionModel] -->
<RequiredPlugin name="Sofa.Component.Collision.Response.Contact"/> <!-- Needed to use components [CollisionResponse] -->
Expand All @@ -20,7 +20,7 @@
<RequiredPlugin name="Sofa.Component.Visual"/> <!-- Needed to use components [VisualStyle] -->
<RequiredPlugin name="Sofa.GL.Component.Rendering3D"/> <!-- Needed to use components [OglModel] -->
</Node>
<DefaultPipeline name="default141" verbose="0"/>
<CollisionPipeline name="default141" verbose="0"/>
<BruteForceBroadPhase/>
<BVHNarrowPhase/>
<CollisionResponse name="default142" response="PenalityContactForceField"/>
Expand Down
4 changes: 2 additions & 2 deletions examples/Tri2edgeMapping.scn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Node name="root" gravity="0 -9 1" dt="0.05" showBehaviorModels="1" showCollisionModels="0" showMappings="0" showForceFields="0" >
<Node name="RequiredPlugins">
<RequiredPlugin name="Sofa.Component.Collision.Detection.Algorithm"/> <!-- Needed to use components [BVHNarrowPhase, BruteForceBroadPhase, DefaultPipeline] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Algorithm"/> <!-- Needed to use components [BVHNarrowPhase, BruteForceBroadPhase, CollisionPipeline] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Intersection"/> <!-- Needed to use components [MinProximityIntersection] -->
<RequiredPlugin name="Sofa.Component.Collision.Geometry"/> <!-- Needed to use components [TriangleCollisionModel] -->
<RequiredPlugin name="Sofa.Component.Collision.Response.Contact"/> <!-- Needed to use components [CollisionResponse] -->
Expand All @@ -19,7 +19,7 @@
<RequiredPlugin name="Sofa.Component.Visual"/> <!-- Needed to use components [VisualStyle] -->
<RequiredPlugin name="Sofa.GL.Component.Rendering3D"/> <!-- Needed to use components [OglModel] -->
</Node>
<DefaultPipeline name="default0" verbose="0"/>
<CollisionPipeline name="default0" verbose="0"/>
<BruteForceBroadPhase/>
<BVHNarrowPhase/>
<CollisionResponse name="default1" response="PenalityContactForceField"/>
Expand Down
4 changes: 2 additions & 2 deletions examples/mamailleMani.scn
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Node name="root" dt="0.05" gravity="0 0 0">
<Node name="RequiredPlugins">
<RequiredPlugin name="ManifoldTopologies"/> <!-- Needed to use components [ManifoldTriangleSetTopologyContainer, ManifoldTriangleSetTopologyModifier] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Algorithm"/> <!-- Needed to use components [BVHNarrowPhase, BruteForceBroadPhase, DefaultPipeline] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Algorithm"/> <!-- Needed to use components [BVHNarrowPhase, BruteForceBroadPhase, CollisionPipeline] -->
<RequiredPlugin name="Sofa.Component.Collision.Detection.Intersection"/> <!-- Needed to use components [MinProximityIntersection] -->
<RequiredPlugin name="Sofa.Component.Collision.Geometry"/> <!-- Needed to use components [TriangleCollisionModel] -->
<RequiredPlugin name="Sofa.Component.Collision.Response.Contact"/> <!-- Needed to use components [CollisionResponse] -->
Expand All @@ -21,7 +21,7 @@
<RequiredPlugin name="Sofa.GL.Component.Rendering3D"/> <!-- Needed to use components [OglModel] -->
</Node>
<VisualStyle displayFlags="showBehaviorModels hideCollisionModels hideMappings hideForceFields"/>
<DefaultPipeline verbose="0" />
<CollisionPipeline verbose="0" />
<BruteForceBroadPhase/>
<BVHNarrowPhase/>
<CollisionResponse response="PenalityContactForceField" />
Expand Down

0 comments on commit 1934346

Please sign in to comment.