Ignore:
Timestamp:
11/10/05 02:28:42 (19 years ago)
Author:
mattausch
Message:

fixed pvs criterium

File:
1 edited

Legend:

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

    r399 r400  
    345345                /// area of current node 
    346346                float mArea; 
    347                 BspNodeGeometry *mCell; 
     347                BspNodeGeometry *mGeometry; 
    348348 
    349349                /// pvs size 
     
    358358                mPvs(0), 
    359359                mArea(0.0), 
    360                 mCell(NULL) 
     360                mGeometry(NULL) 
    361361                {} 
    362362                 
     
    376376                mPvs(pvs), 
    377377                mArea(area), 
    378                 mCell(cell) 
     378                mGeometry(cell) 
    379379                {} 
    380380    }; 
     
    541541        */ 
    542542        Plane3 SelectPlane(BspLeaf *leaf,  
    543                                            BspTraversalData &data, 
    544                                            BspTraversalData &frontData, 
    545                                            BspTraversalData &backData); 
     543                                           BspTraversalData &data); 
    546544 
    547545        /** Evaluates the contribution of the candidate split plane. 
     
    554552        */ 
    555553        float SplitPlaneCost(const Plane3 &candidatePlane, 
    556                                                  BspTraversalData &data, 
    557                                                  BspTraversalData &frontData, 
    558                                                  BspTraversalData &backData) const; 
     554                                                 BspTraversalData &data) const; 
    559555 
    560556        /** Strategies where the effect of the split plane is tested 
     
    574570                                                 const int pvs, 
    575571                                                 const float area, 
    576                                                  const BspNodeGeometry &cell,  
    577                                                  BspTraversalData &frontData, 
    578                                                  BspTraversalData &backData) const; 
     572                                                 const BspNodeGeometry &cell) const; 
    579573 
    580574        /** Filters next view cell down the tree and inserts it into the appropriate leaves 
     
    624618        */ 
    625619        Plane3 SelectPlaneHeuristics(BspLeaf *leaf, 
    626                                                                  BspTraversalData &data, 
    627                                                                  BspTraversalData &frontData, 
    628                                                                  BspTraversalData &backData); 
     620                                                                 BspTraversalData &data); 
    629621 
    630622        /** Extracts the meshes of the objects and adds them to polygons.  
Note: See TracChangeset for help on using the changeset viewer.