Our method enables real-time performance on inverse rendering tasks on heightfields. For instance, we use our renderer to optimize a heightfield geometry with texture (left) such that the “open” sign appears during the day and the “closed” sign appears in the afternoon.
We investigate the problem of accelerating a physically-based differentiable renderer for heightfields based on path tracing with global illumination. On a heightfield with 1 million vertices (1024×1024 resolution), our differentiable renderer requires only 4 ms per sample per pixel when differentiating direct illumination, orders of magnitude faster than most existing general 3D mesh differentiable renderers. It is well-known that one can leverage spatial hierarchical data structures (e.g., the maximum mipmaps) to accelerate the forward pass of heightfield rendering. The key idea of our approach is to further utilize the hierarchy to speed up the backward pass—differentiable heightfield rendering. Specifically, we use the maximum mipmaps to accelerate the process of identifying scene discontinuities, which is crucial for obtaining accurate derivatives. Our renderer supports global illumination. we are able to optimize global effects, such as shadows, with respect to the geometry and the material parameters. Our differentiable renderer achieves real-time frame rates and unlocks interactive inverse rendering applications. We demonstrate the flexibility of our method with terrain optimization, geometric illusions, shadow optimization, and text-based shape generation.
Download as:
@inproceedings{Tong:2023:DHP, author = {Tong, Xiaochun and Liu, Hsueh-Ti Derek and Gingold, Yotam and Jacobson, Alec}, title = {Differentiable Heightfield Path Tracing with Accelerated Discontinuities}, year = {2023}, booktitle = {SIGGRAPH 2023 Conference Proceedings}, series = {SIGGRAPH '23}, keywords = {differentiable rendering, inverse rendering, heightfield rendering, shading-based editing}, doi = {10.1145/3588432.3591530} }