View-Independent Adjoint Light Tracing for Lighting Design Optimization (2310.02043v2)
Abstract: Differentiable rendering methods promise the ability to optimize various parameters of 3d scenes to achieve a desired result. However, lighting design has so far received little attention in this field. In this paper, we introduce a method that enables continuous optimization of the arrangement of luminaires in a 3d scene via differentiable light tracing. Our experiments show two major issues when attempting to apply existing methods from differentiable path tracing to this problem: first, many rendering methods produce images, which restricts the ability of a designer to define lighting objectives to image space. Second, most previous methods are designed for scene geometry or material optimization and have not been extensively tested for the case of optimizing light sources. Currently available differentiable ray-tracing methods do not provide satisfactory performance, even on fairly basic test cases in our experience. In this paper, we propose a novel adjoint light tracing method that overcomes these challenges and enables gradient-based lighting design optimization in a view-independent (camera-free) way. Thus, we allow the user to paint illumination targets directly onto the 3d scene or use existing baked illumination data (e.g., light maps). Using modern ray-tracing hardware, we achieve interactive performance. We find light tracing advantageous over path tracing in this setting, as it naturally handles irregular geometry, resulting in less noise and improved optimization convergence. We compare our adjoint gradients to state-of-the-art image-based differentiable rendering methods. We also demonstrate that our gradient data works with various common optimization algorithms, providing good convergence behaviour. Qualitative comparisons with real-world scenes underline the practical applicability of our method.
- ANSI/IES. 2020. IES Standard File Format for Photometric Data, ANSI/IES LM-63-19. https://webstore.ansi.org/Standards/IESNA/ANSIIESLM6319
- Unbiased warped-area sampling for differentiable rendering. ACM Transactions on Graphics 39, 6 (2020), 1–18. https://doi.org/10.1145/3414685.3417833
- Andrew M. Bradley. 2019. PDE-constrained optimization and the adjoint method. (2019). https://cs.stanford.edu/~ambrad/adjoint_tutorial.pdf
- DIAL GmbH. 2022. DIALux evo 10.1. https://www.dialux.com/en-GB/dialux
- EasternGraphics GmbH. 2023. pCon.Planner. https://pcon-planner.com
- A Novel Hemispherical Basis for Accurate and Efficient Rendering. Eurographics Workshop on Rendering (2004). https://doi.org/10.2312/EGWR/EGSR04/321-330
- ADD: analytically differentiable dynamics for multi-body systems with frictional contact. ACM Transactions on Graphics 39, 6 (nov 2020), 1–15. https://doi.org/10.1145/3414685.3417766
- Anastasios Gkaravelis. 2016. Inverse lighting design using a coverage optimization strategy. The Visual Computer 32, 6 (2016), 10.
- An Evaluation of Computational Imaging Techniques for Heterogeneous Inverse Scattering. In Computer Vision – ECCV 2016. Springer International Publishing, 685–701. https://doi.org/10.1007/978-3-319-46487-9_42
- Inverse volume rendering with material dictionaries. ACM Transactions on Graphics 32, 6 (nov 2013), 1–13. https://doi.org/10.1145/2508363.2508377
- Modeling the interaction of light between diffuse surfaces. ACM SIGGRAPH Computer Graphics 18, 3 (jul 1984), 213–222. https://doi.org/10.1145/964965.808601
- Robin Green. 2003. Spherical harmonic lighting: The gritty details. In Archives of the game developers conference, Vol. 56. 4. https://theory.cpe.ku.ac.th/~pramook/files/spherical-harmonic-lighting.pdf
- Radiosity: A method for computing global illumination. The Visual Computer 2, 5 (sep 1986), 291–297. https://doi.org/10.1007/bf02020429
- Nikolaus Hansen. 2021. c-cmaes. https://github.com/CMA-ES/c-cmaes
- Reducing the Time Complexity of the Derandomized Evolution Strategy with Covariance Matrix Adaptation (CMA-ES). Evolutionary Computation 11, 1 (mar 2003), 1–18. https://doi.org/10.1162/106365603321828970
- Virtual spherical lights for many-light rendering of glossy scenes. ACM Transactions on Graphics 28, 5 (dec 2009), 1–6. https://doi.org/10.1145/1618452.1618489
- Mitsuba 3 renderer. https://mitsuba-renderer.org.
- Henrik Wann Jensen. 1995. Importance Driven Path Tracing using the Photon Map. In Eurographics. Springer Vienna, 326–335. https://doi.org/10.1007/978-3-7091-9430-0_31
- Sam Jin and Sung-Hee Lee. 2019. Lighting Layout Optimization for 3D Indoor Scenes. Computer Graphics Forum 38, 7 (2019), 733–743. https://doi.org/10.1111/cgf.13875 _eprint: https://onlinelibrary.wiley.com/doi/pdf/10.1111/cgf.13875.
- James T. Kajiya. 1986. The rendering equation. ACM SIGGRAPH Computer Graphics 20, 4 (aug 1986), 143–150. https://doi.org/10.1145/15886.15902
- Matching Real Fabrics with Micro-Appearance Models. ACM Transactions on Graphics 35, 1 (dec 2015), 1–26. https://doi.org/10.1145/2818648
- Diederik P. Kingma and Jimmy Ba. 2014. ADAM: A Method for Stochastic Optimization. (Dec. 2014). arXiv:1412.6980 [cs.LG]
- Radiance Caching for Efficient Global Illumination Computation. IEEE Transactions on Visualization and Computer Graphics 11, 5 (sep 2005), 550–561. https://doi.org/10.1109/tvcg.2005.83
- Mats Larson and Fredrik Bengzon. 2013. The Finite Element Method: Theory, Implementation, and Applications. Springer-Verlag GmbH.
- A meshless hierarchical representation for light transport. ACM Transactions on Graphics 27, 3 (aug 2008), 1–9. https://doi.org/10.1145/1360612.1360636
- Differentiable Monte Carlo ray tracing through edge sampling. ACM Transactions on Graphics 37, 6 (dec 2018), 1–11. https://doi.org/10.1145/3272127.3275109
- Interactive Lighting Design with Hierarchical Light Representation. Computer Graphics Forum 32, 4 (2013), 133–142. https://doi.org/10.1111/cgf.12159
- Paparazzi: Surface Editing by way of Multi-View Image Processing. ACM Transactions on Graphics 37, 6 (dec 2018), 1–11. https://doi.org/10.1145/3272127.3275047
- Reparameterizing discontinuous integrands for differentiable rendering. ACM Transactions on Graphics 38, 6 (2019). https://doi.org/10.1145/3355089.3356510
- Incrementally baked global illumination. In Proceedings of the ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games. ACM. https://doi.org/10.1145/3306131.3317015
- Material and Lighting Reconstruction for Complex Indoor Scenes with Texture-space Differentiable Rendering. Eurographics Symposium on Rendering - DL-only Track (2021). https://doi.org/10.2312/SR.20211292
- Radiative backpropagation. ACM Transactions on Graphics 39, 4 (jul 2020). https://doi.org/10.1145/3386569.3392406
- Mitsuba 2: a retargetable forward and inverse renderer. ACM Transactions on Graphics 38, 6 (2019). https://doi.org/10.1145/3355089.3356498
- Jorge Nocedal. 1980. Updating quasi-Newton matrices with limited storage. Math. Comp. 35, 151 (1980), 773–782. https://doi.org/10.1090/s0025-5718-1980-0572855-7
- A radiance cache method for highly glossy surfaces. The Visual Computer 32, 10 (oct 2015), 1239–1250. https://doi.org/10.1007/s00371-015-1159-y
- OpenArena Team, a FANDOM Games Community. 2008. OpenArena 0.8.1. https://openarena.ws/
- Lighting with paint. ACM Transactions on Graphics 26, 2 (June 2007), 9. https://doi.org/10.1145/1243980.1243983
- Sketching shadows and highlights to position lights. In Proceedings Computer Graphics International. IEEE Comput. Soc. Press, Hasselt and Diepenbeek, Belgium, 56–63. https://doi.org/10.1109/CGI.1997.601272
- Yixuan Qiu. 2021. LBFGS++. https://github.com/yixuan/LBFGSpp
- Relux Informatik AG. 2022. ReluxDesktop. https://reluxnet.relux.com/en
- Michael Schwarz and Peter Wonka. 2014. Procedural Design of Exterior Lighting for Buildings with Complex Constraints. ACM Transactions on Graphics 33, 5 (sep 2014), 1–16. https://doi.org/10.1145/2629573
- Amit Shesh and Baoquan Chen. 2007. Crayon lighting: sketch-guided illumination of models. In Proceedings of the 5th international conference on Computer graphics and interactive techniques in Australia and Southeast Asia - GRAPHITE ’07. ACM Press, Perth, Australia, 95. https://doi.org/10.1145/1321261.1321278
- A global illumination solution for general reflectance distributions. In Proceedings of the 18th annual conference on Computer graphics and interactive techniques - SIGGRAPH '91. ACM Press. https://doi.org/10.1145/122718.122739
- Precomputed radiance transfer for real-time rendering in dynamic, low-frequency lighting environments. ACM Transactions on Graphics 21, 3 (jul 2002), 527–536. https://doi.org/10.1145/566654.566612
- LiteVis: Integrated Visualization for Simulation-Based Decision Support in Lighting Design. IEEE Transactions on Visualization and Computer Graphics 22, 1 (Jan. 2016), 290–299. https://doi.org/10.1109/TVCG.2015.2468011
- Jos Stam. 2020. Computing Light Transport Gradients using the Adjoint Method. (June 2020). arXiv:2006.15059 [cs.GR]
- Eric Veach. 1998. Robust Monte Carlo Methods for Light Transport Simulation. Ph. D. Dissertation. Stanford, CA, USA. Advisor(s) Guibas, Leonidas J. https://dl.acm.org/doi/10.5555/927297 AAI9837162.
- Path replay backpropagation. ACM Transactions on Graphics 40, 4 (aug 2021), 1–14. https://doi.org/10.1145/3450626.3459804
- LightGuider: Guiding Interactive Lighting Design using Suggestions, Provenance, and Quality Visualization. IEEE Transactions on Visualization and Computer Graphics (2019), 1–1. https://doi.org/10.1109/tvcg.2019.2934658
- Mark A. Wieczorek and Matthias Meschede. 2018. SHTools: Tools for Working with Spherical Harmonics. Geochemistry, Geophysics, Geosystems 19, 8 (aug 2018), 2574–2592. https://doi.org/10.1029/2018gc007529
- Efficient estimation of boundary integrals for path-space differentiable rendering. ACM Transactions on Graphics 41, 4 (jul 2022), 1–13. https://doi.org/10.1145/3528223.3530080
- Plenoxels: Radiance Fields without Neural Networks. (Dec. 2021). arXiv:2112.05131 [cs.CV]
- Monte Carlo estimators for differential light transport. ACM Transactions on Graphics 40, 4 (aug 2021), 1–16. https://doi.org/10.1145/3450626.3459807
- Path-space differentiable rendering. ACM Transactions on Graphics 39, 4 (2020). https://doi.org/10.1145/3386569.3392383
- A differential theory of radiative transfer. ACM Transactions on Graphics 38, 6 (2019). https://doi.org/10.1145/3355089.3356522