Ignore:
Timestamp:
11/10/05 13:59:18 (19 years ago)
Author:
bittner
Message:

vvs preprocessor update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/VssTree.h

    r401 r403  
    5454  int maxDepthNodes; 
    5555  // max depth nodes 
    56   int minCostNodes; 
     56  int minPvsNodes; 
     57  int minRaysNodes; 
    5758        // max ray contribution nodes 
    5859  int maxRayContribNodes; 
     
    8384    rayRefs = 0; 
    8485    maxDepthNodes = 0; 
    85     minCostNodes = 0; 
     86    minPvsNodes = 0; 
     87    minRaysNodes = 0; 
    8688    maxRayRefs = 0; 
    8789    addedRayRefs = removedRayRefs = 0; 
     
    426428                return GetPvsSize()/((float)rays.size() + Limits::Small); 
    427429        } 
     430 
     431        float GetSqrRayContribution() const { 
     432                return sqr(GetPvsSize()/((float)rays.size() + Limits::Small)); 
     433        } 
     434 
    428435}; 
    429436 
     
    555562  int termMinPvs; 
    556563 
     564        // minimal ray number per node to still get subdivided 
     565  int termMinRays; 
     566         
    557567  // maximal cost ration to subdivide a node 
    558568  float termMaxCostRatio; 
Note: See TracChangeset for help on using the changeset viewer.