Support Forum G3D Web Page |
A BSDF impulse ("delta function"). More...
Public Member Functions | |
Impulse (const Vector3 &d, const Color3 &m) | |
Impulse () | |
Public Attributes | |
Vector3 | direction |
Unit length facing away from the scattering point. More... | |
Color3 | magnitude |
Probability of scattering along this impulse; the integral of the non-finite portion of the BSDF over a small area about direction. More... | |
A BSDF impulse ("delta function").
|
inline |
Vector3 G3D::Surfel::Impulse::direction |
Unit length facing away from the scattering point.
This may either be an incoming or outgoing direction depending on how it was sampled.
Color3 G3D::Surfel::Impulse::magnitude |
Probability of scattering along this impulse; the integral of the non-finite portion of the BSDF over a small area about direction.
The magnitude must be on the range [0, 1] for each channel because it is a probability.
The factor by which incoming radiance is scaled to get outgoing radiance.