#include <iphotontracer.h>
Inheritance diagram for toxic::IPhotonTracer:

Public Member Functions | |
| virtual | ~IPhotonTracer () |
| virtual void | BuildPhotonMap (const Context &context, PhotonMap *photonmap, const Scene *scene, int photon_count, sheep::ProgressMonitor *progmon=0) const |
Protected Member Functions | |
| virtual void | emit_photons (const Context &context, PhotonMap *photonmap, const Scene *scene, const ILight *light, int photon_count, sheep::ProgressMonitor *progmon) const |
| virtual void | trace_photon (const Context &context, PhotonMap *photonmap, const Scene *scene, Ray ray, Color3 power) const=0 |
|
|
Definition at line 40 of file iphotontracer.h. |
|
||||||||||||||||||||||||
|
'nphotons' is the number of photons to trace for the whole scene (it is then divided amongst all lights).
Definition at line 34 of file iphotontracer.cpp. References emit_photons(), toxic::Scene::GetLight(), toxic::Scene::GetLightCount(), and toxic::PhotonMap::ScalePhotonPower(). |
|
||||||||||||||||||||||||||||
|
Definition at line 77 of file iphotontracer.cpp. References toxic::ILight::GeneratePhotonRay(), toxic::ILight::GetPower(), and trace_photon(). Referenced by BuildPhotonMap(). |
|
||||||||||||||||||||||||
|
Implemented in toxic::CausticsPhotonTracer, and toxic::GlobalPhotonTracer. Referenced by emit_photons(). |
1.3.6