Ignore:
Timestamp:
02/10/06 13:04:39 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r610 r611  
    2828struct BspRay; 
    2929 
    30  
     30#define OCTREE_HACK 0 
    3131/** 
    3232        This is a view space partitioning specialised BSPtree.   
     
    6464                /// if this node is a kd-node (i.e., boundaries are axis aligned 
    6565                bool mIsKdNode; 
     66#if OCTREE_HACK // OCTREE HACK 
     67                int mAxis; 
     68#endif 
    6669                /// bounding box of current view space. 
    6770                ///AxisAlignedBox3 mBbox; 
     
    124127                float GetCost() const 
    125128                { 
    126 #if 1 
     129#if 0 
    127130                        return mPvs * mProbability; 
    128131#endif 
    129 #if 0 
     132#if 1 
    130133                        return (float) (-mDepth); // for regular grid 
    131134#endif 
     
    708711        int mTotalPvsSize; 
    709712 
    710         int mSplits; 
     713        //int mSplits; 
    711714 
    712715        ofstream mSubdivsionStats; 
Note: See TracChangeset for help on using the changeset viewer.