Ignore:
Timestamp:
12/19/06 11:09:01 (18 years ago)
Author:
mattausch
Message:

added support for pvs correction (warning: does not yet compile)

File:
1 edited

Legend:

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

    r1899 r1911  
    4646#define COUNT_ORIGIN_OBJECTS 1 
    4747#define USE_AVGRAYCONTRI 1 
     48 
     49 
    4850/** View space / object space hierarchy statistics. 
    4951*/ 
     
    294296        void CreateUniqueObjectIds(); 
    295297 
    296  
    297         float mInitialRenderCost; 
     298        float EvalPvsCorrectionFactor(const float pvsFront,  
     299                                                                  const float totalPvs, 
     300                                                                  const float avgRayContri) const; 
    298301 
    299302 
     
    534537 
    535538 
    536  
    537539protected: 
    538540 
     
    563565        // the original vsp type 
    564566        int mSavedViewSpaceSubdivisionType; 
    565         /// the current subdivision candidate 
    566         //SubdivisionCandidate *mCurrentCandidate; 
    567  
     567         
    568568 
    569569        /////////////////// 
     
    575575        OspTree *mOspTree; 
    576576 
     577        float mInitialRenderCost; 
     578         
     579        float mMaxAvgRayContri; 
     580 
     581        float mMinAvgRayContri; 
     582 
    577583        // quick hack: 
    578584public: 
     
    580586        BvHierarchy *mBvHierarchy; 
    581587         
    582         float mMaxAvgRayContri; 
    583  
    584588protected: 
    585589 
Note: See TracChangeset for help on using the changeset viewer.