G3D::Lighting Class ReferenceA rich environment lighting model that contains both global and local sources.
More...
#include <SkyParameters.h>
Inherits G3D::ReferenceCountedObject.
List of all members.
Detailed Description
A rich environment lighting model that contains both global and local sources.
See also SkyParameters, a class that describes a sun and moon lighting model.
Member Function Documentation
| Color3 G3D::Lighting::ambientAverage |
( |
|
) |
const [inline] |
Make a copy of this lighting environment (does not clone the environment map).
Creates a (dark) environment.
| void G3D::Lighting::reduceNonShadowedLights |
( |
int |
numLeft = 1 |
) |
|
Removes the dimmest non-shadowed light and adds its contribution in to the ambient terms.
(not implemented in this beta)
| void G3D::Lighting::reduceShadowedLights |
( |
int |
numLeft = 0 |
) |
|
Removes the dimmest shadowed light and adds its contribution in to the ambient terms.
(not implemented in this beta)
| void G3D::ReferenceCountedObject::ReferenceCountedObject_zeroWeakPointers |
( |
|
) |
[inline, inherited] |
Automatically called immediately before the object is deleted.
This is not called from the destructor because it needs to be invoked before the subclass destructor.
Member Data Documentation
Light reflected from the ground (usually neutral, brown, or green).
May be identical to ambientTop.
Light reflected from the sky (usually slightly blue).
Multiply this by all emissive values when rendering.
Some algorithms (e.g., G3D::ToneMap) scale down light intensity to preserve dynamic range.
Cube map or sphere map of the surrounding environment (often just the skybox, although it may be rendered per-object).
Color to modulate environment map by.
Local illumination sources that do not cast shadows.
The long name is to keep this from accidentally conflicting with a subclass's variable name.
Do not use or explicitly manipulate this value--its type may change in the future and is not part of the supported API.
Linked list of all weak pointers that reference this (some may be on the stack!).
Do not use or explicitly manipulate this value.
Local illumination sources that cast shadows.
The documentation for this class was generated from the following file:
Generated on Thu Aug 2 11:40:46 2007 for G3D by
1.5.2
Hosted by
|