Reparameterizing Discontinuous Integrands for Differentiable Rendering
Abstract
Differentiable rendering has recently opened the door to a number of challenging inverse problems involving photorealistic images, such as computational material design and scattering-aware reconstruction of geometry and materials from photographs. Differentiable rendering algorithms strive to estimate partial derivatives of pixels in a rendered image with respect to scene parameters, which is difficult because visibility changes are inherently non-differentiable.
We propose a new technique for differentiating path-traced images with respect to scene parameters that affect visibility, including the position of cameras, light sources, and vertices in triangle meshes. Our algorithm computes the gradients of illumination integrals by applying changes of variables that remove or strongly reduce the dependence of the position of discontinuities on differentiable scene parameters. The underlying parameterization is created on the fly for each integral and enables accurate gradient estimates using standard Monte Carlo sampling in conjunction with automatic differentiation. Importantly, our approach does not rely on sampling silhouette edges, which has been a bottleneck in previous work and tends to produce high-variance gradients when important edges are found with insufficient probability in scenes with complex visibility and high-resolution geometry. We show that our method only requires a few samples to produce gradients with low bias and variance for challenging cases such as glossy reflections and shadows. Finally, we use our differentiable path tracer to reconstruct the 3D geometry and materials of several real-world objects from a set of reference photographs.
Video
Text citation
Guillaume Loubet, Nicolas Holzschuch, and Wenzel Jakob. 2019. Reparameterizing Discontinuous Integrands for Differentiable Rendering. In Transactions on Graphics (Proceedings of SIGGRAPH Asia) 38(6).
BibTeX
@article{Loubet2019Reparameterizing, author = {Guillaume Loubet and Nicolas Holzschuch and Wenzel Jakob}, title = {Reparameterizing Discontinuous Integrands for Differentiable Rendering}, journal = {Transactions on Graphics (Proceedings of SIGGRAPH Asia)}, volume = {38}, number = {6}, year = {2019}, month = dec, doi = {10.1145/3355089.3356510} }