skip to main content
research-article

ZH3: Quadratic Zonal Harmonics

Published: 13 May 2024 Publication History

Abstract

Spherical Harmonics (SH) have been used widely to represent lighting in games and film. While the quadratic (SH3) and higher order spherical harmonics represent irradiance well, they are expensive to store and evaluate, requiring 27 coefficients per sample. Linear SH (SH2), requiring only 12 coefficients, are sometimes used, but they do not represent irradiance signals accurately and can have challenges with negative reconstruction. We introduce a new representation (ZH3) that augments linear SH with just the zonal coefficient of quadratic SH, yielding significant visual improvement with just 15 coefficients, and discuss how solving for a luminance zonal axis can significantly improve reconstruction accuracy and reduce color artifacts. We also discuss how, rather than storing the ZH3 coefficients explicitly, we can hallucinate them from the linear SH, improving reconstruction accuracy over linear SH at minimal extra cost.

References

[1]
Advanced Micro Devices, Inc. 2023. "RDNA3" Instruction Set Architecture Reference Guide. (Feb 2023). https://www.amd.com/content/dam/amd/en/documents/radeon-tech-docs/instruction-set-architectures/rdna3-shader- instruction- set-architecture-feb-2023_0.pdf
[2]
Paul Debevec. 2001. Light Probe Image Gallery. In Proceedings of SIGGRAPH, Vol. 98. https://vgl.ict.usc.edu/Data/HighResProbes/
[3]
Adrien Dubouchet, Peter-Pike Sloan, Wojciech Jarosz, and Derek Nowrouzezahrai. 2019. Impulse Responses for Precomputing Light from Volumetric Media. In Eurographics Symposium on Rendering - DL-only and Industry Track, Tamy Boubekeur and Pradeep Sen (Eds.). The Eurographics Association.
[4]
Paul Green, Jan Kautz, Wojciech Matusik, and Frédo Durand. 2006. View-Dependent Precomputed Light Transport Using Nonlinear Gaussian Function Approximations. In Proceedings of the 2006 Symposium on Interactive 3D Graphics and Games (Redwood City, California) (I3D '06). Association for Computing Machinery, New York, NY, USA, 7--14.
[5]
Michał Iwanicki. 2013. Lighting Technology of the Last of Us. In ACM SIGGRAPH 2013 Talks.
[6]
Michał Iwanicki and Peter-Pike Sloan. 2017. Ambient Dice. In "Eurographics Symposium on Rendering - Experimental Ideas & Implementations", Matthias Zwicker and Pedro Sander (Eds.). The Eurographics Association.
[7]
William Joseph. 2015. Reconstructing diffuse lighting from spherical harmonic data. In CEDEC. https://cedil.cesa.or.jp/cedil_sessions/view/1329
[8]
Gary McTaggart. 2004. Half-Life 2 source shading. In Game Developers Conference.
[9]
David Neubelt and Matt Pettineo. 2015. Advanced Lighting R&D at Ready At Dawn Studios. In SIGGRAPH 2015 Course: Physically Based Shading in Theory and Practice.
[10]
Ren Ng, Ravi Ramamoorthi, and Pat Hanrahan. 2003. All-Frequency Shadows Using Non-Linear Wavelet Lighting Approximation. ACM Trans. Graph. 22, 3 (July 2003), 376--381.
[11]
Derek Nowrouzezahrai, Patricio D. Simari, and Eugene Fiume. 2012. Sparse zonal harmonic factorization for efficient SH rotation. ACM Trans. Graph. 31, 3 (2012), 23:1--23:9.
[12]
Ravi Ramamoorthi and Pat Hanrahan. 2001. An efficient representation for irradiance environment maps. In SIGGRAPH 2001 Conference Proceedings, August 12-17, 2001, Los Angeles, CA, ACM (Ed.). ACM Press, pub-ACM:adr, 497--500.
[13]
Peter-Pike Sloan. 2008. Stupid Spherical Harmonics (SH) Tricks. In Game Developers Conference.
[14]
Peter-Pike Sloan. 2013. Efficient Spherical Harmonic Evaluation. Journal of Computer Graphics Techniques (JCGT) 2, 2 (8 September 2013).
[15]
Peter-Pike Sloan. 2017. Deringing Spherical Harmonics. In SIGGRAPH Asia 2017 Technical Briefs.
[16]
Peter-Pike Sloan, Ben Luna, and John Snyder. 2005. Local, Deformable Precomputed Radiance Transfer. ACM Trans. Graph. 24, 3 (July 2005), 9 pages.
[17]
Peter-Pike Sloan and Ari Silvennoinen. 2018. Directional Lightmap Encoding Insights. In SIGGRAPH Asia 2018 Technical Briefs.
[18]
Peter-Pike Sloan and Ari Silvennoinen. 2020. Precomputed Lighting Advances in Call of Duty: Modern Warfare. In SIGGRAPH Course: Advances in Real-Time Rendering in Games.
[19]
John Snyder. 1996. Area Light Sources for Real-Time Graphics. Technical Report MSR-TR-96-11. Microsoft Research. https://www.microsoft.com/en-us/research/wp-content/uploads/1996/03/arealights.pdf
[20]
Cyril Soler, Mahdi M. Bagher, and Derek Nowrouzezahrai. 2015. Efficient and Accurate Spherical Kernel Integrals Using Isotropic Decomposition. ACM Trans. Graph. 34, 5 (2015), 161:1--161:14.
[21]
Yu-Ting Tsai and Zen-Chung Shih. 2006. All-Frequency Precomputed Radiance Transfer Using Spherical Radial Basis Functions and Clustered Tensor Approximation. ACM Trans. Graph. 25, 3 (July 2006), 967--976.
[22]
Bernhard Vogl. 2010. Light probes. https://dativ.at/lightprobes/.
[23]
Tyler Wiederien and Peter-Pike Sloan. 2022. Tighter Spherical Harmonic Quantization Bound. In ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games - Posters.
[24]
Douglas R Wyman, Michael S Patterson, and Brian C Wilson. 1989. Similarity relations for anisotropic scattering in Monte Carlo simulations of deeply penetrating neutral particles. J. Comput. Phys. 81, 1 (1989), 137--150.
[25]
Hong Yuan, Derek Nowrouzezahrai, and Peter-Pike Sloan. 2012. Irradiance Rigs. Journal of Graphics Tools 16, 1 (2012).
[26]
Shuang Zhao, Ravi Ramamoorthi, and Kavita Bala. 2014. High-order Similarity Relations in Radiative Transfer. ACM Trans. Graph. 33, 4, Article 104 (July 2014), 12 pages.

Index Terms

  1. ZH3: Quadratic Zonal Harmonics

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image Proceedings of the ACM on Computer Graphics and Interactive Techniques
    Proceedings of the ACM on Computer Graphics and Interactive Techniques  Volume 7, Issue 1
    May 2024
    399 pages
    EISSN:2577-6193
    DOI:10.1145/3665094
    Issue’s Table of Contents
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 13 May 2024
    Published in PACMCGIT Volume 7, Issue 1

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. global illumination
    2. spherical harmonics

    Qualifiers

    • Research-article
    • Research
    • Refereed

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 64
      Total Downloads
    • Downloads (Last 12 months)64
    • Downloads (Last 6 weeks)4
    Reflects downloads up to 03 Mar 2025

    Other Metrics

    Citations

    View Options

    Login options

    Full Access

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media