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

Non-physical manipulations of the BSDF commonly employed for expressive rendering effects. More...

Public Member Functions

 ExpressiveParameters ()
 
 ExpressiveParameters (const Any &a)
 
float boost (const Color3 &diffuseReflectivity) const
 Return the amount to boost reflectivity for a surface with a priori reflectivity diffuseReflectivity. More...
 
Any toAny () const
 

Public Attributes

float saturatedMaterialBoost
 Scale the diffuse (i.e., non-impulse) reflectivity of surfaces with saturated diffuse spectra by this amount. More...
 
float unsaturatedMaterialBoost
 Scale the diffuse (i.e., non-impulse) reflectivity of surfaces with unsaturated diffuse spectra by this amount. More...
 

Detailed Description

Non-physical manipulations of the BSDF commonly employed for expressive rendering effects.

Constructor & Destructor Documentation

◆ ExpressiveParameters() [1/2]

G3D::Surfel::ExpressiveParameters::ExpressiveParameters ( )
inline

◆ ExpressiveParameters() [2/2]

G3D::Surfel::ExpressiveParameters::ExpressiveParameters ( const Any a)

Member Function Documentation

◆ boost()

float G3D::Surfel::ExpressiveParameters::boost ( const Color3 diffuseReflectivity) const

Return the amount to boost reflectivity for a surface with a priori reflectivity diffuseReflectivity.

◆ toAny()

Any G3D::Surfel::ExpressiveParameters::toAny ( ) const

Member Data Documentation

◆ saturatedMaterialBoost

float G3D::Surfel::ExpressiveParameters::saturatedMaterialBoost

Scale the diffuse (i.e., non-impulse) reflectivity of surfaces with saturated diffuse spectra by this amount.

In Mirror's Edge, values as high as 10 were used for this term.

Note that many BSDFs will not be energy conserving if this value is greater than 1.0f.

◆ unsaturatedMaterialBoost

float G3D::Surfel::ExpressiveParameters::unsaturatedMaterialBoost

Scale the diffuse (i.e., non-impulse) reflectivity of surfaces with unsaturated diffuse spectra by this amount.


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