Analytic spherical harmonic coefficients for polygonal area lights

Spherical Harmonic (SH) lighting is widely used for real-time rendering within Precomputed Radiance Transfer (PRT) systems. SH coefficients are precomputed and stored at object vertices, and combined interactively with SH lighting coefficients to enable effects like soft shadows, interreflections, and glossy reflection. However, the most common PRT techniques assume distant, low-frequency environment lighting, for which SH lighting coefficients can easily be computed once per frame. There is currently limited support for near-field illumination and area lights, since it is non-trivial to compute the SH coefficients for an area light, and the incident lighting (SH coefficients) varies over the object geometry. We present an efficient closed-form solution for projection of uniform polygonal area lights to spherical harmonic coefficients of arbitrary order, enabling easy adoption of accurate area lighting in PRT systems, with no modifications required to the core PRT framework. Our method only requires computing zonal harmonic (ZH) coefficients, for which we introduce a novel recurrence relation. In practice, ZH coefficients are built up iteratively, with computation linear in the desired SH order. General SH coefficients can then be obtained by the recently developed sparse zonal harmonic rotation method.

[1]  Jan Kautz,et al.  Precomputed radiance transfer for real-time rendering in dynamic, low-frequency lighting environments , 2002 .

[2]  Kun Zhou,et al.  Real-time soft shadows in dynamic scenes using spherical harmonic exponentiation , 2006, ACM Trans. Graph..

[3]  Daniel R. Baum,et al.  Improving radiosity solutions through the use of analytically determined form-factors , 1989, SIGGRAPH.

[4]  David P. Stern,et al.  CLASSIFICATION OF MAGNETIC SHELLS , 1965 .

[5]  Pat Hanrahan,et al.  All-frequency shadows using non-linear wavelet lighting approximation , 2003, ACM Trans. Graph..

[6]  Peter-Pike J. Sloan,et al.  Local, deformable precomputed radiance transfer , 2005, ACM Trans. Graph..

[7]  John Snyder Area Light Sources for Real-Time Graphics , 1996 .

[8]  Peter-Pike J. Sloan,et al.  Clustered principal components for precomputed radiance transfer , 2003, ACM Trans. Graph..

[9]  L. M. M.-T. Spherical Harmonics: an Elementary Treatise on Harmonic Functions, with Applications , 1928, Nature.

[10]  Kun Zhou,et al.  Precomputed shadow fields for dynamic scenes , 2005, ACM Trans. Graph..

[11]  Laurent Belcour,et al.  A spherical cap preserving parameterization for spherical distributions , 2017, ACM Trans. Graph..

[12]  Bo Sun,et al.  Affine double- and triple-product wavelet integrals for rendering , 2009, TOGS.

[13]  Timo Aila,et al.  PantaRay: fast ray-traced occlusion caching of massive scenes , 2010, ACM Trans. Graph..

[14]  Derek Nowrouzezahrai,et al.  Sparse zonal harmonic factorization for efficient SH rotation , 2012, TOGS.

[15]  Eric Heitz,et al.  Real-time polygonal-light shading with linearly transformed cosines , 2016, ACM Trans. Graph..

[16]  Mark Meyer,et al.  Integrating Clipped Spherical Harmonics Expansions , 2018, ACM Trans. Graph..

[17]  James Arvo,et al.  Applications of irradiance tensors to the simulation of non-Lambertian phenomena , 1995, SIGGRAPH.

[18]  Min Chen,et al.  Simulating Non-Lambertian Phenomena Involving Linearly-Varying Luminaires , 2001, Rendering Techniques.

[19]  Zen-Chung Shih,et al.  All-frequency precomputed radiance transfer using spherical radial basis functions and clustered tensor approximation , 2006, ACM Trans. Graph..