Module raytracer

Class PathTracer

All Implemented Interfaces:
RayProcessor, Cloneable
Direct Known Subclasses:
BiDirectionalProcessor, LineTracer

public class PathTracer extends RayProcessorBase
This class implements a physically correct path tracer. The computation is done using the formulas for bidirectional path tracing in Eric Veach's PhD thesis "Robust Monte Carlo Methods for Light Transport Simulation". However note that the implemented path tracer is a standard path tracer which creates random paths starting at the eye and directly connects each created vertex with all lights in the scene. So in the terminology of bidirectional path tracing, only light subpaths consisting of a single light vertex are considered (or zero light vertices in case of a ray which hits a light surface).
Author:
Ole Kniemeyer