The Bounding Mesh Algorithm

Andre Gaschler, Quirin Fischer, Alois KnollmediaTUM 2015

Abstract

We present an algorithm to generate a one-sided approximation of a given triangular mesh. We refer to such an approximate mesh as a bounding mesh, which includes the original mesh and has fewer vertices. Likewise, an inner bounding mesh is defined as an approximate mesh that is included by a given mesh. Our proposed bounding mesh algorithm performs iterative edge contractions and can generate both types of approximation. Contrary to regular, two-sided mesh approximation, which is a well studied subject in computer graphics, our algorithm is novel and one of a handful approaches to one-sided mesh approximation. While we are the first to apply bounding meshes to safe collision detection, path planning, and robot motion planning, applications range further to computer geometry and computer graphics. The bounding mesh algorithm helps pre-processing complex geometries and increases the efficiency of existing geometric algorithms, especially those that search in a bounding volume hierarchy. It can speed up search, intersection and inclusion detection, as well as silhouette, clipping, and other operations, acting as an intermediate level of approximation between coarser bounding boxes or bounding spheres and the exact mesh. Furthermore, the bounding mesh algorithm combines well with approximate convex decomposition to generate a bounding set of convexes with very few vertices, which is an efficient data structure for intersection, distance and normal computation, as well as other geometric operations.

Introduction

In robotics and computer graphics, real-time performance often necessitates a trade-off with geometric accuracy. For instance, a robot navigating a cluttered environment must perform instantaneous collision checks. While high-resolution 3D models provide accuracy, they are computationally prohibitive for real-time path planning. Conversely, standard mesh simplification techniques often produce "two-sided" approximations that deviate both inside and outside the original surface. In safety-critical applications, a simplified model that is even slightly smaller than the physical robot could lead to catastrophic collisions.

To address this, researchers at the Technische Universität München (TUM) developed the Bounding Mesh Algorithm. This method generates tight, one-sided approximations—either an "outer bound" that completely encloses the original mesh or an "inner bound" contained within it. These bounding meshes serve as conservative, mathematically safe wrappers that are significantly more efficient than the original high-resolution geometry.

Methodology

The core of the algorithm is based on iterative edge contraction, a standard decimation technique where edges are collapsed into single vertices to reduce triangle counts. The novelty lies in two specific enhancements:

  1. Constrained Minimization: Unlike standard methods that place new vertices at the average position of collapsed endpoints, this algorithm utilizes quadratic programming. It ensures that every new vertex is positioned strictly outside (for outer bounds) or inside (for inner bounds) the planes of the original mesh.
  2. Enhanced Quadric Error Metric (QEM): Traditional QEM can underestimate distances at sharp angles. The authors introduced a "normal plane" or "bevel" term to the error matrix. This modification ensures the cost function accurately reflects the Hausdorff distance—the maximum distance between the original and simplified surfaces—preventing the simplified mesh from deviating excessively from the original shape.

The algorithm also integrates with Approximate Convex Decomposition. By simplifying a mesh before decomposing it into convex hulls, it creates a data structure optimized for the GJK (Gilbert-Johnson-Keerthi) algorithm, which is widely used in modern collision engines.

Results and Evaluation

The algorithm was evaluated using industrial robot components and standard benchmarks like the Stanford Bunny. A key finding is the algorithm's efficiency, achieving approximately $10^5$ edge decimations per second on standard hardware.

Intermediate simplification of a robot arm component with 2,221 vertices.

The results demonstrate that meshes can be drastically simplified while maintaining their functional utility as safe bounding volumes. For example, a robot arm geometry with over 9,000 vertices can be reduced to just 220 vertices while still clearly resembling the original part and providing a tight safety margin.

Drastic simplification of the same robot arm component to 220 vertices, suitable for high-speed collision detection.

By adjusting an error threshold ($\epsilon$), users can control the balance between the "safety margin" (Hausdorff distance) and computational speed, allowing for fine-tuned performance in various robotic applications.

Conclusion

The Bounding Mesh Algorithm provides a robust solution for generating safe, one-sided geometric approximations. By focusing on Hausdorff distance rather than just volume minimization, it produces tighter and more geometrically faithful simplifications than previous progressive hull methods. While the current focus is on outer bounding meshes for collision avoidance, the framework is equally applicable to inner bounding meshes for inclusion queries. Future work includes expanding these applications and releasing the implementation as an open-source tool for the robotics community.

Summary updated

BibTeX
@inproceedings{gaschler2015bounding,
  author = {Andre Gaschler and Quirin Fischer and Alois Knoll},
  title = {{The Bounding Mesh Algorithm}},
  booktitle = {mediaTUM},
  year = {2015},
}
Figure