Abstract
Unsigned Distance Fields (UDFs) provide a flexible representation for both watertight and open surfaces. However, extracting meshes from UDFs is challenging because they lack the sign information required by standard algorithms like Marching Cubes. We propose a local neural surface detection method that predicts sign configurations for individual grid cells based on local distance values and gradients. Our approach is efficient, training in approximately one minute, and produces high-quality meshes for complex geometries like clothing and vehicles, outperforming existing hand-crafted and neural baselines.
Introduction
Implicit representations are a cornerstone of 3D deep learning. Signed Distance Fields (SDFs) are highly effective for watertight shapes but fail for "open" surfaces—such as clothing or thin car parts—which lack a clear interior and exterior. Unsigned Distance Fields (UDFs) can represent any geometry, yet they are notoriously difficult to mesh because they lack the "sign flips" that algorithms like Marching Cubes (MC) use to locate surfaces. Previous attempts to mesh UDFs have relied on brittle heuristics that produce holes and artifacts, or complex neural architectures that are slow to train and often ignore vital geometric information like field gradients.
Methodology
The core innovation of this work is solving the sign problem locally rather than globally. Instead of attempting to orient the entire field, the model predicts sign configurations cell-by-cell.
- Input Representation: For a given 3D grid cell, the model takes the UDF values and their 3D gradients at the eight corners, totaling 32 input values (8 distances + 24 gradient components).
- Neural Classification: A lightweight Multi-Layer Perceptron (MLP) processes these values to classify the cell into one of 128 possible "sign configurations." While a cell has $2^8 = 256$ possible sign combinations, the absolute sign is irrelevant for meshing (only the flips matter), allowing the problem to collapse into 128 unique patterns.
- Training and Generalization: The model is trained on watertight datasets (like the ABC CAD dataset) where ground-truth signs are easily computed. Because the network makes local decisions based on universal geometric cues, it naturally generalizes to non-watertight surfaces at test time.
- Robustness: Adding Gaussian noise to UDF values during training proved essential for handling the "noisy" fields typically produced by real-world neural auto-decoders.
Experiments and Results
The proposed method was evaluated against state-of-the-art baselines including MeshUDF and DualMesh-UDF (DMUDF) across several benchmarks, including the ABC dataset, Multi-Garment Net (MGN), and ShapeNet-Cars.
On the ABC dataset at a resolution of $128^3$, the method achieved a median Chamfer Distance of 2.52, significantly outperforming MeshUDF (2.97) and DCUDF (44.6). Qualitative results on complex objects like cars demonstrate that our method effectively closes holes and eliminates spurious surfaces that plague previous techniques.
Key Insights
- Gradients are Essential: Unlike previous neural meshing attempts that only utilized distance values, this research demonstrates that UDF gradients provide critical orientation cues that significantly boost reconstruction accuracy.
- Efficiency: Due to the local nature of the task and the lightweight MLP architecture, the model can be trained in just one minute on a single GPU, a massive improvement over competing neural methods.
- Local Consistency: By avoiding global orientation, the model avoids large-scale geometric distortions. If the network is inconsistent between cells, it typically results in a small, localized hole rather than a massive failure.
Limitations and Future Work
Despite its success, the method can sometimes produce tiny "cracks" where neighboring cells disagree, or jagged borders on open surfaces when paired with Marching Cubes. Future research may involve integrating neural predictions more tightly into the Dual Contouring framework to achieve smoother and more globally consistent reconstructions.
Summary updated