Simulating Indirect Illumination

[ LiB ]

Simulating Indirect Illumination

Indirectly reflecting light from one surface to another is easily simulated using photon mapping. The photon map was constructed by direct and indirect incoming flux. The photon map is very good at telling the indirect energy in a given area. For this reason, some programmers use photon mapping only for indirect illumination and use ray tracing for all direct illumination effects. The only energy that is recorded in the photon map is the energy that is reflected. This means the photon map is constructed only by reflected energy. Figure 14.10 shows an example of direct illumination done with ray tracing and indirect illumination done with photon mapping.

Figure 14.10. An exam ple of indirect illumination (done with photon map ping) and direct illumination (done with ray tracing).

graphic/14fig10.gif


[ LiB ]


Focus On Photon Mapping
Focus On Photon Mapping (Premier Press Game Development)
ISBN: 1592000088
EAN: 2147483647
Year: 2005
Pages: 128
Authors: Marlon John

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net