Show
Ignore:
Timestamp:
11/01/06 16:31:27 (2 years ago)
Author:
dshipton
Message:

Factor added for controlling degradation for users, so a user can make the degradation happen slower/faster.
Added to testOcclusionCulling as d/D: the bigger the factor, the faster the LOD switching happens when it hits the threshold.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Dirk_RenderTraversalWork/Source/System/Action/RenderTraversal/OSGRenderTraversalAction.h

    r376 r377  
    263263    UInt32 getScreenLODNumLevels(void); 
    264264 
     265    void setScreenLODDegradationFactor(const Real32 percent); 
     266    Real32 getScreenLODDegradationFactor(void); 
     267 
    265268 
    266269  protected: 
     
    331334    Real32 _scrlodCoverageThreshold; 
    332335    UInt32 _scrlodNumLODsToUse; 
     336    Real32 _scrlodDegradationFactor; 
    333337 
    334338    //-----------------------------------------------------------------------