Extracting Triangular 3D Models, Materials, and Lighting From Images

Jacob Munkberg, Jon Hasselgren, Tianchang Shen, Jun Gao, Wenzheng Chen, Alex Evans, Thomas Müller, Sanja Fidler

Introduction

Recent advancements in neural rendering, particularly Neural Radiance Fields (NeRF), have achieved unprecedented quality in novel view synthesis. However, these "black box" representations remain difficult to integrate into standard graphics pipelines. This paper introduces a method to jointly optimize 3D geometry, spatially-varying materials, and environment lighting directly from multi-view images, producing industry-standard triangle meshes and PBR textures compatible with modern game engines and physics simulators.

The Challenge of Entangled Representations

The primary limitation of volumetric neural representations like NeRF is entanglement. Geometry, lighting, and material properties are baked into the weights of a neural network. This makes it nearly impossible to perform common tasks such as changing an object's roughness, relighting a scene in tools like Blender, or using the model in a physics engine without lossy conversion steps. While traditional photogrammetry exists, it is often a fragmented process where errors in camera alignment or mesh reconstruction propagate through the pipeline. This research frames the entire asset creation process as a single, end-to-end inverse rendering task.

A Unified Inverse Rendering Pipeline

The proposed method leverages several key innovations to create a differentiable pipeline. At its core is Deep Marching Tetrahedra (DMTet), which uses a deformable tetrahedral grid. Unlike fixed meshes, DMTet allows the optimization of both vertex positions and topology (the "connectedness" of the mesh) via gradient descent, enabling the model to "grow" holes or change its genus as needed.

The method produces a standard triangle mesh with optimized topology.

To bridge the 3D and 2D domains, the authors utilize a highly efficient differentiable rasterizer with deferred shading. This approach is significantly faster than the ray marching techniques used in volumetric rendering, allowing for rapid iterations during training.

Efficient Material and Lighting Recovery

A critical aspect of the pipeline is the factorization of material and lighting. Initially, materials are represented by a coordinate-based MLP. Once the geometry stabilizes, these properties are "baked" into standard 2D texture maps for final refinement, which removes seams and enhances detail.

To recover environment lighting, the method adapts the Split Sum Approximation—a technique common in real-time game engines—into a differentiable component. This allows for the efficient recovery of high-frequency lighting details, such as sharp reflections, at a fraction of the computational cost of Monte Carlo integration. This approach provides a 5x speedup in optimization time compared to using Spherical Gaussians while capturing much sharper lighting details.

Experimental Results

The method was evaluated against standard benchmarks like the NeRF Synthetic and DTU MVS datasets. Optimization typically takes about one hour on a single NVIDIA V100 GPU, with the resulting assets capable of rendering at interactive rates on standard hardware.

Overview of the extracted 3D model, material components, and downstream applications.

Quantitatively, the method outperformed existing baselines like NeRFactor in relighting tasks, achieving higher PSNR and SSIM scores. Qualitatively, it produced sharper geometry and textures than meshes extracted from NeRF using Marching Cubes. The versatility of the output was demonstrated through soft-body physics simulations and material editing (e.g., transforming a plastic surface into metal), tasks that are fundamentally difficult with standard neural volumes.

Conclusion and Future Work

By explicitly separating shape, albedo, roughness, and lighting, this approach provides the visual quality of neural rendering with the editability of traditional 3D assets. While the current model uses a simplified shading model that omits global illumination and shadows, future work involving differentiable path tracing could further enhance realism. This method represents a significant step toward automating the creation of high-quality, simulation-ready 3D assets from photographs.

Summary updated

BibTeX
@inproceedings{munkberg2021extracting,
  author = {Jacob Munkberg and Jon Hasselgren and Tianchang Shen and Jun Gao and Wenzheng Chen and Alex Evans and Thomas Müller and Sanja Fidler},
  title = {{Extracting Triangular 3D Models, Materials, and Lighting From Images}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr52688.2022.00810},
}
Figure