1
Photon Mapping
Photon Mapping
Combines “backward”/ “reverse” ray tracing
with stochastic ray tracing
Used to simulate the interaction of light with
a variety transparent substances (caustics)
Glass Water Diffuse Inter-reflections between illuminated
- bjects
Effects of particulate matter
Smoke Water vapor
Photon Mapping - Motivation
Without With
Photon Mapping
Henrik Wann Jensen 95/96 Simulates the transport of individual photons
emitted from light sources
Photons bounce off specular surfaces Photons deposited on diffuse surfaces Photons collected by ray tracing from eye http://www.ypoart.com/
Spatial Subdivision
The collected photons will need to be
stored in an efficient, 3D accessible data structure
Spatial subdivision algorithms subdivide
the 3D space for quick and easy query.
Spatial Subdivision
Subdivide your scene volume into hierarchical regions
Octrees BSP Trees K-D Trees
Create a tree structure that indicates for each region:
if the region is empty the object present at that particular region
Used in
Ray Tracing Collision detection (animation) Photon Mapping