transport.cpp File Reference

#include "transport.h"
#include "scene.h"
#include "bxdf.h"
#include "light.h"
#include "mc.h"

Go to the source code of this file.

Namespaces

namespace  lux

Functions

static SWCSpectrum lux::EstimateDirect (const Scene *scene, const Light *light, const Point &p, const Normal &n, const Vector &wo, BSDF *bsdf, float ls1, float ls2, float ls3, float bs1, float bs2, float bcs)
SWCSpectrum lux::UniformSampleAllLights (const Scene *scene, const Point &p, const Normal &n, const Vector &wo, BSDF *bsdf, const Sample *sample, int *lightSampleOffset, int *bsdfSampleOffset, int *bsdfComponentOffset)
SWCSpectrum lux::UniformSampleAllLights (const Scene *scene, const Point &p, const Normal &n, const Vector &wo, BSDF *bsdf, const Sample *sample, float *lightSample, float *lightNum, float *bsdfSample, float *bsdfComponent)
SWCSpectrum lux::UniformSampleOneLight (const Scene *scene, const Point &p, const Normal &n, const Vector &wo, BSDF *bsdf, const Sample *sample, float *lightSample, float *lightNum, float *bsdfSample, float *bsdfComponent)
SWCSpectrum lux::WeightedSampleOneLight (const Scene *scene, const Point &p, const Normal &n, const Vector &wo, BSDF *bsdf, const Sample *sample, int lightSampleOffset, int lightNumOffset, int bsdfSampleOffset, int bsdfComponentOffset, float *&avgY, float *&avgYsample, float *&cdf, float &overallAvgY)


Generated on Mon May 18 07:13:21 2009 for lux by  doxygen 1.5.8