The spica renderer
|
Public Member Functions | |
void | clear () |
virtual void | construct (const Scene &scene, RenderParams ¶ms, Sampler &sampler) |
virtual Spectrum | evaluateL (const SurfaceInteraction &po, int gatherPhotons, double gatherRadius) const |
Evaluate radiance at the point and to the direction. | |
virtual Spectrum | evaluateL (const MediumInteraction &mi, int gatherPhotons, double gatherRadius) const |
![]() | |
Uncopyable (const Uncopyable &)=delete | |
Uncopyable & | operator= (const Uncopyable &)=delete |
Protected Member Functions | |
void | knnFind (const Photon &photon, std::vector< Photon > *photons, int gatherPhotons, double gatherRadius) const |
void | tracePhoton (const Scene &scene, RenderParams ¶ms, const Ray &r, const Spectrum &b, Sampler &sampler, MemoryArena &arena, std::vector< Photon > *photons) |
Protected Attributes | |
KdTree< Photon > | _kdtree |