RiDirectionalLight

Directional light class. Used for Maya's directional light

[ Light | Source | Search | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class RiDirectionalLight : public RiLightObject
{
public:
// Constructors and assignment
RiDirectionalLight(const RiSpectrum &intensity, const RiUnitVector3 &direction, bool checkVis );
// Members
// Members
RiReal GetFormFactorSample(RiLightRegion &sample, const RiMaterialRegion &interestedSample, const RiVector2 &uv);
protected:
}; // RiDirectionalLight


DESCRIPTION

Only handles the truly ambient part of Maya's ambient lights. There is no position stored.


RiDirectionalLight(const RiSpectrum &intensity, const RiUnitVector3 &direction, bool checkVis );

Default Constructor

    RiDirectionalLight(const RiSpectrum &intensity, const RiUnitVector3 &direction, bool checkVis = true);

RiReal GetFormFactorSample(RiLightRegion &sample, const RiMaterialRegion &interestedSample, const RiVector2 &uv);

Fills in the data in sample, and returns the Form Factor weight for the sample to the interestedSample. interestedSample is used to direct the object so that it will hopefully pick a point visible to the intersted point, reducing variance. Form Factor weight is FFdi,dx / p(x) where p(x) is often the return value from GetSample The actual light arriving at interestedSample is the FFweight * the GetIrradiance() of the sample.

    virtual RiReal GetFormFactorSample(RiLightRegion &sample, const RiMaterialRegion &interestedSample, 
				       const RiVector2 &uv);

All Members

public:
// Members
RiReal GetFormFactorSample(RiLightRegion &sample, const RiMaterialRegion &interestedSample, const RiVector2 &uv); // pure virtual
protected:

Ancestors

Inheritance chain for RiDirectionalLight:


Descendants

Class is not inherited by any others.


Generated from source by the Cocoon utilities on Fri Feb 25 15:15:27 2000 .