HDSDF: Hybrid Directional and Signed Distance Functions for Fast Inverse Rendering

Tarun Yenamandra, Ayush Tewari, Nan Yang, Florian Bernard, Christian Theobalt, Daniel Cremers · DOI

Introduction

In 3D computer vision, Signed Distance Functions (SDFs) are the gold standard for representing shapes, providing precise information about the distance from any point in space to the nearest surface. However, SDFs suffer from a significant "rendering bottleneck." Turning an SDF into an image typically requires sphere tracing, an algorithm that iteratively "marches" along camera rays, evaluating a neural network at every step. For inverse rendering—where a 3D shape is iteratively optimized to match 2D observations—this process is computationally expensive and slow.

Methodology: The FIRe Framework

The Fast Inverse Rendering (FIRe) method introduces a hybrid neural representation that combines traditional SDFs with a novel Directional Distance Function (DDF). Unlike an SDF, the DDF is defined on a unit sphere surrounding the object. For any given ray, the DDF predicts the distance to the surface and the hit probability in a single network evaluation, effectively "jumping" straight to the surface instead of marching toward it.

The Hybrid Approach

To maintain high-quality geometry while achieving rendering speed, the system learns both representations simultaneously within a shared latent space.

  • DDF for Speed: Used during the rendering step of the optimization loop to quickly find surface points.
  • SDF for Geometry: Ensures the reconstructed shape remains consistent and high-quality.
  • Track-SDF Regularizer: A loss function that "glues" the two representations together by forcing the DDF's predicted surface points to have an SDF value of zero.

Memory-Efficient Feature Grids

To capture fine details without the prohibitive $O(N^6)$ memory cost of a 6D DDF grid, the authors factorize the representation into 15 separate 2D feature grids. This reduces the memory footprint to $O(N^2)$, allowing the model to scale to high resolutions on standard hardware.

Key Results

FIRe achieves a 15.5x speedup per optimization iteration compared to leading differentiable sphere tracing methods like DIST. Once trained, the DDF can render 256x256 images in roughly 21-23ms, enabling real-time visualization of implicit shapes.

Qualitative results showing input depth maps and the resulting 3D reconstructions from two different views across multiple ShapeNet categories.

Quantitatively, FIRe outperforms DIST and IF-Net across ShapeNet categories. Qualitatively, it captures much finer details, such as the thin legs of chairs and tables that other methods often fail to reconstruct. The method is also robust, successfully "imagining" the unobserved back-side of objects when provided with only single-view depth maps or silhouettes.

Conclusion

By combining the geometric strengths of SDFs with the efficiency of DDFs, HDSDF represents a significant step toward making neural implicit representations practical for real-time applications. While challenges remain regarding 3D consistency from extreme angles, the hybrid approach provides a powerful framework for large-scale inverse rendering tasks.

Summary updated

BibTeX
@inproceedings{yenamandra2024hdsdf,
  author = {Tarun Yenamandra and Ayush Tewari and Nan Yang and Florian Bernard and Christian Theobalt and Daniel Cremers},
  title = {{HDSDF: Hybrid Directional and Signed Distance Functions for Fast Inverse Rendering}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  url = {https://openreview.net/forum?id=iVlFGvl9Xo},
}
Figure