#include <ecintegrator.h>
Public Member Functions | |
DirectLightingIntegrator (const char *a_sID, int a_nRayDepth, int a_nPhotons, int a_nTransparentShadowDepth) | |
Simple constructor Direct lighting integrators have more parameters that are disabled if you use this constructor. | |
Protected Member Functions | |
virtual void | DeleteObject () |
Child message hook for reference-count based destruction. |
Definition at line 105 of file ecintegrator.h.
DirectLightingIntegrator::DirectLightingIntegrator | ( | const char * | a_sID, | |
int | a_nRayDepth, | |||
int | a_nPhotons, | |||
int | a_nTransparentShadowDepth | |||
) |
Simple constructor Direct lighting integrators have more parameters that are disabled if you use this constructor.
More specifically, anything that has to do with caustics. If you need to enable caustics, use (or write) a different constructor
a_sID | Unique integrator's id | |
a_nRayDepth | Maximum depth for recursive raytracing | |
a_nPhotons | Number of photons to be shot | |
a_nTransparentShadowDepth | Depth for transparent shadows. Disabled if zero |
virtual void DirectLightingIntegrator::DeleteObject | ( | ) | [protected, virtual] |
Child message hook for reference-count based destruction.
The child class is responsible for deleting any instance to which this this function is called.
Reimplemented from EclipseObject.