Abstract
Spherical harmonic (SH) lighting models require efficient and general libraries for evaluation of SH functions and of Wigner matrices for rotation. We introduce an efficient algebraic recurrence for evaluation of SH functions, and also implement SH rotation via Wigner matrices constructed for the real SH basis by a recurrence. Using these algorithms, we provide a freely distributable C / OpenGL implementation for SH diffuse unshadowed, shadowed and inter-reflected models. Our implementation allows flexible switching of scene, light probe, SH degree and lighting model at run time.
Original language | English |
---|---|
Title of host publication | GRAPHITE 2007: Proceedings of the 5th International Conference on Computer Graphics and Interactive Techniques in Australia and Southeast Asia |
Editors | S Spencer |
Place of Publication | New York |
Publisher | Association for Computing Machinery (ACM) |
Pages | 235-238 |
Number of pages | 4 |
ISBN (Print) | 9781595939128 |
Publication status | Published - 2007 |
Event | GRAPHITE 2007 - Perth, Australia Duration: 1 Dec 2007 → 4 Dec 2007 |
Conference
Conference | GRAPHITE 2007 |
---|---|
Country/Territory | Australia |
City | Perth |
Period | 1/12/07 → 4/12/07 |