Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

toxic::GlobalPhotonTracer Class Reference

#include <globalphotontracer.h>

Inheritance diagram for toxic::GlobalPhotonTracer:

toxic::IPhotonTracer List of all members.

Protected Member Functions

virtual void trace_photon (const Context &context, PhotonMap *photonmap, const Scene *scene, Ray ray, Color3 power) const

Member Function Documentation

void GlobalPhotonTracer::trace_photon const Context context,
PhotonMap photonmap,
const Scene scene,
Ray  ray,
Color3  power
const [protected, virtual]
 

Implements toxic::IPhotonTracer.

Definition at line 45 of file globalphotontracer.cpp.

References toxic::Color3::Average(), ENABLE_RADIANCES_PRECOMPUTATION, toxic::Hit::ExtractIntersection(), toxic::IObject::GetSurfaceShader(), toxic::IBDF::IsDiffuse(), sheep::Vector3::IsUnitLength(), toxic::ShadingData::m_bdf, toxic::Ray::m_direction, toxic::Statistics::m_gpm_photons, toxic::Hit::m_object, toxic::Ray::m_origin, toxic::Statistics::m_photon_rays, toxic::ShadingData::m_reflectance, toxic::Context::m_rng, toxic::Context::m_statistics, toxic::Ray::NewId(), sheep::MT19937RNG::RandomReal1(), toxic::IBDF::Sample(), toxic::ISurfaceShader::Shade(), toxic::PhotonMap::StorePhoton(), toxic::Scene::Trace(), toxic::SurfaceBasis::TransformToLocal(), and toxic::SurfaceBasis::TransformToWorld().


The documentation for this class was generated from the following files:
Generated on Tue May 11 01:31:57 2004 for toxic by doxygen 1.3.6