Logo Search packages:      
Sourcecode: yafaray version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

pathIntegrator_t Class Reference

Inheritance diagram for pathIntegrator_t:
Inheritance graph
Collaboration diagram for pathIntegrator_t:
Collaboration graph

List of all members.

Public Types


Public Member Functions

virtual void cleanup ()
virtual std::string getName () const
virtual std::string getSettings () const
virtual std::string getShortName () const
virtual colorA_t integrate (renderState_t &state, diffRay_t &ray) const
TYPE integratorType ()
 pathIntegrator_t (bool transpShad=false, int shadowDepth=4)
virtual void precalcDepths ()
virtual void prePass (int samples, int offset, bool adaptive)
 Called before the proper rendering of all the tiles starts.
virtual bool preprocess ()
virtual void preRender ()
 Called before the render starts and after the minDepth and maxDepth are calculated.
virtual void preTile (renderArea_t &a, int n_samples, int offset, bool adaptive, int threadID)
 Called brfore each tile is rendered.
virtual bool render (imageFilm_t *imageFilm)
virtual bool renderPass (int samples, int offset, bool adaptive)
virtual bool renderTile (renderArea_t &a, int n_samples, int offset, bool adaptive, int threadID)
virtual void setProgressBar (progressBar_t *pb)
void setScene (scene_t *s)
 this MUST be called before any other member function!

Static Public Member Functions

static integrator_tfactory (paraMap_t &params, renderEnvironment_t &render)

Protected Member Functions

virtual bool createCausticMap ()
virtual color_t doLightEstimation (renderState_t &state, light_t *light, const surfacePoint_t &sp, const vector3d_t &wo, const unsigned int &loffs) const
virtual color_t estimateAllDirectLight (renderState_t &state, const surfacePoint_t &sp, const vector3d_t &wo) const
virtual color_t estimateCausticPhotons (renderState_t &state, const surfacePoint_t &sp, const vector3d_t &wo) const
virtual color_t estimateOneDirectLight (renderState_t &state, const surfacePoint_t &sp, vector3d_t wo, int n) const
virtual void recursiveRaytrace (renderState_t &state, diffRay_t &ray, BSDF_t bsdfs, surfacePoint_t &sp, vector3d_t &wo, color_t &col, float &alpha) const
virtual color_t sampleAmbientOcclusion (renderState_t &state, const surfacePoint_t &sp, const vector3d_t &wo) const

Protected Attributes

int AA_inc_samples
int AA_passes
int AA_samples
float AA_threshold
color_t aoCol
 Ambient occlusion distance.
float aoDist
 Ambient occlusion samples.
int aoSamples
 Use ambient occlusion.
 Ambient occlusion color.
int causDepth
 Caustic search radius for estimation.
float causRadius
 Amount of caustic photons to be gathered in estimation.
photonMap_t causticMap
 Caustic photons max path depth.
int causticType
float iAA_passes
 Inverse of AA_passes used for depth map.
std::string integratorName
std::string integratorShortName
float invNPaths
 Container for the caustic photon map.
std::vector< light_t * > lights
 Max. path depth for mc raytracing.
int maxBounces
 Number of samples for mc raytracing.
float maxDepth
 Inverse of max depth from camera within the scene boundaries.
float minDepth
 Distance between camera and the closest object on the scene.
unsigned int nCausPhotons
 Use photon caustics.
int nCausSearch
 Number of caustic photons (to be shoot but it should be the target.
bool no_recursive
int nPaths
 Background shader.
int rDepth
int sDepth
 Use transparent shadows.
std::string settings
bool traceCaustics
 use path tracing for caustics (determined by causticType)
bool trShad
 Ray depth.
TYPE type
bool useAmbientOcclusion
bool usePhotonCaustics
 Shadow depth for transparent shadows.

Detailed Description

Definition at line 39 of file pathtracer.cc.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index