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

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

mcIntegrator_t Class Reference

Inheritance diagram for mcIntegrator_t:
Inheritance graph
[legend]
Collaboration diagram for mcIntegrator_t:
Collaboration graph
[legend]

List of all members.

Public Types

enum  TYPE { SURFACE, VOLUME }

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 =0
TYPE integratorType ()
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!

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.
background_tbackground
 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.
float iAA_passes
 Inverse of AA_passes used for depth map.
imageFilm_timageFilm
std::string integratorName
std::string integratorShortName
progressBar_tintpb
pdf1D_tlightPowerD
 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.
int nPaths
 Background shader.
int rDepth
scene_tscene
int sDepth
 Use transparent shadows.
std::string settings
bool trShad
 Ray depth.
TYPE type
bool useAmbientOcclusion
bool usePhotonCaustics
 Shadow depth for transparent shadows.

Detailed Description

Definition at line 29 of file mcintegrator.h.


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

Generated by  Doxygen 1.6.0   Back to index