#include <PhotonMapVisualizer.h>
Inheritance diagram for PhotonMapVisualizer::Params:
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 |
Definition at line 18 of file PhotonMapVisualizer.h.
|
Reimplemented from PhotonMappingArch::Params. Definition at line 21 of file PhotonMapVisualizer.h. |
|
[(0,0,0)] background color of scene
Definition at line 25 of file RayTrArch.h. Referenced by RayTrArch::RayTrArch(). |
|
[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(). |
|
[NULL] default deffise BRDF
Definition at line 31 of file Architecture.h. Referenced by Architecture::Architecture(). |
|
[sqrt(FLT_MAX-1)] max. distance of photons retrieved from photon map
Definition at line 29 of file PhotonMappingArch.h. Referenced by PhotonMappingArch::PhotonMappingArch(). |
|
[1] number of elements (pixels, lines, etc.) written at once
Definition at line 29 of file RayTrArch.h. Referenced by RayTrArch::RayTrArch(). |
|
[PER_LINE] startegy of frame-buffer updates: per-pixel, per-line
Definition at line 28 of file RayTrArch.h. Referenced by RayTrArch::RayTrArch(). |
|
[true] whether to use importance sampling in accord to incomming lighting
Definition at line 33 of file PhotonMappingArch.h. Referenced by PhotonMappingArch::PhotonMappingArch(). |
|
[NULL] ray intersector computing the closest intersection
Definition at line 24 of file RayTrArch.h. Referenced by RayTrArch::RayTrArch(). |
|
[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(). |
|
[true] wheter to use irradiance caching
Definition at line 34 of file PhotonMappingArch.h. Referenced by PhotonMappingArch::PhotonMappingArch(). |
|
[MAPS_PER_SHAPE] strategy of creating photon maps (per-srface, per-scene, etc.)
Definition at line 25 of file PhotonMappingArch.h. |
|
[3] maximal depth of recursion
Definition at line 32 of file RayTrArch.h. Referenced by PathTrArch::PathTrArch(), PhotonMappingArch::PhotonMappingArch(), and RayTrArch::RayTrArch(). |
|
[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(). |
|
[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. |
|
[20] max. number of photons retrieved from photon map
Definition at line 28 of file PhotonMappingArch.h. Referenced by PhotonMappingArch::PhotonMappingArch(). |
|
[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(). |
|
[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(). |
|
[50] number of photons casted from light sources during the creation of photon maps
Definition at line 24 of file PhotonMappingArch.h. |
|
[CENTROID] pixel sampling strategy for per-pixel ray casts
Definition at line 26 of file RayTrArch.h. Referenced by RayTrArch::RayTrArch(). |
|
[0.05] max. distance for precise computation
Definition at line 31 of file PhotonMappingArch.h. Referenced by PhotonMappingArch::PhotonMappingArch(). |
|
[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(). |
|
[1] number of rays casted per pixel
Definition at line 27 of file RayTrArch.h. Referenced by RayTrArch::RayTrArch(). |
|
[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(). |
|
[NULL] default specular BRDF
Definition at line 32 of file Architecture.h. Referenced by Architecture::Architecture(). |
|
[GLOBAL_ILLUMINATION] which illumination stage(s) to perform
Definition at line 32 of file PhotonMappingArch.h. Referenced by PhotonMappingArch::PhotonMappingArch(). |
|
[NULL] pointer to stop flag
Definition at line 30 of file Architecture.h. Referenced by Architecture::Architecture(). |
|
[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. |