Interreflections and Radiosity : The Forward Problem Lecture #11 Thanks to Kavita Bala, Pat...
-
date post
23-Jan-2016 -
Category
Documents
-
view
215 -
download
0
Transcript of Interreflections and Radiosity : The Forward Problem Lecture #11 Thanks to Kavita Bala, Pat...
Interreflections and Radiosity :
The Forward Problem
Lecture #11
Thanks to Kavita Bala, Pat Hanrahan, Doug James, Ledah Casburn
Cornell Box
blue huered hue
Phong Shading
•no shadows
•no object interactions
Plastic looking scene
Ray Tracing
Scene doesn’t look realistic enough.
• where is the corner of room?
• is the carpet and wood supposed to be this dark?
• is window flush with wall?
Radiosity – today’s topic
• carpet and wood on table is lighter
Indirect lighting affects realism.
• window has depth
• walls look more pink
• room has a corner
The Rendering Equation – Graph Style
p p’
p’’
Visibility(shadows)
Emission(light source)
Reflectance from Surfaces
source viewer
Diffuse Interreflections - Radiosity
• Consider lambertian surfaces and sources.
• Radiance independent of viewing direction.
• Consider total power leaving per unit area of a surface.
• Can simulate soft shadows and color bleeding from diffuse surfaces.
• Used abundantly in heat transfer literature
Irradiance, Radiosity
• Irradiance E is the power received per unit surface area
– Units: W/m2
• Radiosity – Power per unit area leaving the surface (like irradiance)
Planar piecewise constancy assumption
•Subdivide scene intosmall “uniform” polygons
N
jjieii jiFi
1
)(:
Power Equation
• Power from each polygon:
•Linear System of Equations:
i jA A
xyxy
yx
j
dAdAyxVrA
ijF ),(coscos1
)(2
Form Factors Invariant
i jA A
xyxy
yx
j
dAdAyxVrA
ijF ),(coscos1
)(2
ji AijFAjiF )()(
j iA A
yxxy
yx
i
dAdAyxVrA
jiF ),(coscos1
)(2
Form Factor Computation
•Schroeder and Hanrahan derived an analytic expression for polygonal surfaces.
•In general, computing double integral is hard.
•Use Monte Carlo Integration.
i jA A
yyxy
yx
j
dAdAyxVrA
ijF ),(coscos1
)(2
Form Factor Computation
Form Factor Computation
Linear System of Radiosity Equations
KnownKnown
Unknown
• Matrix Inversion to Solve for Radiosities.
Doug James
Wireframe
•ClassicalApproach
•NoInterpolation
Wireframe
•ClassicalApproach
•Low Res
•ClassicalApproach
•High Res
•More accurate
•ClassicalApproach
•High Res
•Interpolated
Sample Scenes
Sample Scenes
Sample Scenes
Sample Scenes
Sample Scenes
Summary
Doug James
Two Pass Solution
• First Pass: Diffuse Interreflections
View independent, global diffuse illuminationcomputed with radiosity.
• Second Pass: Specular Interreflections
View dependent, global specular illuminationcomputed with ray-tracing.
• Combine strengths of radiosity and ray-tracing.
Interreflections :
The Inverse Problem
Lecture #12