Ignore:
Timestamp:
03/11/07 02:17:58 (17 years ago)
Author:
mattausch
Message:

added render cost bound for objects, improved undersampling compensation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h

    r2224 r2227  
    4747 
    4848#define COUNT_ORIGIN_OBJECTS 1 
    49 #define USE_AVGRAYCONTRI 1 
     49#define USE_AVGRAYCONTRI 0 
     50 
     51#define BOUND_RENDERCOST 0 
     52 
     53static const float MIN_RENDERCOST = 100.0f; 
     54 
    5055 
    5156 
     
    308313        float EvalCorrectedPvs(const float pvsFront,  
    309314                                                   const float totalPvs, 
    310                                                    const float avgRayContri) const; 
     315                                                   const float raysPerObjects) const; 
    311316 
    312317 
     
    607612        float mInitialRenderCost; 
    608613         
    609         float mMaxAvgRayContri; 
    610  
    611         float mMinAvgRayContri; 
     614        //float mMaxAvgRayContri; 
     615        //float mMinAvgRayContri; 
     616 
     617        float mMaxAvgRaysPerObject; 
     618        float mMinAvgRaysPerObject; 
    612619 
    613620        // quick hack: 
Note: See TracChangeset for help on using the changeset viewer.