Top Banner
The Radiosit y Method Donald Fong February 10, 2004
22
Welcome message from author
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
Page 1: The Radiosity Method Donald Fong February 10, 2004.

The

RadiosityMethod

Donald FongFebruary 10, 2004

Page 2: The Radiosity Method Donald Fong February 10, 2004.

Why?

Ray tracing has a visual signature Only models perfect

specular reflection and transmission

Interaction between diffusely reflecting surfaces Interiors, matte surfaces,

indirect lighting

Page 3: The Radiosity Method Donald Fong February 10, 2004.

Basic idea

Divide surfaces into discrete patchesObject space algorithm

Model light transfer between patches as system of linear equations

Solve matrix equation for radiosity of each patchDo it for R,G,B

Render patches as colored polygons

Page 4: The Radiosity Method Donald Fong February 10, 2004.

Simplifying assumptions

All surfaces are perfectly diffuseDoes not matter which way light

enters or leaves a surface Radiosity is constant over a patch

Page 5: The Radiosity Method Donald Fong February 10, 2004.

Radiosity Equation

Bi is radiosity of patch i energy per unit area leaving a surface patch

per unit time rate energy emitted + rate energy reflected

Ei is non-zero for emitters Ri is reflectivity of the patch

Wavelength dependent Fij is the form factor – how much light patch j

contributes to patch i Depends on geometric relationship –

distance and relative orientation

Page 6: The Radiosity Method Donald Fong February 10, 2004.

Radiosity solution

Finding form factors Hemicube method

Meshing strategies Solving set of linear equations to get

radiosity for each patch

Page 7: The Radiosity Method Donald Fong February 10, 2004.

Form factor example

Almost 100%

Page 8: The Radiosity Method Donald Fong February 10, 2004.

Hemicube method

EfficientFq can be precomputed

ApproximateAliasing

Page 9: The Radiosity Method Donald Fong February 10, 2004.

Gauss-Siedel method

Iterative Generates sequence of vectors that

converges to the solution Slow

Page 10: The Radiosity Method Donald Fong February 10, 2004.

Gathering vs. Shooting

Gathering One iteration updates a

single patch by gathering contributions from all other patches

Shooting (and sorting) Single iteration updates all

receiving patches with unshot energy

Process patches according to amount of energy they are likely to radiate

Page 11: The Radiosity Method Donald Fong February 10, 2004.

Progressive radiosity

Page 12: The Radiosity Method Donald Fong February 10, 2004.

Another example

Page 13: The Radiosity Method Donald Fong February 10, 2004.

Problems

Aliasing from hemicube methodUniform pixel size

Using bilinear interpolation to reconstruct radiosity function

Using meshing of scene independent of variations in radiosity function

Page 14: The Radiosity Method Donald Fong February 10, 2004.

Hemicube aliasing

Limited resolution of the hemicube pixels

Patches of same size map to different number of cells

Page 15: The Radiosity Method Donald Fong February 10, 2004.

Reconstruction artifacts

Page 16: The Radiosity Method Donald Fong February 10, 2004.

Meshing artifacts

Shadow leakage

Light leakage

Page 17: The Radiosity Method Donald Fong February 10, 2004.

Meshing strategies

Discontinuity meshingCompleted before radiosity solutionPredict where discontinuities will occur

Adaptive meshingRefine a “start” mesh as the solution

progresses

Page 18: The Radiosity Method Donald Fong February 10, 2004.

Discontinuity meshing

Mesh around expected discontinuities Sharp boundaries from point

light source or object contact

Derivative discontinuities from area light sources and multi-object shadows

Page 19: The Radiosity Method Donald Fong February 10, 2004.

Hierarchical radiosity

Use different resolution depending on who is emitting and who is receiving

Page 20: The Radiosity Method Donald Fong February 10, 2004.

Remeshing example

Page 21: The Radiosity Method Donald Fong February 10, 2004.

Summary

Diffuse onlyCostly to add

specular Not efficient

MeshingMemory intensive

Page 22: The Radiosity Method Donald Fong February 10, 2004.

Two pass solution