Ignore:
Timestamp:
01/25/06 18:28:09 (18 years ago)
Author:
mattausch
Message:

added upper and lower boundary for pvs penalty in heuristics

File:
1 edited

Legend:

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

    r574 r578  
    763763class BspMergeCandidate 
    764764 
     765        friend class VspBspTree; 
     766 
    765767public: 
    766768 
     
    807809        static bool sUseArea; 
    808810 
     811        static int sUpperPvsLimit; 
     812        static int sLowerPvsLimit; 
     813 
     814protected: 
     815 
     816         
    809817        /** Evaluates the merge costs of the leaves. 
    810818        */ 
    811819        void EvalMergeCost(); 
    812820 
    813 protected: 
     821        /** penalty for a given pvs size. 
     822        */ 
     823        inline float EvalPvsPenalty(int pvs) const; 
    814824 
    815825        /** Cost of a view cell. 
Note: See TracChangeset for help on using the changeset viewer.