RiPolygonLight


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

Quick Index

DESCRIPTION

Class Summary

class RiPolygonLight : public RiLightObject
{
public:
// Constructors and assignment
RiPolygonLight(const RiVector3 &c0, const RiVector3 &c1, const RiVector3 &c2, int nCorners, RiMaterial *mat);
// Members
RiReal GetFormFactorSample(RiLightRegion &sample, const RiMaterialRegion &interestedSample, const RiVector2 &uv);
protected:
}; // RiPolygonLight


DESCRIPTION


RiPolygonLight(const RiVector3 &c0, const RiVector3 &c1, const RiVector3 &c2, int nCorners, RiMaterial *mat);

Default Constructor

    RiPolygonLight(const RiVector3 &c0, const RiVector3 &c1, const RiVector3 &c2,
		   int nCorners, RiMaterial *mat);

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

    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 RiPolygonLight:


Descendants

Class is not inherited by any others.


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