This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Spherical Harmonic Lighting of Spherical Harmonic Lighting of Wavelength-dependent Wavelength-dependent PhenomenaPhenomenaClifford Lindsay, Emmanuel AguClifford Lindsay, Emmanuel AguWorcester Polytechnic Institute Worcester Polytechnic Institute (USA)(USA)
Introduction
Modeling of Light Interference As A BRDFModeling of Light Interference As A BRDF
Compactly Store Surface Response and Compactly Store Surface Response and Hemispheric Light Contribution In Terms Of Hemispheric Light Contribution In Terms Of Spherical Harmonic CoefficientsSpherical Harmonic Coefficients
Evaluation of Light And Reflection Is Done on GPUEvaluation of Light And Reflection Is Done on GPU
Working With Spectral Color Space Instead of RGBWorking With Spectral Color Space Instead of RGB
Spherical Harmonics
xBcN
iii
1
,mly
N
jjiji xyxf
Nc
1
4
We can then use We can then use these coefficients to these coefficients to reconstruct an reconstruct an approximation to the approximation to the original signaloriginal signal
We can use spherical We can use spherical harmonics to approximate the harmonics to approximate the original, where original, where ccii is a vector of is a vector of SH coefficientSH coefficient
Spherical harmonics is a set of Spherical harmonics is a set of basis functions defined in basis functions defined in spherical coordinatesspherical coordinates
InterferenceInterferenceFactors that Affect Light InterferenceFactors that Affect Light Interference::
Refractive index and thickness of the thin filmRefractive index and thickness of the thin film Refractive indices of the media 1 & 2Refractive indices of the media 1 & 2 Incident Angle Incident Angle and incident SPD (Spectral Power and incident SPD (Spectral Power
Distribution)Distribution)
Spectral BRDFSpectral BRDF
Just Like Regular BRDFs (but different)Just Like Regular BRDFs (but different) Rendering equationRendering equation Function of 4 angles (incident, reflection)Function of 4 angles (incident, reflection) ConservativeConservative
What’s Different?What’s Different? Different Color InteractionDifferent Color Interaction Different Material InteractionDifferent Material Interaction Different Viewer Interaction (non-reciprocalDifferent Viewer Interaction (non-reciprocal))
Real-time rendering of complex materials Real-time rendering of complex materials previously available to offline renderers (ray previously available to offline renderers (ray tracers)tracers)
Data and Data structures that are GPU friendlyData and Data structures that are GPU friendly
Evaluation of Spherical Harmonics is a linear Evaluation of Spherical Harmonics is a linear operationoperation
Increased realism with Image Based Lighting and Increased realism with Image Based Lighting and accurate BRDFs with GPU accelerationaccurate BRDFs with GPU acceleration