This appendix contains a full C++ implementation of a photon map class. This class can be integrated into any ray tracer to provide the basic tool to add caustics and simple global illumination. The ...