Support Forum G3D Web Page |
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... | |
Non-physical properties that a Surface might use to affect light transport.
|
inline |
|
inline |
|
explicit |
|
inline |
|
inline |
|
inline |
Any G3D::Surface::ExpressiveLightScatteringProperties::toAny | ( | ) | const |
Behavior G3D::Surface::ExpressiveLightScatteringProperties::behaviorForPathsFromSource |
Referenced by operator==().
bool G3D::Surface::ExpressiveLightScatteringProperties::castsShadows |
Does this surface create direct illumination shadows?
Referenced by andWith(), G3D::VisibleEntity::castsShadows(), operator==(), and G3D::VisibleEntity::setCastsShadows().
bool G3D::Surface::ExpressiveLightScatteringProperties::receivesShadows |
Does this surface receive direct illumination shadows?
Referenced by andWith(), and operator==().
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==().