GenerateSamples() Generate samples, using data from the RixLightContext object:
More...
#include <RixLight.h>
GenerateSamples() Generate samples, using data from the RixLightContext object:
- random numbers are provided by GetSample2D()
- surface information of the shading point
- matrix to transform from the light's local space to the space of the shaded point The light must set all members of the result struct, else the sample is considered invalid.
RtColorRGB RixLight::GenerateSamplesResults::diffuseColor |
RtVector3& RixLight::GenerateSamplesResults::direction |
float& RixLight::GenerateSamplesResults::distance |
bool const RixLight::GenerateSamplesResults::isBidirectional |
RtNormal3& RixLight::GenerateSamplesResults::normal |
int& RixLight::GenerateSamplesResults::patchIndex |
float& RixLight::GenerateSamplesResults::pdfDirect |
float& RixLight::GenerateSamplesResults::pdfEmit |
float& RixLight::GenerateSamplesResults::pdfEmitDirection |
float& RixLight::GenerateSamplesResults::solidAngleToArea |
RtColorRGB RixLight::GenerateSamplesResults::specularColor |
RtFloat3& RixLight::GenerateSamplesResults::UVW |
The documentation for this struct was generated from the following file: