#include <whitted.h>
Public Member Functions | |
Spectrum | Li (const Scene *scene, const Renderer *renderer, const RayDifferential &ray, const Intersection &isect, const Sample *sample, RNG &rng, MemoryArena &arena) const |
WhittedIntegrator (int md) | |
Private Attributes | |
int | maxDepth |
Definition at line 37 of file whitted.h.
WhittedIntegrator::WhittedIntegrator | ( | int | md | ) | [inline] |
Spectrum WhittedIntegrator::Li | ( | const Scene * | scene, | |
const Renderer * | renderer, | |||
const RayDifferential & | ray, | |||
const Intersection & | isect, | |||
const Sample * | sample, | |||
RNG & | rng, | |||
MemoryArena & | arena | |||
) | const [virtual] |
Implements SurfaceIntegrator.
Definition at line 32 of file whitted.cpp.
References AbsDot(), Ray::d, Ray::depth, BSDF::dgShading, BSDF::f(), Intersection::GetBSDF(), CoefficientSpectrum< nSamples >::IsBlack(), Intersection::Le(), Scene::lights, maxDepth, DifferentialGeometry::nn, DifferentialGeometry::p, Intersection::rayEpsilon, SpecularReflect(), SpecularTransmit(), Ray::time, VisibilityTester::Transmittance(), and VisibilityTester::Unoccluded().
int WhittedIntegrator::maxDepth [private] |
Definition at line 48 of file whitted.h.
Referenced by Li(), and WhittedIntegrator().