R3Point pos
: The position of the photonRNRgb power
: The power of the photon, in RGBR3Point direction
: The direction that the photon came fromR3Point from
: The point that this photon came from (a light or a surface) char type
: Whether the photon was emitted directly or produced from a specular, diffuse, or transmissive intersectionJello Cube with Global Illumination Photon Map | Jello Cube with Caustic Photon Map and Global Map |
src/photonmap input/prism.scn output/caustic.jpg -resolution 200 200 -n 2000000 -r 500
|
src/photonmap input/prism.scn output/caustic.jpg -resolution 200 200 -n 2000000 -r 500 -caustic
|
Cornell Box Photon Density Map |
Cornell Box Photon Visualization | Still Life Photon Visualization |
Direct Lighting Only | Monte Carlo Path Tracing (with russian roulette) and Direct Lighting |
Photon Map, Direct Lighting, and Path Tracing 500000 photons, 200 nearest photons src/photonmap input/cornell.scn output/all.jpg -resolution 300 300 -n 500000 -r 200
|
50 Photon Neighborhood | 200 Photon Neighborhood | 500 Photon Neighborhood |
Jello Cube showing Caustics | Cornell Box showing interreflection |