AlgoHex: Algorithmic Hexahedral Mesh Generation
Logos of University of Bern, EU, European Research Council
  • Home
  • News
  • Team
  • Code
  • Publications
  • HexHex: Highspeed Extraction of Hexahedral Meshes

    ACM Transactions on Graphics (SIGGRAPH 2025)
    Tobias Luc Kohler, Martin Heistermann, David Bommes
    • Project page
    • Abstract
    • BibTeX

    Modern hexahedral mesh generation relies on integer-grid maps (IGM), which map the Cartesian grid of integer iso-surfaces to a structure-aligned and conforming hexahedral cell complex discretizing the target shape. The hexahedral mesh is formed by iso-surfaces of the map such that an extraction algorithm is needed to convert the implicit map representation into an explicit mesh. State-of-the-art algorithms have been designed with two goals in mind, i.e., (i) unconditional robustness and (ii) tolerance to map defects in the form of inverted or degenerate tetrahedra. Because of significant advancements in the generation of locally injective maps, the tolerance to map defects has become irrelevant. At the same time, there is a growing demand for efficiently handling significantly larger mesh complexities, unfortunately not well served by the state-of-the-art since the tolerance to map defects induces a high runtime cost. Consequently, we present HexHex, a novel (unconditionally robust) hexahedral mesh extraction algorithm for locally injective integer-grid maps designed for maximal performance and scalability. Key contributions include a novel and highly compact mesh data structure based on so-called propellers and a conservative rasterization technique, significantly reducing the number of required exact predicate tests. HexHex not only offers lower asymptotic runtime complexities from a theoretical perspective but also lower constants, enabling in practice a 30x speedup for medium-sized examples and a larger speedup for more complex inputs, specifically when the hex-to-tet ratio is large. We provide a C++ reference implementation, supporting multi-core parallelization and the extraction of curved (piecewise-linear) hexahedral mesh edges and faces, e.g., valuable for subsequent higher-order mesh generation.

    @article{Kohler:2025:hexhex,
      author = {Kohler, Tobias and Heistermann, Martin and Bommes, David},
      title = {{HexHex: Highspeed Extraction of Hexahedral Meshes}},
      journal = {ACM Transactions on Graphics},
      volume = {44},
      number = {4},
      year = {2025},
      publisher = {ACM},
      address = {New York, NY, USA},
      doi = {10.1145/3730940}
    }
  • A Progressive Embedding Approach to Bijective Tetrahedral Maps driven by Cluster Mesh Topology

    ACM Transactions on Graphics (SIGGRAPH ASIA 2024)
    Valentin Z. Nigolian, Marcel Campen, David Bommes
    • Project page
    • Abstract
    • BibTeX

    We present a novel algorithm to map ball-topology tetrahedral meshes onto star-shaped domains with guarantees regarding bijectivity. Our algorithm is based on the recently introduced idea of Shrink-and-Expand, where images of interior vertices are initially clustered at one point (Shrink-), before being sequentially moved to non-degenerate positions yielding a bijective map (-and-Expand). In this context, we introduce the concept of the cluster mesh, i.e. the unexpanded interior mesh consisting of geometrically degenerate simplices. Using local, per-vertex connectivity information solely from the cluster mesh, we show that a viable expansion sequence guaranteed to produce a bijective map can always be found as long as the mesh is shellable. In addition to robustness guarantees for this ubiquitous class of inputs, other practically relevant benefits include improved parsimony and reduced algorithmic complexity. While inheriting some of the worst-case high run time requirements of the state of the art, significant acceleration for the average case is experimentally demonstrated.

    @article{Nigolian:2024:cluster_mesh_SAE,
      author = {Nigolian, Valentin Z. and Campen, Marcel and Bommes, David},
      title = {A Progressive Embedding Approach to Bijective Tetrahedral Maps driven by Cluster Mesh Topology},
      journal = {ACM Transactions on Graphics},
      volume = {43},
      number = {6},
      year = {2024},
      publisher = {ACM},
      address = {New York, NY, USA},
      doi = {10.1145/3687992}
    }
  • Integer-Sheet-Pump Quantization for Hexahedral Meshing

    SGP24: Eurographics Symposium on Geometry Processing
    Hendrik Brückler, David Bommes, Marcel Campen
    • Project page
    • Abstract
    • BibTeX

    Several state-of-the-art algorithms for semi-structured hexahedral meshing involve a so called quantization step to decide on the integer DoFs of the meshing problem, corresponding to the number of hexahedral elements to embed into certain regions of the domain. Existing reliable methods for quantization are based on solving a sequence of integer quadratic programs (IQP). Solving these in a timely and predictable manner with general-purpose solvers is a challenge, even more so in the open-source field. We present here an alternative robust and efficient quantization scheme that is instead based on solving a series of continuous linear programs (LP), for which solver availability and efficiency are not an issue. In our formulation, such LPs are used to determine where inflation or deflation of virtual hexahedral sheets are favorable. We compare our method to two implementations of the former IQP formulation (using a commercial and an open-source MIP solver, respectively), finding that (a) the solutions found by our method are near-optimal or optimal in most cases, (b) these solutions are found within a much more predictable time frame, and (c) the state of the art run time is outperformed, in the case of using the open-source solver by orders of magnitude.

    @article{10.1111:cgf.15131,
        journal = {Computer Graphics Forum},
        title = {{Integer-Sheet-Pump Quantization for Hexahedral Meshing}},
        author = {Brückler, Hendrik and Bommes, David and Campen, Marcel},
        year = {2024},
        publisher = {The Eurographics Association and John Wiley & Sons Ltd.},
        ISSN = {1467-8659},
        DOI = {10.1111/cgf.15131}
    }
  • Quad Mesh Quantization Without a T-Mesh

    Computer Graphics Forum
    Yoann Coudert-Osmont, David Desobry, Martin Heistermann, David Bommes, Nicolas Ray, Dmitry Sokolov
    • Project page
    • Abstract
    • BibTeX

    Grid preserving maps of triangulated surfaces were introduced for quad meshing because the 2D unit grid in such maps corresponds to a sub-division of the surface into quad-shaped charts. These maps can be obtained by solving a mixed integer optimization problem: Real variables define the geometry of the charts and integer variables define the combinatorial structure of the decomposition. To make this optimization problem tractable, a common strategy is to ignore integer constraints at first, then to enforce them in a so-called quantization step. Actual quantization algorithms exploit the geometric interpretation of integer variables to solve an equivalent problem: They consider that the final quad mesh is a sub-division of a T-mesh embedded in the surface, and optimize the number of sub-divisions for each edge of this T-mesh. We propose to operate on a decimated version of the original surface instead of the T-mesh. It is easier to implement and to adapt to constraints such as free boundaries, complex feature curves network etc.

    @article{quantization-without-tmesh,
        author = {Coudert-Osmont, Yoann and Desobry, David and Heistermann, Martin and Bommes, David and Ray, Nicolas and Sokolov, Dmitry},
        title = {Quad Mesh Quantization Without a T-Mesh},
        journal = {Computer Graphics Forum},
        doi = {https://doi.org/10.1111/cgf.14928},
    }
    
  • Expansion Cones: A Progressive Volumetric Mapping Framework

    ACM Transactions on Graphics (SIGGRAPH 2023)
    Valentin Z. Nigolian, Marcel Campen, David Bommes
    • Project page
    • Abstract
    • BibTeX

    Volumetric mapping is a ubiquitous and difficult problem in Geometry Processing and has been the subject of research in numerous and various directions. While several methods show encouraging results, the field still lacks a general approach with guarantees regarding map bijectivity. Through this work, we aim at opening the door to a new family of methods by providing a novel framework based on the concept of progressive expansion. Starting from an initial map of a tetrahedral mesh whose image may contain degeneracies but no inversions, we incrementally adjust vertex images to expand degenerate elements. By restricting movement to so-called expansion cones, it is done in such a way that the number of degenerate elements decreases in a strictly monotonic manner, without ever introducing any inversion. Adaptive local refinement of the mesh is performed to facilitate this process. We describe a prototype algorithm in the realm of this framework for the computation of maps from ball-topology tetrahedral meshes to convex or star-shaped domains. This algorithm is evaluated and compared to state-of-the-art methods, demonstrating its benefits in terms of bijectivity. We also discuss the associated cost in terms of sometimes significant mesh refinement to obtain the necessary degrees of freedom required for establishing a valid mapping. Our conclusions include that while this algorithm is only of limited immediate practical utility due to efficiency concerns, the general framework has the potential to inspire a range of novel methods improving on the efficiency aspect.

    @article{Nigolian:2023:SchrEx,
      author = {Nigolian, Valentin Z. and Campen, Marcel and Bommes, David},
      title = {Expansion Cones: A Progressive Volumetric Mapping Framework},
      journal = {ACM Transactions on Graphics},
      volume = {42},
      number = {4},
      year = {2023},
      publisher = {ACM},
      address = {New York, NY, USA},
      doi = {10.1145/3592421}
    }
  • Locally Meshable Frame Fields

    ACM Transactions on Graphics (SIGGRAPH 2023)
    Heng Liu, David Bommes
    • Project page
    • Abstract
    • BibTeX

    The main robustness issue of state-of-the-art frame field based hexahedral mesh generation algorithms originates from non-meshable topological configurations, which do not admit the construction of an integer-grid map but frequently occur in smooth frame fields. In this article, we investigate the topology of frame fields and derive conditions on their meshability, which are the basis for a novel algorithm to automatically turn a given non-meshable frame field into a similar but locally meshable one. Despite local meshability is only a necessary but not sufficient condition for the stronger requirement of meshability, our algorithm increases the 2% success rate of generating valid integer-grid maps with state-of-the-art methods to 58%, when compared on the challenging HexMe dataset [Beaufort et al. 2022]. The source code of our implementation and the data of our experiments are available at https://lib.algohex.eu.

    @article{Liu:2023:locallymeshable,
      author = {Liu, Heng and Bommes, David},
      title = {Locally Meshable Frame Fields},
      journal = {ACM Transactions on Graphics},
      volume = {42},
      number = {4},
      year = {2023},
      publisher = {ACM},
      address = {New York, NY, USA},
      doi={10.1145/3592457}
    }
  • Min-Deviation-Flow in Bi-directed Graphs for T-Mesh Quantization

    ACM Transactions on Graphics (SIGGRAPH 2023)
    Martin Heistermann, Jethro Warnett, David Bommes
    • Project page
    • Abstract
    • BibTeX

    Subdividing non-conforming T-mesh layouts into conforming quadrangular meshes is a core component of state-of-the-art (re-)meshing methods. Typically, the required constrained assignment of integer lengths to T-Mesh edges is left to generic branch-and-cut solvers, greedy heuristics, or a combination of the two. This either does not scale well with input complexity or delivers suboptimal result quality. We introduce the Minimum-Deviation-Flow Problem in bi-directed networks (Bi-MDF) and demonstrate its use in modeling and efficiently solving a variety of T-Mesh quantization problems. We develop a fast approximate solver as well as an iterative refinement algorithm based on graph matching that solves Bi-MDF exactly. Compared to the state-of-the-art QuadWild implementation on the authors' 300 dataset, our exact solver finishes after only 0.49% (total 17.06s) of their runtime (3491s) and achieves 11% lower energy while an approximation is computed after 0.09% (3.19s) of their runtime at the cost of 24% increased energy. A novel half-arc-based T-Mesh quantization formulation extends the feasible solution space to include previously unattainable quad meshes. The Bi-MDF problem is more general than our application in layout quantization, potentially enabling similar speedups for other optimization problems that fit into the scheme, such as quad mesh refinement.

    @article{Heistermann:2023:BiMDF,
      author = {Heistermann, Martin and Warnett, Jethro and Bommes, David},
      title = {Min-Deviation-Flow in Bi-directed Graphs for T-Mesh Quantization},
      journal = {ACM Transactions on Graphics},
      volume = {42},
      number = {4},
      year = {2023},
      publisher = {ACM},
      address = {New York, NY, USA},
      doi = {10.1145/3592437}
    }
  • Hex-Mesh Generation and Processing: a Survey

    ACM Transactions on Graphics
    Nico Pietroni, Marcel Campen, Alla Sheffer, Gianmarco Cherchi, David Bommes, Xifeng Gao, Riccardo Scateni, Franck Ledoux, Jean-François Remacle, Marco Livesu
    • Project page
    • Abstract
    • BibTeX

    In this article, we provide a detailed survey of techniques for hexahedral mesh generation. We cover the whole spectrum of alternative approaches to mesh generation, as well as post processing algorithms for connectivity editing and mesh optimization. For each technique, we highlight capabilities and limitations, also pointing out the associated unsolved challenges. Recent relaxed approaches, aiming to generate not pure-hex but hex-dominant meshes, are also discussed. The required background, pertaining to geometrical as well as combinatorial aspects, is introduced along the way.

    @article{10.1145/3528223.3530123,
    author = {Br\"{u}ckler, Hendrik and Bommes, David and Campen, Marcel},
    title = {Volume Parametrization Quantization for Hexahedral Meshing},
    year = {2022},
    issue_date = {July 2022},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    volume = {41},
    number = {4},
    issn = {0730-0301},
    url = {https://doi.org/10.1145/3528223.3530123},
    doi = {10.1145/3528223.3530123},
    abstract = {Developments in the field of parametrization-based quad mesh generation on surfaces have been impactful over the past decade. In this context, an important advance has been the replacement of error-prone rounding in the generation of integer-grid maps, by robust quantization methods. In parallel, parametrization-based hex mesh generation for volumes has been advanced. In this volumetric context, however, the state-of-the-art still relies on fragile rounding, not rarely producing defective meshes, especially when targeting a coarse mesh resolution. We present a method to robustly quantize volume parametrizations, i.e., to determine guaranteed valid choices of integers for 3D integer-grid maps. Inspired by the 2D case, we base our construction on a non-conforming cell decomposition of the volume, a 3D analogue of a T-mesh. In particular, we leverage the motorcycle complex, a recent generalization of the motorcycle graph, for this purpose. Integer values are expressed in a differential manner on the edges of this complex, enabling the efficient formulation of the conditions required to strictly prevent forcing the map into degeneration. Applying our method in the context of hexahedral meshing, we demonstrate that hexahedral meshes can be generated with significantly improved flexibility.},
    journal = {ACM Trans. Graph.},
    month = {jul},
    articleno = {60},
    numpages = {19},
    keywords = {hexahedral mesh, base complex, block decomposition, multi-block, t-mesh, block-structured, volume mesh}
    }
  • Volume Parametrization Quantization for Hexahedral Meshing

    ACM Transactions on Graphics (SIGGRAPH 2022)
    Hendrik Brückler, David Bommes, Marcel Campen
    • Project page
    • Abstract
    • BibTeX

    Developments in the field of parametrization-based quad mesh generation on surfaces have been impactful over the past decade. In this context, an important advance has been the replacement of error-prone rounding in the generation of integer-grid maps, by robust quantization methods. In parallel, parametrization-based hex mesh generation for volumes has been advanced. In this volumetric context, however, the state-of-the-art still relies on fragile rounding, not rarely producing defective meshes, especially when targeting a coarse mesh resolution. We present a method to robustly quantize volume parametrizations, i.e., to determine guaranteed valid choices of integers for 3D integer-grid maps. Inspired by the 2D case, we base our construction on a non-conforming cell decomposition of the volume, a 3D analogue of a T-mesh. In particular, we leverage the motorcycle complex, a recent generalization of the motorcycle graph, for this purpose. Integer values are expressed in a differential manner on the edges of this complex, enabling the efficient formulation of the conditions required to strictly prevent forcing the map into degeneration. Applying our method in the context of hexahedral meshing, we demonstrate that hexahedral meshes can be generated with significantly improved flexibility.

    @article{10.1145/3528223.3530123,
    author = {Br\"{u}ckler, Hendrik and Bommes, David and Campen, Marcel},
    title = {Volume Parametrization Quantization for Hexahedral Meshing},
    year = {2022},
    issue_date = {July 2022},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    volume = {41},
    number = {4},
    issn = {0730-0301},
    url = {https://doi.org/10.1145/3528223.3530123},
    doi = {10.1145/3528223.3530123},
    abstract = {Developments in the field of parametrization-based quad mesh generation on surfaces have been impactful over the past decade. In this context, an important advance has been the replacement of error-prone rounding in the generation of integer-grid maps, by robust quantization methods. In parallel, parametrization-based hex mesh generation for volumes has been advanced. In this volumetric context, however, the state-of-the-art still relies on fragile rounding, not rarely producing defective meshes, especially when targeting a coarse mesh resolution. We present a method to robustly quantize volume parametrizations, i.e., to determine guaranteed valid choices of integers for 3D integer-grid maps. Inspired by the 2D case, we base our construction on a non-conforming cell decomposition of the volume, a 3D analogue of a T-mesh. In particular, we leverage the motorcycle complex, a recent generalization of the motorcycle graph, for this purpose. Integer values are expressed in a differential manner on the edges of this complex, enabling the efficient formulation of the conditions required to strictly prevent forcing the map into degeneration. Applying our method in the context of hexahedral meshing, we demonstrate that hexahedral meshes can be generated with significantly improved flexibility.},
    journal = {ACM Trans. Graph.},
    month = {jul},
    articleno = {60},
    numpages = {19},
    keywords = {hexahedral mesh, base complex, block decomposition, multi-block, t-mesh, block-structured, volume mesh}
    }
  • Hex Me If You Can

    Computer Graphics Forum (SGP 2022)
    Pierre-Alexandre Beaufort, Maxence Reberol, Denis Kalmykov, Heng Liu, Franck Ledoux, David Bommes
    • Project page
    • Abstract
    • BibTeX

    HexMe consists of 189 tetrahedral meshes with tagged features and a workflow to generate them. The primary purpose of HexMe meshes is to enable consistent and practically meaningful evaluation of hexahedral meshing algorithms and related techniques, specifically regarding the correct meshing of specified feature points, curves, and surfaces. The tetrahedral meshes have been generated with Gmsh, starting from 63 computer-aided design (CAD) models from various databases. To highlight and label the diverse and challenging aspects of hexahedral mesh generation, the CAD models are classified into three categories: simple, nasty, and industrial. For each CAD model, we provide three kinds of tetrahedral meshes (uniform, curvature-adapted, and box-embedded). The mesh generation pipeline is defined with the help of Snakemake, a modern workflow management system, which allows us to specify a fully automated, extensible, and sustainable workflow. It is possible to download the whole dataset or select individual meshes by browsing the online catalog. The HexMe dataset is built with evolution in mind and prepared for future developments. A public GitHub repository hosts the HexMe workflow, where external contributions and future releases are possible and encouraged. We demonstrate the value of HexMe by exploring the robustness limitations of state-of-the-art frame-field-based hexahedral meshing algorithm. Only for 19 of 189 tagged tetrahedral inputs all feature entities are meshed correctly, while the average success rates are 70.9% / 48.5% / 34.6 % for feature points/curves/surfaces.

    @article {10.1111:cgf.14608,
    journal = {Computer Graphics Forum},
    title = {{Hex Me If You Can}},
    author = {Beaufort, Pierre-Alexandre and Reberol, Maxence and Kalmykov, Denis and Liu, Heng and Ledoux, Franck and Bommes, David},
    year = {2022},
    publisher = {The Eurographics Association and John Wiley & Sons Ltd.},
    ISSN = {1467-8659},
    DOI = {10.1111/cgf.14608}
    }
© Copyright 2019–2025 by Computer Graphics Group, University of Bern.
Privacy policy