renderState_t Struct Reference

#include <scene.h>

Collaboration diagram for renderState_t:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 renderState_t ()
 renderState_t (random_t *rand)
 ~renderState_t ()
void setDefaults ()
 set some initial values that are always the same before integrating a primary ray
 renderState_t (const renderState_t &r)

Public Attributes

int raylevel
CFLOAT depth
CFLOAT contribution
const void * skipelement
int currentPass
int pixelSample
 number of samples inside this pixels so far
int rayDivision
 keep track of trajectory splitting
int rayOffset
 keep track of trajectory splitting
float dc1
float dc2
 used to decorrelate samples from trajectory splitting
PFLOAT traveled
int pixelNumber
int threadID
 identify the current render thread; shall range from 0 to scene_t::getNumThreads() - 1
unsigned int samplingOffs
 a "noise-like" pixel offset you may use to decorelate sampling of adjacent pixel.
point3d_t screenpos
 the image coordinates of the pixel being computed currently
bool chromatic
 indicates wether the full spectrum is calculated (true) or only a single wavelength (false).
bool includeLights
 indicate that emission of materials assiciated to lights shall be included, for correctly visible lights etc.
PFLOAT wavelength
 the (normalized) wavelength being used when chromatic is false.
PFLOAT time
 the current (normalized) frame time
void * userdata
 a fixed amount of memory where materials may keep data to avoid recalculations...really need better memory management :(
void * lightdata
 reserved; non-dirac lights may do some surface-point dependant initializations in the future to reduce redundancy...
random_t *const prng
 a pseudorandom number generator

Detailed Description

Definition at line 49 of file scene.h.


Constructor & Destructor Documentation

renderState_t::renderState_t (  )  [inline]

Definition at line 51 of file scene.h.

renderState_t::renderState_t ( random_t rand  )  [inline]

Definition at line 53 of file scene.h.

renderState_t::~renderState_t (  )  [inline]

Definition at line 55 of file scene.h.

renderState_t::renderState_t ( const renderState_t r  )  [inline, explicit]

Definition at line 90 of file scene.h.


Member Function Documentation

void renderState_t::setDefaults (  )  [inline]

set some initial values that are always the same before integrating a primary ray

Definition at line 80 of file scene.h.


Member Data Documentation

indicates wether the full spectrum is calculated (true) or only a single wavelength (false).

Definition at line 71 of file scene.h.

Definition at line 59 of file scene.h.

Definition at line 61 of file scene.h.

Definition at line 65 of file scene.h.

used to decorrelate samples from trajectory splitting

Definition at line 65 of file scene.h.

Definition at line 58 of file scene.h.

indicate that emission of materials assiciated to lights shall be included, for correctly visible lights etc.

Definition at line 72 of file scene.h.

reserved; non-dirac lights may do some surface-point dependant initializations in the future to reduce redundancy...

Definition at line 76 of file scene.h.

Definition at line 67 of file scene.h.

number of samples inside this pixels so far

Definition at line 62 of file scene.h.

a pseudorandom number generator

Definition at line 77 of file scene.h.

keep track of trajectory splitting

Definition at line 63 of file scene.h.

Definition at line 55 of file scene.h.

keep track of trajectory splitting

Definition at line 64 of file scene.h.

a "noise-like" pixel offset you may use to decorelate sampling of adjacent pixel.

Definition at line 69 of file scene.h.

the image coordinates of the pixel being computed currently

Definition at line 70 of file scene.h.

Definition at line 60 of file scene.h.

identify the current render thread; shall range from 0 to scene_t::getNumThreads() - 1

Definition at line 68 of file scene.h.

the current (normalized) frame time

Definition at line 74 of file scene.h.

Definition at line 66 of file scene.h.

void* renderState_t::userdata [mutable]

a fixed amount of memory where materials may keep data to avoid recalculations...really need better memory management :(

Definition at line 75 of file scene.h.

the (normalized) wavelength being used when chromatic is false.

the range is defined going from 400nm (0.0) to 700nm (1.0) although the widest range humans can perceive is ofteb given 380-780nm.

Definition at line 73 of file scene.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 18 Dec 2009 for YafaRay by  doxygen 1.6.1