Ignore:
Timestamp:
12/30/05 12:08:15 (19 years ago)
Author:
mattausch
Message:

changed castlinesegment of vspbpstree
changed rayinfo ray classification for bsp tree
implemented shuffling

File:
1 edited

Legend:

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

    r482 r485  
    6363    BspRayTraversalData(BspNode *n, const Vector3 &extp, const float maxt): 
    6464    mNode(n), mExitPoint(extp), mMaxT(maxt)  
     65        {} 
     66 
     67        BspRayTraversalData(BspNode *n, const Vector3 &extp): 
     68        mNode(n), mExitPoint(extp) 
    6569        {} 
    6670}; 
     
    122126        int sampleContributions; 
    123127        /// largest pvs 
    124         int largestPvs; 
     128        int maxPvs; 
    125129 
    126130        // Constructor 
     
    156160                contributingSamples = 0; 
    157161                sampleContributions = 0; 
     162 
     163                maxPvs = 0; 
    158164        } 
    159165 
     
    274280        BspLeaf(BspInterior *parent, BspViewCell *viewCell); 
    275281 
     282        ~BspLeaf(); 
     283 
    276284        /** @return true since it is an interior node  
    277285        */ 
     
    287295 
    288296        VssRayContainer mVssRays; 
     297         
     298        /// leaf pvs 
     299        ObjectPvs *mPvs; 
     300        /// leaf area 
     301        float mArea; 
    289302 
    290303protected: 
    291  
     304         
    292305        /// if NULL this does not correspond to feasible viewcell 
    293306        BspViewCell *mViewCell; 
Note: See TracChangeset for help on using the changeset viewer.