transport.cpp File Reference

#include "transport.h"
#include "scene.h"

Go to the source code of this file.

Functions

COREDLL Spectrum UniformSampleAllLights (const Scene *scene, const Point &p, const Normal &n, const Vector &wo, BSDF *bsdf, const Sample *sample, int *lightSampleOffset, int *bsdfSampleOffset, int *bsdfComponentOffset)
COREDLL Spectrum UniformSampleOneLight (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)
COREDLL Spectrum 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)
Spectrum EstimateDirect (const Scene *scene, const Light *light, const Point &p, const Normal &n, const Vector &wo, BSDF *bsdf, const Sample *sample, int lightSamp, int bsdfSamp, int bsdfComponent, u_int sampleNum)


Function Documentation

Spectrum EstimateDirect ( const Scene scene,
const Light light,
const Point p,
const Normal n,
const Vector wo,
BSDF bsdf,
const Sample sample,
int  lightSamp,
int  bsdfSamp,
int  bsdfComponent,
u_int  sampleNum 
)

COREDLL Spectrum UniformSampleAllLights ( const Scene scene,
const Point p,
const Normal n,
const Vector wo,
BSDF bsdf,
const Sample sample,
int *  lightSampleOffset,
int *  bsdfSampleOffset,
int *  bsdfComponentOffset 
)

COREDLL Spectrum UniformSampleOneLight ( 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 
)

COREDLL Spectrum 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 Jul 20 17:31:54 2009 for pbrt by  doxygen 1.5.6