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

added flexible checkvalitity function for view cells

File:
1 edited

Legend:

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

    r560 r561  
    510510                } 
    511511                 
    512                 if (!mViewCellsManager->CheckValid(viewCell)) 
     512                if (!mViewCellsManager->CheckValidity(viewCell, 0.0, mViewCellsManager->GetMaxPvsRatio())) 
    513513                { 
    514514                        viewCell->SetValid(false); 
    515  
    516515                        leaf->SetTreeValid(false); 
    517516                        PropagateUpValidity(leaf); 
     
    16451644                                BspViewCell *viewCell = dynamic_cast<BspLeaf *>(node)->GetViewCell(); 
    16461645                         
    1647                                 if (!mViewCellsManager->CheckValid(viewCell)) 
     1646                                if (!mViewCellsManager->CheckValidity(viewCell, 0.0, mViewCellsManager->GetMaxPvsRatio())) 
    16481647                                { 
    16491648                                        vector<BspLeaf *>::const_iterator it, it_end = viewCell->mLeaves.end(); 
Note: See TracChangeset for help on using the changeset viewer.