Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
G3D::Surfel::Impulse Class Reference

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...
 

Detailed Description

A BSDF impulse ("delta function").

Constructor & Destructor Documentation

◆ Impulse() [1/2]

G3D::Surfel::Impulse::Impulse ( const Vector3 d,
const Color3 m 
)
inline

◆ Impulse() [2/2]

G3D::Surfel::Impulse::Impulse ( )
inline

Member Data Documentation

◆ direction

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.

◆ magnitude

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.


documentation generated on Wed Nov 24 2021 08:02:01 using doxygen 1.8.15