PhotonMapVisualizer::Params Struct Reference

#include <PhotonMapVisualizer.h>

Inheritance diagram for PhotonMapVisualizer::Params:

PhotonMappingArch::Params RayTrArch::Params Architecture::Params List of all members.

Public Member Functions

 Params ()

Public Attributes

int mode
 [GLOBAL_PHOTONS|CAUSTIC_PHOTONS] determines which kind of photon maps to show, either global or caustics or both.
unsigned nRaysDiff
 [1] number of rays casted during the Monte Carlo integration on diffuse surfaces
unsigned nRaysSpec
 [1] number of rays casted during the Monte Carlo integration on specular surfaces
unsigned photonsPerLight
 [50] number of photons casted from light sources during the creation of photon maps
PhotonMapShader::Mapping mappingStrategy
 [MAPS_PER_SHAPE] strategy of creating photon maps (per-srface, per-scene, etc.)
bool userDefinedBehaviour
 [false] determines whether to enable user-defined behaviour of photon maps. If true then photons are stored only on the surfaces selected by user, also caustics are generated ONLY by user-defined objects. If false then the decision is made automaticly.
unsigned irradError
 [10] max. allowed error on photon map irradiance estimate; the bigger value, the thicker irradiance cache
unsigned nPhotonsFromMap
 [20] max. number of photons retrieved from photon map
float distPhotonsFromMap
 [sqrt(FLT_MAX-1)] max. distance of photons retrieved from photon map
unsigned preciseRecursionDepth
 [2] max. number of specular reflections in recursion until the precise computation is done; SHOULD BE >= 2, otherwise refractions may be incorect
double preciseDist
 [0.05] max. distance for precise computation
int stages
 [GLOBAL_ILLUMINATION] which illumination stage(s) to perform
bool importanceSampling
 [true] whether to use importance sampling in accord to incomming lighting
bool irradianceCaching
 [true] wheter to use irradiance caching
Intersector * intersector
 [NULL] ray intersector computing the closest intersection
Color3f background
 [(0,0,0)] background color of scene
RTRender::PixelRend pixelRendering
 [CENTROID] pixel sampling strategy for per-pixel ray casts
unsigned raysPerPixel
 [1] number of rays casted per pixel
RTRender::FBWriteMode fbWriteMode
 [PER_LINE] startegy of frame-buffer updates: per-pixel, per-line
unsigned fbWriteElements
 [1] number of elements (pixels, lines, etc.) written at once
unsigned cacheDepth
 [1] max. depth of recursion in which we cache objects that that blocks a light sources
unsigned shadowRays
 [1] number of shadow rays in direct illumination casted towards the non-point light sources ( >1 for soft shaddows)
unsigned maxRecDepth
 [3] maximal depth of recursion
float minRecWeight
 [0.001] minimal weight of rays during recursion
int * stopFlag
 [NULL] pointer to stop flag
DiffuseBRDF * diffBRDF
 [NULL] default deffise BRDF
SpecularBRDF * specBRDF
 [NULL] default specular BRDF

Detailed Description

Definition at line 18 of file PhotonMapVisualizer.h.


Constructor & Destructor Documentation

Params void   )  [inline]
 

Reimplemented from PhotonMappingArch::Params.

Definition at line 21 of file PhotonMapVisualizer.h.


Member Data Documentation

Color3f background [inherited]
 

[(0,0,0)] background color of scene

Definition at line 25 of file RayTrArch.h.

Referenced by RayTrArch::RayTrArch().

unsigned cacheDepth [inherited]
 

[1] max. depth of recursion in which we cache objects that that blocks a light sources

Definition at line 30 of file RayTrArch.h.

Referenced by PathTrArch::PathTrArch(), PhotonMappingArch::PhotonMappingArch(), and RayTrArch::RayTrArch().

DiffuseBRDF* diffBRDF [inherited]
 

[NULL] default deffise BRDF

Definition at line 31 of file Architecture.h.

Referenced by Architecture::Architecture().

float distPhotonsFromMap [inherited]
 

[sqrt(FLT_MAX-1)] max. distance of photons retrieved from photon map

Definition at line 29 of file PhotonMappingArch.h.

Referenced by PhotonMappingArch::PhotonMappingArch().

unsigned fbWriteElements [inherited]
 

[1] number of elements (pixels, lines, etc.) written at once

Definition at line 29 of file RayTrArch.h.

Referenced by RayTrArch::RayTrArch().

RTRender::FBWriteMode fbWriteMode [inherited]
 

[PER_LINE] startegy of frame-buffer updates: per-pixel, per-line

Definition at line 28 of file RayTrArch.h.

Referenced by RayTrArch::RayTrArch().

bool importanceSampling [inherited]
 

[true] whether to use importance sampling in accord to incomming lighting

Definition at line 33 of file PhotonMappingArch.h.

Referenced by PhotonMappingArch::PhotonMappingArch().

Intersector* intersector [inherited]
 

[NULL] ray intersector computing the closest intersection

Definition at line 24 of file RayTrArch.h.

Referenced by RayTrArch::RayTrArch().

unsigned irradError [inherited]
 

[10] max. allowed error on photon map irradiance estimate; the bigger value, the thicker irradiance cache

Definition at line 27 of file PhotonMappingArch.h.

Referenced by PhotonMappingArch::PhotonMappingArch().

bool irradianceCaching [inherited]
 

[true] wheter to use irradiance caching

Definition at line 34 of file PhotonMappingArch.h.

Referenced by PhotonMappingArch::PhotonMappingArch().

PhotonMapShader::Mapping mappingStrategy [inherited]
 

[MAPS_PER_SHAPE] strategy of creating photon maps (per-srface, per-scene, etc.)

Definition at line 25 of file PhotonMappingArch.h.

unsigned maxRecDepth [inherited]
 

[3] maximal depth of recursion

Definition at line 32 of file RayTrArch.h.

Referenced by PathTrArch::PathTrArch(), PhotonMappingArch::PhotonMappingArch(), and RayTrArch::RayTrArch().

float minRecWeight [inherited]
 

[0.001] minimal weight of rays during recursion

Definition at line 33 of file RayTrArch.h.

Referenced by PathTrArch::PathTrArch(), PhotonMappingArch::PhotonMappingArch(), and RayTrArch::RayTrArch().

int mode
 

[GLOBAL_PHOTONS|CAUSTIC_PHOTONS] determines which kind of photon maps to show, either global or caustics or both.

Definition at line 19 of file PhotonMapVisualizer.h.

unsigned nPhotonsFromMap [inherited]
 

[20] max. number of photons retrieved from photon map

Definition at line 28 of file PhotonMappingArch.h.

Referenced by PhotonMappingArch::PhotonMappingArch().

unsigned nRaysDiff [inherited]
 

[1] number of rays casted during the Monte Carlo integration on diffuse surfaces

Definition at line 22 of file PhotonMappingArch.h.

Referenced by PhotonMappingArch::PhotonMappingArch().

unsigned nRaysSpec [inherited]
 

[1] number of rays casted during the Monte Carlo integration on specular surfaces

Definition at line 23 of file PhotonMappingArch.h.

Referenced by PhotonMappingArch::PhotonMappingArch().

unsigned photonsPerLight [inherited]
 

[50] number of photons casted from light sources during the creation of photon maps

Definition at line 24 of file PhotonMappingArch.h.

RTRender::PixelRend pixelRendering [inherited]
 

[CENTROID] pixel sampling strategy for per-pixel ray casts

Definition at line 26 of file RayTrArch.h.

Referenced by RayTrArch::RayTrArch().

double preciseDist [inherited]
 

[0.05] max. distance for precise computation

Definition at line 31 of file PhotonMappingArch.h.

Referenced by PhotonMappingArch::PhotonMappingArch().

unsigned preciseRecursionDepth [inherited]
 

[2] max. number of specular reflections in recursion until the precise computation is done; SHOULD BE >= 2, otherwise refractions may be incorect

Definition at line 30 of file PhotonMappingArch.h.

Referenced by PhotonMappingArch::PhotonMappingArch().

unsigned raysPerPixel [inherited]
 

[1] number of rays casted per pixel

Definition at line 27 of file RayTrArch.h.

Referenced by RayTrArch::RayTrArch().

unsigned shadowRays [inherited]
 

[1] number of shadow rays in direct illumination casted towards the non-point light sources ( >1 for soft shaddows)

Definition at line 31 of file RayTrArch.h.

Referenced by PathTrArch::PathTrArch(), PhotonMappingArch::PhotonMappingArch(), and RayTrArch::RayTrArch().

SpecularBRDF* specBRDF [inherited]
 

[NULL] default specular BRDF

Definition at line 32 of file Architecture.h.

Referenced by Architecture::Architecture().

int stages [inherited]
 

[GLOBAL_ILLUMINATION] which illumination stage(s) to perform

Definition at line 32 of file PhotonMappingArch.h.

Referenced by PhotonMappingArch::PhotonMappingArch().

int* stopFlag [inherited]
 

[NULL] pointer to stop flag

Definition at line 30 of file Architecture.h.

Referenced by Architecture::Architecture().

bool userDefinedBehaviour [inherited]
 

[false] determines whether to enable user-defined behaviour of photon maps. If true then photons are stored only on the surfaces selected by user, also caustics are generated ONLY by user-defined objects. If false then the decision is made automaticly.

Definition at line 26 of file PhotonMappingArch.h.


The documentation for this struct was generated from the following file:
Generated on Tue Nov 21 15:11:43 2006 for gra by  doxygen 1.4.6