Docsity

Radiosity - Computer Graphics - Lecture Slides, Slides of Computer Science

Partial preview of the text

Download Radiosity - Computer Graphics - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

MIT EECS 6.837, Durand and Cutler

Global

Illumination:

Radiosity

MIT EECS 6.837, Durand and Cutler

Last Time?

Shadow Volumes

(Stencil Buffer)

Shadow Maps

Projective Texture Shadows

Planar Shadows (Texture Mapping)

Why Radiosity?

eye

  • Sculpture by John Ferren •^

Diffuse

panels

photograph:

diagram from above:

Radiosity vs. Ray Tracing

Ray traced image. A standard ray tracer cannot simulate the interreflection of light between diffuse surfaces.

Image rendered with radiosity. note color bleeding effects.

Original sculpture by John Ferren lit by daylight from behind.

The Cornell Box

2 bounces

direct illumination

(0 bounces)

1 bounce

Courtesy of

Micheal Callahan

. Used with permission

http://www.cs.utah.edu/~shirley/classes/cs684_98/students/callahan/bounce/

The Cornell Box • Careful calibration and measurement allows for

comparison between physical scene & simulation

Light Measurement Laboratory Images removed due to copyright considerations.Cornell University, Program for Computer Graphics

Today • Why Radiosity

  • The Cornell Box – Radiosity vs. Ray Tracing
    • Global Illumination: The Rendering Equation • Radiosity Equation/Matrix • Calculating the Form Factors • Progressive Radiosity • Advanced Radiosity

The Rendering Equation

x'

ω'

L(x',

ω') = E(x',

ω') +

∫^ ρ

(ωx '

,ω

')L(x,

ω)G(x,x')V(x,x') dA

L (x',

ω') is the radiance from a point on a surface in a given direction

ω

The Rendering Equation

x'

ω'

L(x',

ω') = E(x',

ω') +

∫^ ρ

(ωx '

,ω

')L(x,

ω)G(x,x')V(x,x') dA

Sum the contribution from all of^ the other surfaces in the scene

The Rendering Equation

x'

ω'

ω

x

L(x',

ω') = E(x',

ω') +

∫^ ρ

(ωx '

,ω

')L(x,

ω)G(x,x')V(x,x') dA

For each x, compute L(x,

ω

),^

the radiance

at point x in the direction

ω

(from x to x')

The Rendering Equation

For each x, compute V(x,x'), the visibility between x and x': 1 when the surfaces are unobstructed^ along the direction

ω

x' , 0 otherwise

ω'

ω

x

L(x',

ω') = E(x',

ω') +

∫^ ρ

(ωx '

,ω

')L(x,

ω)G(x,x')V(x,x') dA

The Rendering Equation

x'

ω'

ω

x

L(x',

ω') = E(x',

ω') +

∫^ ρ

(ωx '

,ω

')L(x,

ω)G(x,x')V(x,x') dA

For each x, compute G(x, x'), which describes the on the geometric relationship

between the two surfaces at x and x’

Today • Why Radiosity

  • The Cornell Box – Radiosity vs. Ray Tracing
    • Global Illumination: The Rendering Equation • Radiosity Equation/Matrix • Calculating the Form Factors • Progressive Radiosity • Advanced Radiosity

Radiosity Overview •^

Surfaces are assumed to beperfectly Lambertian (diffuse)^ –^

reflect incident light in alldirections with equal intensity

-^

The scene is divided into a set ofsmall areas, or patches.

-^

The radiosity, B

, of patch i

i^ is the

total rate of energy leaving asurface. The radiosity over a patchis constant.

-^

Units for radiosity: Watts / steradian * meter

2

x'

ω'