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

Jacob Munkberg, Jon Hasselgren, Tianchang Shen, Jun Gao, Wenzheng Chen +3 more
11/24/2021
546 citations
cs.CVcs.GR

Official code: NVlabs/nvdiffrec (2,301 stars, Python, PyTorch, last commit 2026-08-12). Most starred: NVlabs/tiny-cuda-nn, a community implementation (4,550 stars, C++, PyTorch, last commit 2026-09-29, 2.0× the official stars). 1 more implementation below.

Abstract

We present an efficient method for joint optimization of topology, materials and lighting from multi-view image observations. Unlike recent multi-view reconstruction approaches, which typically produce entangled 3D representations encoded in neural networks, we output triangle meshes with spatially-varying materials and environment lighting that can be deployed in any traditional graphics engine unmodified.

Show full abstract

We leverage recent work in differentiable rendering, coordinate-based networks to compactly represent volumetric texturing, alongside differentiable marching tetrahedrons to enable gradient-based optimization directly on the surface mesh. Finally, we introduce a differentiable formulation of the split sum approximation of environment lighting to efficiently recover all-frequency lighting. Experiments show our extracted models used in advanced scene editing, material decomposition, and high quality view interpolation, all running at interactive rates in triangle-based renderers (rasterizers and path tracers). Project website: https://nvlabs.github.io/nvdiffrec/ .

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
NVlabs/nvdiffrecOfficial2,301Python–2026-08-12
NVlabs/tiny-cuda-nnCommunity4,550C++–2026-09-29
NVlabs/nvdiffrecOfficial100%
PyTorch

Official code for the CVPR 2022 (oral) paper "Extracting Triangular 3D Models, Materials, and Lighting From Images".

2,301253Python, CudaNov 24, 20213 months agoNOASSERTION
deep-learningpytorch
NVlabs/tiny-cuda-nnCommunity100%
PyTorch

Lightning fast C++/CUDA neural network framework

4,550584C++, CudaApr 16, 20212 months agoNOASSERTION
cudadeep-learninggpumlpnerf+4 more

Similar Papers

Cite this paper

@article{munkberg2021extracting,
  title  = {Extracting Triangular 3D Models, Materials, and Lighting From Images},
  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},
  year   = {2021},
  eprint = {2111.12503},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.12503}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.12503.svg)](https://codeofpaper.com/paper/2111.12503)

Discussion