next up previous
Next: Global Photon Map (indirect Up: Pass 1: Photon Tracing Previous: Pass 1: Photon Tracing

Generation of the Photons

In order to generate the photons we have to uniformly sample the different light sources. In the case of the sphere, extending sampling procedures seen in the course:

If the scene is far from the light source or we are generating caustics this is not efficient, because a large number of photons will be sent towards empty positions, hence wasting processing time. In this case, we can include the scene (or object that produces caustics) in a sphere, and draw samples uniformly distribuited over this bounding sphere (this is a simplified implementation of the projection maps).

Although this improves considerable the quality of our results, some restrictions apply:

Finally, the number of photons sent from each light has to be carefully balanced. Each light sends a number of photos proportional to the power they contribute to the scene. In general:


next up previous
Next: Global Photon Map (indirect Up: Pass 1: Photon Tracing Previous: Pass 1: Photon Tracing
Francisco Luis Adarve Martín 2004-12-08