Refraction & BSDFs CS295, Spring 2017 Shuang Zhao Computer Science Department University of California, Irvine CS295, Spring 2017 Shuang Zhao 1
Last Lecture • Bidirectional path tracing II CS295, Spring 2017 Shuang Zhao 2
Today’s Lecture • Refraction & BSDFs • How light interacts with refractive interfaces (e.g., glass) CS295, Spring 2017 Shuang Zhao 3
Recap: Rendering Equation = + = + CS295, Spring 2017 Shuang Zhao 4
Reflection and Transmission Reflected Radiance L r Transmitted Radiance L t B R DF B T DF CS295, Spring 2017 Shuang Zhao 5
BSDFs Bidirectional Scattering Distribution Function (B S DF) CS295, Spring 2017 Shuang Zhao 6
Rendering Equation = + = + CS295, Spring 2017 Shuang Zhao 7
Smooth Dielectric BSDF • Used to model smooth interfaces like glass and water Reflected Refracted Incident Material interface • Snell’s law: η 1 sin θ 1 = η 2 sin θ 2 CS295, Spring 2017 Shuang Zhao 8
Smooth Dielectric BSDF Fresnel term CS295, Spring 2017 Shuang Zhao 9
Radiance Scaling • When light enters a medium with a higher refractive index, the same light energy is squeezed into a smaller volume, causing the radiance along each ray to increase CS295, Spring 2017 Shuang Zhao 10
Radiance Scaling (conservation of energy) CS295, Spring 2017 Shuang Zhao 11
Smooth Dielectric BSDF Fresnel term CS295, Spring 2017 Shuang Zhao 12
Smooth Dielectric BSDF Fresnel term CS295, Spring 2017 Shuang Zhao 13
Remarks • The scaling of ( η 2 / η 1 ) 2 should only be applied for radiance L , NOT importance W since there is no “conservation of energy” for W CS295, Spring 2017 Shuang Zhao 14
Rough Dielectric BSDFs Microfacet Models for Refraction through Rough Surfaces [Walter et al. 2009] Multiple-Scattering Microfacet BSDFs with the Smith Model [Heitz et al. 2016] CS295, Spring 2017 Shuang Zhao 15
Next Lecture • Radiative transfer • The mathematical model to simulate light scattering in participating media (e.g., smoke) and translucent materials (e.g., marble and skin) • Volume path tracing • Generalizing the path tracing algorithm to handle participating media CS295, Spring 2017 Shuang Zhao 16
Recommend
More recommend