VoroMesh: Learning Watertight Surface Meshes with Voronoi Diagrams

Nissim Maruani, Roman Klokov, Maks Ovsjanikov, Pierre Alliez, Mathieu Desbrun · DOI

Introduction

In the field of 3D deep learning, representing surfaces accurately and efficiently remains a significant challenge. Researchers typically face a trade-off between explicit meshes, which are ideal for rendering but difficult to differentiate through, and implicit representations (such as Signed Distance Functions), which are easy for neural networks to learn but often produce "polygon soup"—non-watertight meshes that lose sharp features when converted back to explicit forms.

VoroMesh introduces a novel differentiable representation that bridges this gap. By leveraging Voronoi diagrams, VoroMesh guarantees the generation of watertight, non-self-intersecting meshes while remaining fully differentiable through a specialized loss function called VoroLoss.

The Core Methodology

VoroMesh represents a 3D shape using a set of spatial points known as generators. This approach decomposes the problem into two distinct components: geometry and topology.

Geometry and Topology

Each generator defines a Voronoi cell, which is the region of space closer to that generator than any other point in the set. To define a shape, each generator is assigned a binary "occupancy" value (either "inside" or "outside" the shape). The final mesh is then defined as the set of faces in the Voronoi diagram that separate an "inside" generator from an "outside" one.

Because these faces naturally bound a volume, the resulting mesh is mathematically guaranteed to be watertight and free of self-intersections. This "topology for free" approach solves a major bottleneck in geometry processing, where manual cleanup of broken meshes is often required.

VoroLoss: Differentiable Optimization

The primary technical hurdle in using Voronoi diagrams for deep learning is the computational cost; explicitly constructing a full Voronoi diagram during every training iteration is prohibitively expensive.

The authors overcome this with VoroLoss. They prove a theorem showing that the distance from a point to the nearest Voronoi face is equivalent to the distance to the nearest bisector plane between generators. This allows the neural network to optimize generator positions using simple point-to-plane distances, bypassing the need for explicit diagram construction during the inner loops of training. This "bisector trick" turns a discrete combinatorial problem into a continuous optimization task.

Architecture and Implementation

The VoroMesh system utilizes a Sparse 3D Convolutional Neural Network (SCNN) to extract local features from an input grid. These features are processed by two Multi-Layer Perceptrons (MLPs):

  1. Offset MLP: Predicts the spatial displacement of generators to fit the target geometry.
  2. Occupancy MLP: Predicts whether a generator resides inside or outside the target volume.

This architecture allows for adaptive resolution. Unlike grid-based methods like Marching Cubes, VoroMesh generators can cluster around high-detail areas, such as sharp edges or thin structures, representing complex details with fewer parameters.

Experimental Results

The authors evaluated VoroMesh using the Thingi32 dataset (complex 3D-printing models) for direct optimization and the ABC Dataset (CAD models) for generalization testing.

Key Findings

  • Perfect Watertightness: VoroMesh achieved 100% watertightness across all benchmarks. In contrast, competing methods like Neural Dual Contouring (NDC) and Neural Marching Cubes (NMC) produced valid volumes in only 0% to 31% of cases.
  • High Fidelity: On the Thingi32 benchmark, VoroMesh outperformed standard Marching Cubes in both Chamfer Distance and Normal Consistency, particularly at lower resolutions where grid-based methods struggle.
  • Efficiency: The optimization process is approximately 10x faster than previous Voronoi-based attempts (such as VoronoiNet) because it avoids the overhead of explicit diagram construction during loss calculation.
  • Generalization: When trained on mechanical CAD parts and tested on organic shapes, VoroMesh successfully reconstructed thin features that other state-of-the-art methods failed to capture.

Limitations and Future Directions

While VoroMesh represents a significant step forward, some limitations remain. The polygonal nature of Voronoi cells can occasionally create "sliver" faces or jagged edges, leading to minor shading artifacts. The authors suggest that post-processing steps, such as edge collapses, could mitigate these issues, though these are not yet integrated into the end-to-end pipeline.

Additionally, the method currently relies on a grid-based initialization for generators. Future work may explore more geometry-aware placement strategies to further enhance efficiency and scaling for extremely high-resolution outputs (e.g., $128^3$ and above), where the computational cost of the final Voronoi diagram construction becomes more significant.

Conclusion

VoroMesh offers a compelling "middle ground" for 3D representation. By combining the flexibility of point-based generators with the topological guarantees of Voronoi diagrams, it provides a robust, differentiable framework for generating high-quality, watertight meshes suitable for downstream applications in 3D printing and simulation.

Summary updated

BibTeX
@inproceedings{maruani2023voromesh,
  author = {Nissim Maruani and Roman Klokov and Maks Ovsjanikov and Pierre Alliez and Mathieu Desbrun},
  title = {{VoroMesh: Learning Watertight Surface Meshes with Voronoi Diagrams}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.01339},
}
Figure