PathTracer.h
Go to the documentation of this file.00001 /**<!--------------------------------------------------------------------> 00002 @class PathTracer 00003 @author Travis Fischer (fisch0920@gmail.com) 00004 @author Matthew Jacobs (jacobs.mh@gmail.com) 00005 @date Fall 2008 00006 00007 @brief 00008 Unbiased path tracer with support for efficient direct illumination 00009 <!-------------------------------------------------------------------->**/ 00010 00011 #ifndef PATH_TRACER_H_ 00012 #define PATH_TRACER_H_ 00013 00014 #include <renderers/renderers/RayTracer.h> 00015 00016 class PathTracer : public RayTracer { 00017 public: 00018 ///@name Constructors 00019 //@{----------------------------------------------------------------- 00020 00021 inline PathTracer(RenderOutput *output = NULL, 00022 Camera *camera = NULL, 00023 Scene *scene = NULL) 00024 : RayTracer(output, camera, scene) 00025 { } 00026 00027 virtual ~PathTracer() 00028 { } 00029 00030 00031 //@}----------------------------------------------------------------- 00032 00033 virtual void init(); 00034 00035 protected: 00036 virtual void _evaluate(const Ray &ray, SpectralSampleSet &outRadiance, 00037 PropertyMap &data); 00038 00039 protected: 00040 bool m_efficientDirect; 00041 }; 00042 00043 #endif // PATH_TRACER_H_ 00044
Generated on 28 Feb 2009 for Milton by
1.5.6