transport.h File Reference

#include "pbrt.h"
#include "primitive.h"
#include "color.h"
#include "light.h"
#include "reflection.h"
#include "sampling.h"
#include "material.h"

Go to the source code of this file.

Classes

class  Integrator
class  SurfaceIntegrator

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=-1, int lightNumOffset=-1, int bsdfSampleOffset=-1, int bsdfComponentOffset=-1)
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)


Function Documentation

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 = -1,
int  lightNumOffset = -1,
int  bsdfSampleOffset = -1,
int  bsdfComponentOffset = -1 
)

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