Continuous collision detection for composite quadric models

Yi-King Choi, Wenping Wang, Bernard Mourrain, Changhe Tu, Xiaohong Jia, Feng Sun

TL;DR

This paper introduces a framework for exact and efficient Continuous Collision Detection (CCD) between moving objects modeled by piecewise quadric surfaces (Composite Quadric Models). By decomposing complex 3D shapes into a hierarchy of boundary element pairs and leveraging algebraic methods like quadric pencils and dimension reduction, the authors compute the precise instant and location of first contact without the geometric errors inherent in traditional triangle-mesh approximations.

What Problem Does This Paper Address?

In fields like robotics, CAD/CAM, and computer animation, detecting collisions is critical. Most current systems simplify complex curved objects into thousands of tiny flat triangles (linear approximation). While easy to process, this approach introduces geometric errors and requires massive storage for high-precision models.

Furthermore, most systems perform "discrete" detection—checking for overlaps at specific time steps—which can miss collisions if objects are moving fast (the "tunneling" problem). Continuous Collision Detection (CCD) solves this by treating time as a continuous variable to find the exact moment of impact. However, performing CCD on curved "quadric" surfaces (spheres, ellipsoids, cylinders, cones) is mathematically difficult because their boundaries are complex semi-algebraic varieties. This paper specifically tackles the challenge of performing exact CCD for "Composite Quadric Models" (CQMs) where the boundary edges are restricted to straight lines or conic sections.

Methods

The authors propose a "divide and conquer" framework that breaks the global collision problem into manageable subproblems:

  1. Decomposition into Extended Boundary Elements: Instead of checking the bounded patches directly, the algorithm considers the "extended" versions (e.g., the infinite cylinder or the full plane containing a face).
  2. Case Classification: The authors identify 11 distinct types of interactions (e.g., Quadric vs. Quadric, Plane vs. Conic, Line vs. Line).
  3. Algebraic Formulations:
    • Quadric Pencils: For the most complex case (two quadrics), they use the characteristic polynomial of the quadric pencil $f(\lambda) = \det(\lambda A - B)$. By analyzing the Segre characteristic and signature sequences of the roots, they can distinguish between true contact (tangency) and local intersection.
  4. Dimension Reduction: A key innovation is reducing 3D problems to lower dimensions. For example, checking two conics in 3D is reduced to a 1D problem by analyzing their intersection with the line where their supporting planes meet.
  5. Contact Validation: Since they use extended elements, a detected "collision" might occur outside the actual bounds of the object. The authors use Constructive Solid Geometry (CSG) logic and Boolean predicates to verify if the contact point lies on the actual surface of both CQMs.

Datasets

As a theoretical and algorithmic contribution in computational geometry, the paper does not use standard machine learning datasets. Instead, it evaluates the framework using synthetic, high-fidelity models designed to test specific edge cases:

  • Capped Elliptic Cylinders: Used to demonstrate the interaction between cylinders, planes, and ellipses.
  • Complex CQMs: A custom-designed benchmark involving objects with up to 45 boundary elements (cylinders, planes, circles, lines, and vertices) undergoing complex affine and rotational motions.

Key Insights and Ideas

  • Exactness over Approximation: By solving the underlying algebraic equations rather than densifying a mesh, the method maintains perfect geometric fidelity.
  • The Power of the Pencil: The use of the quadric pencil allows the authors to detect "morphological changes" in the intersection curve. A collision is essentially the moment the topology of the intersection between two surfaces changes.
  • Hierarchy of Primitives: The paper proves that you only need to solve four basic contact types—(Face, Face), (Face, Edge), (Face, Vertex), and (Edge, Edge)—to capture all possible collisions between CQMs.
  • Efficiency via Reduction: Reducing 3D CCD to 1D root-finding on a line (Case VII) significantly lowers the computational overhead compared to general 3D intersection solvers.

Key Results

  • Precision: The method computes the first contact time and point with high numerical precision (using 15 significant digits in the implementation).
  • Performance:
    • For two moving capped cylinders (17 subproblems), the algorithm found the first contact in 0.12 seconds on a 2.40-GHz CPU.
  • For a much more complex scenario involving 366 subproblems between two highly detailed CQMs, the total computation time was approximately 5 seconds.
  • Robustness: The framework successfully handles both Euclidean (rigid) and Affine (deforming/scaling) motions.

Limitations and Future Work

  • Edge Constraints: The current framework is limited to CQMs where boundary edges are only lines or conics. In general quadric-quadric intersections, the boundary edge is a degree-4 curve (a "quartic"), which is significantly harder to parameterize and solve for CCD.
  • Numerical Stability: While the algebraic formulations are exact, solving high-degree polynomials numerically can introduce stability issues, especially during high-speed or complex rotational motions.
  • Scaling: While 5 seconds is fast for exact geometry, it is not yet "real-time" for complex scenes with hundreds of objects. Future work could involve integrating bounding volume hierarchies (BVHs) to prune the number of subproblems before applying the algebraic solver.

Summary updated

BibTeX
@article{choi2014continuous,
  author = {Yi-King Choi and Wenping Wang and Bernard Mourrain and Changhe Tu and Xiaohong Jia and Feng Sun},
  title = {{Continuous collision detection for composite quadric models}},
  journal = {Graph. Model.},
  year = {2014},
  doi = {10.1016/j.gmod.2014.03.005},
}
Figure