photonmap.cpp File Reference

#include "photonmap.h"
#include "light.h"
#include "mc.h"
#include "spectrumwavelengths.h"
#include "error.h"
#include "osfunc.h"
#include <fstream>
#include <boost/thread/xtime.hpp>
Include dependency graph for core/photonmap.cpp:

Go to the source code of this file.

Namespaces

namespace  lux

Functions

static bool lux::unsuccessful (int needed, int found, int shot)
void lux::PhotonMapPreprocess (const TsPack *tspack, const Scene *scene, const string *mapFileName, const BxDFType photonBxdfType, const BxDFType radianceBxdfType, u_int nDirectPhotons, u_int nRadiancePhotons, RadiancePhotonMap *radianceMap, u_int nIndirectPhotons, LightPhotonMap *indirectMap, u_int nCausticPhotons, LightPhotonMap *causticMap, u_int maxDepth)
SWCSpectrum lux::PhotonMapFinalGatherWithImportaceSampling (const TsPack *tspack, const Scene *scene, const Sample *sample, int sampleFinalGather1Offset, int sampleFinalGather2Offset, int gatherSamples, float cosGatherAngle, PhotonMapRRStrategy rrStrategy, float rrContinueProbability, const LightPhotonMap *indirectMap, const RadiancePhotonMap *radianceMap, const Vector &wo, const BSDF *bsdf, const BxDFType bxdfType)
SWCSpectrum lux::PhotonMapFinalGather (const TsPack *tspack, const Scene *scene, const Sample *sample, int sampleFinalGatherOffset, int gatherSamples, PhotonMapRRStrategy rrStrategy, float rrContinueProbability, const LightPhotonMap *indirectMap, const RadiancePhotonMap *radianceMap, const Vector &wo, const BSDF *bsdf, const BxDFType bxdfType)
Generated by  doxygen 1.6.2-20100208