Integer-grid maps for reliable quad meshing

David Bommes, Marcel Campen, Hans-Christian Ebke, Pierre Alliez, Leif KobbeltACM Trans. Graphics 2013 · DOI · OpenReview

Introduction

Quad meshing—the process of converting a triangle mesh into a grid of four-sided polygons—is essential for computer animation and numerical simulations. The most successful modern approach involves "global parametrization," where a 3D surface is mathematically "unrolled" onto a 2D plane. If you imagine the 2D plane as a sheet of graph paper, the grid lines on that paper are mapped back onto the 3D surface to form the quads.

However, this process is notoriously fragile. To get a valid mesh, the "graph paper" must align perfectly across cuts in the surface, and the mapping must not "fold" or "flip" any triangles. On complex or coarse geometries, standard algorithms often produce "degenerate" maps where triangles overlap or grid lines don't meet. This leaves the user with a broken mesh that requires manual repair—a dealbreaker for automated pipelines.

Degenerate faces (red/black) in a standard parametrization of the Botijo model, illustrating the fragility of prior methods.

The Integer-Grid Map (IGM) Framework

Presented at SIGGRAPH 2013, the authors propose the Integer-Grid Map (IGM) framework. Their core contribution is turning the search for a valid map into a solvable optimization problem using several key innovations:

  • Convex Mixed-Integer Quadratic Programming (MIQP): They define the requirements for a valid quad mesh (integer coordinates for singularities, consistent orientation, and specific transition functions) as a set of linear constraints and an objective function.
  • Convex Orientation Constraints: Preventing triangle "flips" is usually a non-convex (and thus very hard) problem. The authors use a clever geometric trick involving "Fermat points" to create a convex approximation. This ensures that as long as the solver finds a solution, the triangles are guaranteed to be oriented correctly.
  • Complexity Reduction: Solving MIQPs is computationally expensive (NP-hard). The authors perform an aggressive decimation in "flat parametric space," reducing the problem size by orders of magnitude without losing the geometric essence of the original surface.
  • Singularity Separation: They add "cuts" to the optimization that prevent singularities from clustering too closely. This "pushes" the solver toward valid integer solutions much faster.

Key Results and Reliability

The authors evaluated their algorithm on a variety of standard and challenging 3D models, including the complex "Botijo" jug and a "Random Sphere" torture test with 254 vertices at random locations.

A clean, valid quad mesh of the Botijo model generated by the IGM framework, showing zero degenerate faces.
  • Reliability: On the "RockerArm" model, previous methods produced between 8 and 2,000 degenerate faces. The proposed method produced zero degenerate faces across all tests.
  • Speed: For the "Botijo" model, a naive MIQP solver couldn't find a solution in 8 hours. With the authors' complexity reduction and singularity separation, the problem was solved in just 17 seconds.
  • Robustness: The algorithm successfully generated a valid quad mesh for the "Random Sphere" test in under 60 seconds, a feat nearly impossible for prior heuristic-based methods.

Conclusion and Future Work

This is the first parametrization-based approach that works equally well for high-resolution remeshing and very coarse "quad layouts," providing a unified tool for different stages of the production pipeline. While the quality of the final mesh still depends on the input "cross-field" (the guide for quad orientation), the IGM framework provides a guarantee of validity that was previously missing. The authors suggest that this approach could be extended to "Hex Meshing" (filling 3D volumes with cubes), which remains one of the "holy grails" of computational geometry.

Summary updated

Abstract

Quadrilateral remeshing approaches based on global parametrization enable many desirable mesh properties. Two of the most important ones are (1) high regularity due to explicit control over irregular vertices and (2) smooth distribution of distortion achieved by convex variational formulations. Apart from these strengths, state-of-the-art techniques suffer from limited reliability on real-world input data, i.e. the determined map might have degeneracies like (local) non-injectivities and consequently often cannot be used directly to generate a quadrilateral mesh. In this paper we propose a novel convex Mixed-Integer Quadratic Programming (MIQP) formulation which ensures by construction that the resulting map is within the class of so called Integer-Grid Maps that are guaranteed to imply a quad mesh. In order to overcome the NP-hardness of MIQP and to be able to remesh typical input geometries in acceptable time we propose two additional problem specific optimizations: a complexity reduction algorithm and singularity separating conditions. While the former decouples the dimension of the MIQP search space from the input complexity of the triangle mesh and thus is able to dramatically speed up the computation without inducing inaccuracies, the latter improves the continuous relaxation, which is crucial for the success of modern MIQP optimizers. Our experiments show that the reliability of the resulting algorithm does not only annihilate the main drawback of parametrization based quad-remeshing but moreover enables the global search for high-quality coarse quad layouts - a difficult task solely tackled by greedy methodologies before.
BibTeX
@article{bommes2013integer,
  author = {David Bommes and Marcel Campen and Hans-Christian Ebke and Pierre Alliez and Leif Kobbelt},
  title = {{Integer-grid maps for reliable quad meshing}},
  journal = {ACM Trans. Graphics},
  year = {2013},
  doi = {10.1145/2461912.2462014},
}
Figure