NeuralODF: Learning Omnidirectional Distance Fields for 3D Shape Representation

Trevor Houchens, Cheng-You Lu, Shivam Duggal, Rao Fu, Srinath SridhararXiv 2022

Abstract

In visual computing, 3D geometry is represented in many different forms including meshes, point clouds, voxel grids, level sets, and depth images. Each representation is suited for different tasks thus making the transformation of one representation into another (forward map) an important and common problem. We propose Omnidirectional Distance Fields (ODFs), a new 3D shape representation that encodes geometry by storing the depth to the object's surface from any 3D position in any viewing direction. Since rays are the fundamental unit of an ODF, it can be used to easily transform to and from common 3D representations like meshes or point clouds. Different from level set methods that are limited to representing closed surfaces, ODFs are unsigned and can thus model open surfaces (e.g., garments). We demonstrate that ODFs can be effectively learned with a neural network (NeuralODF) despite the inherent discontinuities at occlusion boundaries. We also introduce efficient forward mapping algorithms for transforming ODFs to and from common 3D representations. Specifically, we introduce an efficient Jumping Cubes algorithm for generating meshes from ODFs. Experiments demonstrate that NeuralODF can learn to capture high-quality shape by overfitting to a single object, and also learn to generalize on common shape categories.

Introduction

The choice of 3D representation significantly impacts the efficiency and capability of computer vision tasks. Traditional representations like voxel grids suffer from high memory consumption, while point clouds lack surface connectivity. Signed Distance Fields (SDFs) have emerged as a popular choice for neural implicit representations but are fundamentally limited to "watertight" or closed geometries. Because SDFs rely on an interior/exterior distinction, they cannot represent open surfaces such as clothing, leaves, or thin shells. Furthermore, extracting usable meshes from these representations often involves computationally expensive grid-sampling methods like Marching Cubes.

Omnidirectional Distance Fields

To address these limitations, we introduce Omnidirectional Distance Fields (ODFs). Unlike standard distance fields that only provide the distance to the closest surface point, an ODF maps a 5D input—consisting of a 3D position $x$ and a 2D viewing direction $w$—to the distance of the nearest surface along that specific ray.

The ODF framework maps 5D rays to depth, enabling direct transformation to meshes, point clouds, and other formats.

By treating rays as the fundamental unit, ODFs naturally align with the physics of depth sensors and cameras. This representation is inherently unsigned, allowing it to model both open and closed surfaces with equal fidelity.

NeuralODF and Efficient Mapping

We implement this representation using NeuralODF, a coordinate-based Multi-Layer Perceptron (MLP). The network outputs both the distance to the surface and an intersection confidence score. To enhance precision, we employ a recursive inference strategy where the model iteratively "steps" toward the surface based on its previous distance estimates.

Ray-based sampling allows the model to determine surface distances from any point in space across multiple directions.

A key advantage of the ODF representation is the Jumping Cubes algorithm. Unlike Marching Cubes, which must query the network at every voxel in a dense grid ($O(n^3)$), Jumping Cubes utilizes the directional distance information to "jump" over empty space. This reduces the required network queries to $O(n^2)$, significantly accelerating the mesh extraction process.

Experimental Results

NeuralODF was evaluated across single-object fitting, open surface reconstruction, and category-level generalization.

  • High-Fidelity Reconstruction: On classic CAD models like the Stanford Bunny, NeuralODF achieved a Chamfer Distance of 0.273, significantly outperforming standard Unsigned Distance Fields (0.857).
  • Recursive Refinement: The iterative inference process proved crucial, raising the intersection F-score from 72.6% to 95.2% after three steps.
  • Generalization: When trained on ShapeNet categories (Airplanes, Cars, Chairs), the model successfully reconstructed unseen shapes, accurately capturing complex features like thin chair legs and engine nacelles.

Conclusion

NeuralODF provides a versatile 5D representation that overcomes the topological constraints of SDFs while offering superior computational efficiency for mesh generation. While learning a 5D function presents higher complexity than 3D alternatives, the ability to represent open surfaces and the speedups offered by Jumping Cubes make it a compelling alternative for modern 3D geometry tasks.

Summary updated

BibTeX
@misc{houchens2022neuralodf,
  author = {Trevor Houchens and Cheng-You Lu and Shivam Duggal and Rao Fu and Srinath Sridhar},
  title = {{NeuralODF: Learning Omnidirectional Distance Fields for 3D Shape Representation}},
  year = {2022},
  eprint = {2206.05837},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.05837},
}
Figure