Show
Ignore:
Timestamp:
10/31/06 15:07:34 (2 years ago)
Author:
dshipton
Message:

Can set a minimum triangle count before a test query is issued.
within testOcclusionCulling this knob is T/t (increase/decrease)

Files:

Legend:

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

    r363 r371  
    261261    _occCoveredThreshold  (0.7f), 
    262262    _occQueryBufferSize   (1000), 
     263    _occMinimumTriangleCount(500), 
    263264    _scrlodCoverageThreshold(0.01) 
    264265{ 
     
    319320    _occCoveredThreshold  (source._occCoveredThreshold), 
    320321    _occQueryBufferSize   (source._occQueryBufferSize), 
     322    _occMinimumTriangleCount(source._occMinimumTriangleCount), 
    321323    _scrlodCoverageThreshold(source._scrlodCoverageThreshold) 
    322324{ 
     
    10571059} 
    10581060 
     1061void RenderTraversalAction::setOcclusionCullingMinimumTriangleCount(const UInt32 count) 
     1062{ 
     1063    _occMinimumTriangleCount = count; 
     1064} 
     1065 
     1066UInt32 RenderTraversalAction::getOcclusionCullingMinimumTriangleCount(void) 
     1067{ 
     1068    return _occMinimumTriangleCount; 
     1069} 
     1070 
    10591071void RenderTraversalAction::setScreenLODCoverageThreshold(const Real32 percent) 
    10601072{