580 likes | 594 Views
Learn about the limitations of local illumination in rendering and explore the concept of radiosity for indirect illumination in computer graphics. Discover the radiosity equation, form factor computation, and the use of techniques like Hemicube and Monte Carlo.
E N D
CPSC 641 Computer Graphics: Radiosity Jinxiang Chai
Local Illumination Ir = kaIa + Ii (kd (n.l) + ks(h.n)m ) ambient diffuse specular
Local Illumination Ir = kaIa + Ii (kd (n.l) + ks(h.n)m ) ambient diffuse specular
Local Illumination Ir = kaIa + Ii (kd (n.l) + ks(h.n)m ) ambient diffuse specular • if there are multiple lights there is a sum of the specular and diffuse components for each light
Local Illumination Ir = kaIa + Ii (kd (n.l) + ks(h.n)m ) ambient diffuse specular • if there are multiple lights there is a sum of the specular and diffuse components for each light What are limitations of local illumination?
Rendering: Illumination Computing • Direct (local) illumination • Light directly from light sources • No shadows
Rendering: Illumination Computing • Direct (local) illumination • Light directly from light sources • No shadows • Indirect (global) illumination • Hard and soft shadows • Diffuse interreflections (radiosity) • Glossy interreflections (caustics)
Challenge • To evaluate the reflection equation • the incoming radiance must be known • To evaluate the incoming radiance • the reflected radiance must be known
Radiosity • Only consider inter-reflections between diffuse surfaces!
Energy Conservation Equation Form factor
Compute Form Factors Radiant energy reaching Ay from Ax Radiant energy leaving Ax in all directions
Form Factor: How to compute? • Closed Form • - anlytical • Hemicube • Monte Carlo
Form Factor: How to compute? • Closed Form • - anlytical • Hemicube • Monte Carlo
Form Factor: Nusselt Analog Why is it true?
Form Factor: Nusselt Analog How can we use this property?
Form Factor: Nusselt Analog How can we use this property? - Speed up form-factor evaluation
Delta Form Factor: Top Face Top of hemicube
Delta Form Factors: Side Faces Side of hemicube
How to Solve Linear System? • Matrix conversion • Iterative approaches • - Jacobian • - Gauss-Seidel