ACM Transactions on Graphics· 2018Q1
Differentiable Monte Carlo ray tracing through edge sampling
- 451citations
- Q1SCImago
- 2018year
Short summary
This paper introduces the first general-purpose differentiable Monte Carlo ray tracer capable of computing image gradients with respect to arbitrary scene parameters like camera pose, geometry, materials, and lighting.
AI-generated from the title and abstract; the full text is not read.
Key points
- Introduces a general-purpose differentiable Monte Carlo ray tracer.
- Novel edge sampling algorithm directly samples derivatives of discontinuous integrands.
- Enables gradient computation with respect to camera pose, scene geometry, materials, and lighting.
- Integrates with PyTorch for applications like inverse rendering and adversarial example generation.
- Gradient generation times vary from seconds to minutes based on scene complexity and precision.
AI-generated from the title and abstract; the full text is not read.
Abstract
Gradient-based methods are becoming increasingly important for computer graphics, machine learning, and computer vision. The ability to compute gradients is crucial to optimization, inverse problems, and deep learning. In rendering, the gradient is required with respect to variables such as camera parameters, light sources, scene geometry, or material appearance. However, computing the gradient of rendering is challenging because the rendering integral includes visibility terms that are not differentiable. Previous work on differentiable rendering has focused on approximate solutions. They often do not handle secondary effects such as shadows or global illumination, or they do not provide the gradient with respect to variables other than pixel coordinates. We introduce a general-purpose differentiable ray tracer, which, to our knowledge, is the first comprehensive solution that is able to compute derivatives of scalar functions over a rendered image with respect to arbitrary scene parameters such as camera pose, scene geometry, materials, and lighting parameters. The key to our method is a novel edge sampling algorithm that directly samples the Dirac delta functions introduced by the derivatives of the discontinuous integrand. We also develop efficient importance sampling methods based on spatial hierarchies. Our method can generate gradients in times running from seconds to minutes depending on scene complexity and desired precision. We interface our differentiable ray tracer with the deep learning library PyTorch and show prototype applications in inverse rendering and the generation of adversarial examples for neural networks.
The authors' abstract, as published at the source. ACM Transactions on Graphics, 2018 · DOI ↗
Continue with a free account
Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.
Continue free on the webSign in with Google or Apple; no card needed. You come back to this paper.
On your phone:
Field: Computer Graphics and Computer-Aided Design
Computer Graphics and Computer-Aided DesignComputer Science