Support Forum       G3D Web Page     
Classes | Public Member Functions | Public Attributes | List of all members
G3D::Surface::ExpressiveLightScatteringProperties Class Reference

Non-physical properties that a Surface might use to affect light transport. More...

Classes

class  Behavior
 

Public Member Functions

 ExpressiveLightScatteringProperties ()
 
 ExpressiveLightScatteringProperties (bool c, bool r)
 
 ExpressiveLightScatteringProperties (const Any &any)
 
void andWith (const ExpressiveLightScatteringProperties &other)
 
bool operator!= (const ExpressiveLightScatteringProperties &other) const
 
bool operator== (const ExpressiveLightScatteringProperties &other) const
 
Any toAny () const
 

Public Attributes

Behavior behaviorForPathsFromSource
 
bool castsShadows
 Does this surface create direct illumination shadows? More...
 
bool receivesShadows
 Does this surface receive direct illumination shadows? More...
 
bool visibleForPathsFromEye
 If false, do not appear in paths traced backwards from the eye. More...
 

Detailed Description

Non-physical properties that a Surface might use to affect light transport.

Constructor & Destructor Documentation

◆ ExpressiveLightScatteringProperties() [1/3]

G3D::Surface::ExpressiveLightScatteringProperties::ExpressiveLightScatteringProperties ( )
inline

◆ ExpressiveLightScatteringProperties() [2/3]

G3D::Surface::ExpressiveLightScatteringProperties::ExpressiveLightScatteringProperties ( bool  c,
bool  r 
)
inline

◆ ExpressiveLightScatteringProperties() [3/3]

G3D::Surface::ExpressiveLightScatteringProperties::ExpressiveLightScatteringProperties ( const Any any)
explicit

Member Function Documentation

◆ andWith()

void G3D::Surface::ExpressiveLightScatteringProperties::andWith ( const ExpressiveLightScatteringProperties other)
inline

◆ operator!=()

bool G3D::Surface::ExpressiveLightScatteringProperties::operator!= ( const ExpressiveLightScatteringProperties other) const
inline

◆ operator==()

bool G3D::Surface::ExpressiveLightScatteringProperties::operator== ( const ExpressiveLightScatteringProperties other) const
inline

◆ toAny()

Any G3D::Surface::ExpressiveLightScatteringProperties::toAny ( ) const

Member Data Documentation

◆ behaviorForPathsFromSource

Behavior G3D::Surface::ExpressiveLightScatteringProperties::behaviorForPathsFromSource

Referenced by operator==().

◆ castsShadows

bool G3D::Surface::ExpressiveLightScatteringProperties::castsShadows

Does this surface create direct illumination shadows?

Referenced by andWith(), G3D::VisibleEntity::castsShadows(), operator==(), and G3D::VisibleEntity::setCastsShadows().

◆ receivesShadows

bool G3D::Surface::ExpressiveLightScatteringProperties::receivesShadows

Does this surface receive direct illumination shadows?

Referenced by andWith(), and operator==().

◆ visibleForPathsFromEye

bool G3D::Surface::ExpressiveLightScatteringProperties::visibleForPathsFromEye

If false, do not appear in paths traced backwards from the eye.

This obviously depends on the algorithm employed for rendering, but as a general hint can be taken to mean "is this object visible in coherent images", e.g., reflections, refraction, and primary rays.

Referenced by operator==().


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