RiAmbientLight

Ambient light class. Used for Maya's ambient light

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

Quick Index

DESCRIPTION

Class Summary

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


DESCRIPTION

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


RiAmbientLight(const RiSpectrum &intensity);

Default Constructor

    RiAmbientLight(const RiSpectrum &intensity);

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 actuall 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 RiAmbientLight:


Descendants

Class is not inherited by any others.


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