#include <eng_lod.hh>
Public Member Functions | |
| ObjectLod (void) | |
| ObjectLod (const fp lodMin, const fp lodMax) | |
| ~ObjectLod () | |
| bool | IfInRange (const ObjectLod &objectLod) const |
Private Attributes | |
| fp | mLodMin |
| fp | mLodMax |
///
/// Object LOD vs. User LOD:
/// ------------------------
/// There are two different kinds of LODs.
///
/// UserLod is defined by discrete enums { DEFAULT,MIN,LOW,MID,HIGH,MAX }.
/// UserLod is a global setting.
/// If UserLod != DEFAULT, then UserLod overrides ObjectLod.
/// For example, if UserLod==MAX, then every Object is rendered with maximum LOD.
///
/// ObjectLod is defined as a float range { 0.0:min,..,1.0:max }.
/// Eg, (0.0,1.0) means any LOD, (0.5,1.0) means median-to-high LOD.
/// ObjectLod is determined by an estimate of an Object's projected 2D area.
/// ObjectLod isn't computed if UserLod != DEFAULT.
///
/// Relationships of ObjectLod:
/// ---------------------------
/// Optionally, Object can be constructed with a Graph having a LodNode.
/// LodNode switches the direction of the traversal of a Graph
/// to one (or more) of its child nodes correlating to the current ObjectLod.
///
/// | eng::ObjectLod::ObjectLod | ( | void | ) |
ctor/dtor.
| eng::ObjectLod::~ObjectLod | ( | ) |
| bool eng::ObjectLod::IfInRange | ( | const ObjectLod & | objectLod | ) | const |
fp eng::ObjectLod::mLodMin [private] |
fp eng::ObjectLod::mLodMax [private] |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:22 2007