PathTrArch.cc

Go to the documentation of this file.
00001 #include <gra/arch/PathTrArch.h>
00002 
00003 using namespace gra;
00004 
00005 PathTrArch::PathTrArch(PathTrArch::Params& params)
00006     : RayTrArch(params)
00007 {
00008     if (_pRTReflection) delete _pRTReflection;
00009     
00010     _pRTReflection = new PathTracing(new AutoPtr<LocalReflection>(new LocalReflection(NULL, NULL, NULL, LocalReflection::SD_GEOMETRY_SAMPLING, params.shadowRays,  params.cacheDepth)),
00011                                      _background,
00012                                      _pIntersector,
00013                                      params.maxRecDepth,
00014                                      params.minRecWeight,
00015                                      REFR_AIR,
00016                                      params.nRaysDiff);
00017 }

Generated on Tue Nov 21 15:11:42 2006 for gra by  doxygen 1.4.6