{"title":"Algorithms for spherical harmonic lighting","authors":"I. Lisle, Tracy Shih-lung Huang","doi":"10.1145/1321261.1321303","DOIUrl":null,"url":null,"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.","PeriodicalId":360852,"journal":{"name":"Conference on Computer Graphics and Interactive Techniques in Australasia and Southeast Asia","volume":"22 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2007-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Conference on Computer Graphics and Interactive Techniques in Australasia and Southeast Asia","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1321261.1321303","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9
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.