PathTracer Class Reference

Unbiased path tracer with support for efficient direct illumination. More...

#include <PathTracer.h>

Inheritance diagram for PathTracer:

RayTracer PointSampleRenderer Renderer PropertyMap

List of all members.

Public Member Functions

virtual void init ()
 Performs any initialization which may be necessary before beginning to render the underlying scene.
Constructors
 PathTracer (RenderOutput *output=NULL, Camera *camera=NULL, Scene *scene=NULL)
virtual ~PathTracer ()

Protected Member Functions

virtual void _evaluate (const Ray &ray, SpectralSampleSet &outRadiance, PropertyMap &data)
 Evaluates the radiance propogating in the opposite direction of the given ray using some type of illumination model.

Protected Attributes

bool m_efficientDirect


Detailed Description

Unbiased path tracer with support for efficient direct illumination.

Author:
Travis Fischer (fisch0920@gmail.com)

Matthew Jacobs (jacobs.mh@gmail.com)

Date:
Fall 2008

Definition at line 16 of file PathTracer.h.


Constructor & Destructor Documentation

PathTracer::PathTracer ( RenderOutput output = NULL,
Camera camera = NULL,
Scene scene = NULL 
) [inline]

Definition at line 21 of file PathTracer.h.

virtual PathTracer::~PathTracer (  )  [inline, virtual]

Definition at line 27 of file PathTracer.h.


Member Function Documentation

void PathTracer::init (  )  [virtual]

Performs any initialization which may be necessary before beginning to render the underlying scene.

Note:
Default implementation ensures we have a valid scene and camera and calls init on both of them respectively

Reimplemented from Renderer.

Definition at line 20 of file PathTracer.cpp.

void PathTracer::_evaluate ( const Ray ray,
SpectralSampleSet outRadiance,
PropertyMap data 
) [protected, virtual]

Evaluates the radiance propogating in the opposite direction of the given ray using some type of illumination model.

Returns:
the spectral radiance emitted from the first surface intersected along the given ray in the opposite direction from the ray in the out param 'outRadiance'

Implements RayTracer.

Definition at line 26 of file PathTracer.cpp.


Member Data Documentation

Definition at line 40 of file PathTracer.h.


The documentation for this class was generated from the following files:

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6