material
Interface IEmitter
- All Known Implementing Classes:
- LambertianEmitter
public interface IEmitter
emittedRadiance
RGBColor emittedRadiance(IntersectionInfo ri,
Vector3D out,
Vector3D N)
- Flux per solid angle per unit projected area (Watt/m^2sr).
- Parameters:
ri
- [in] intersection informationout
- [in] outgoing vector from the surface of the luminaryN
- [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 intersectionlumObject
- [in] the object, which has this emitting propertyrs
- [in] actual state of the rayraycaster
- [in] caster to send a ray to the lightbrdf
- [in] the Bidirectional Scattering/Reflection Distribution FunctionnumSamples
- [in] the number of rays to send to the lightamount
- [in/out] the color is added to this