material
Interface IEmitter

All Known Implementing Classes:
LambertianEmitter

public interface IEmitter


Method Summary
 void computeDirectLighting(IntersectionInfo intersection, IObject lumObject, RayState rs, Raycaster raycaster, IBSDF brdf, int numSamples, RGBColor amount)
           
 RGBColor emittedRadiance(IntersectionInfo ri, Vector3D out, Vector3D N)
          Flux per solid angle per unit projected area (Watt/m^2sr).
 

Method Detail

emittedRadiance

RGBColor emittedRadiance(IntersectionInfo ri,
                         Vector3D out,
                         Vector3D N)
Flux per solid angle per unit projected area (Watt/m^2sr).

Parameters:
ri - [in] intersection information
out - [in] outgoing vector from the surface of the luminary
N - [in] normal of the luminary
Returns:
the emitted radiance

computeDirectLighting

void computeDirectLighting(IntersectionInfo intersection,
                           IObject lumObject,
                           RayState rs,
                           Raycaster raycaster,
                           IBSDF brdf,
                           int numSamples,
                           RGBColor amount)
Parameters:
intersection - [in] info at the point of intersection
lumObject - [in] the object, which has this emitting property
rs - [in] actual state of the ray
raycaster - [in] caster to send a ray to the light
brdf - [in] the Bidirectional Scattering/Reflection Distribution Function
numSamples - [in] the number of rays to send to the light
amount - [in/out] the color is added to this