RiLightObject

This is an abstract class and cannot be directly instanced.


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

Quick Index

DESCRIPTION

Class Summary

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


DESCRIPTION


~RiLightObject() ;

Destructor Do nothing

    virtual ~RiLightObject()   
;

Function is currently defined inline.


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

Class does not inherit from any other class.


Descendants


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