Efficient Penetration Depth Computation Between Rigid Models Using Contact Space Propagation Sampling

Liang He, Jia Pan, Danwei Li, Dinesh Manocha

TL;DR

This paper introduces a high-performance method for calculating Penetration Depth (PD)—the minimum distance needed to separate two colliding 3D objects. By using a novel "propagation sampling" technique to map out the contact space between objects offline, the authors achieve run-time query speeds of just a few milliseconds with significantly higher accuracy than previous state-of-the-art global and local methods.

What Problem Does This Paper Address?

In robotics, haptics, and physics simulations, knowing that two objects have collided isn't enough; you often need to know how deeply they have intersected to calculate realistic bounce-back forces or plan a path to safety. This "how deeply" is the Penetration Depth (PD).

Calculating the exact PD for complex, non-convex 3D models (like a gear or a dragon statue) is computationally brutal, with worst-case time complexities reaching $O(m^6n^6)$. Existing solutions usually fall into two traps:

  1. Local methods: Fast but "greedy," often getting stuck in local minima and providing wildly inaccurate results for complex shapes.
  2. Global methods: More robust but either too slow for real-time use or too "smooth," failing to capture the sharp features of complex geometry.

Methods

The authors propose a two-phase approach: Offline Precomputation and Run-time Queries.

1. Contact Space Propagation Sampling (The "Secret Sauce")

Instead of randomly guessing points in space to see if they lie on the boundary where two objects just touch (the "contact space"), the authors use a "sliding" strategy:

  • Seed Sampling: They find an initial contact point using expensive Continuous Collision Detection (CCD).
  • Propagation: From that seed, they "slide" one object over the surface of the other in a breadth-first manner.
  • Handling "Bumpy" Surfaces: If the sliding motion causes the objects to interpenetrate (an "internal configuration"), the algorithm calculates a "critical configuration"—the exact moment the objects hit a new feature—and resumes sliding from there.
  • Efficiency: This method is much faster than pure random sampling because it uses cheap Discrete Collision Detection (DCD) for most steps, amortizing the cost of the initial expensive CCD query.

2. Run-time Query

When a simulation asks for the PD of a specific collision:

  • The system performs a nearest-neighbor search against the precomputed samples.
  • It then performs a local projection and a quick linear search to refine the distance, ensuring the result is both fast and precise.

Datasets

The authors evaluated their algorithm on seven diverse 3D benchmarks ranging from simple to highly complex:

  • Donut: 576 triangles (simple geometry).
  • CAD1 & CAD2: ~10K–12K triangles (mechanical parts with sharp features).
  • Teeth: ~40K triangles (organic, irregular surfaces).
  • Dragon: ~230K triangles (high-resolution detail).
  • Buddha: 1 million triangles (extreme complexity).

Key Insights and Ideas

  • Manifold Awareness: The core "aha moment" is that the contact space is a manifold. By "sliding" along the surface rather than jumping around randomly, the algorithm stays on the manifold, ensuring every sample generated is useful.
  • Amortized Complexity: By generating many "propagate-samples" from a single "random-sample," the high cost of finding the first contact point is spread across thousands of data points.
  • Feature-Preserving: Unlike methods that use Support Vector Machines (SVMs) to approximate the contact space (which tends to "smooth out" sharp corners), this sampling approach captures the jagged, high-frequency details of complex meshes.

Key Results

  • Accuracy: The method achieves an error rate of approximately 5% relative to the ground truth. For comparison, previous "Active Learning" methods showed 15-20% error, and local optimization methods were off by 10% or more.
  • Speed: Run-time queries take between 0.8ms and 1.3ms across all models, including the 1-million-triangle Buddha. This is fast enough for high-frequency haptic feedback loops (which require <1ms latency).
  • Convergence: The sampling algorithm converges to a high-quality approximation after roughly 10 million samples, which takes about 10–12 minutes of offline precomputation.

Limitations and Future Work

  • Narrow Passages: If the contact space has extremely narrow or disconnected components, the propagation "slider" might miss them, potentially affecting accuracy in very specific configurations.
  • Rigid Body Only: The current formulation relies on precomputing the contact space for a specific pair of shapes. If the objects deform (like soft tissue), the precomputed data becomes invalid.
  • Future Directions: The authors suggest integrating this method into active motion planning and exploring the use of local surface curvature to choose even better propagation directions.

Summary updated

BibTeX
@article{he2016efficient,
  author = {Liang He and Jia Pan and Danwei Li and Dinesh Manocha},
  title = {{Efficient Penetration Depth Computation Between Rigid Models Using Contact Space Propagation Sampling}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2016},
  doi = {10.1109/lra.2015.2502919},
}
Figure