Ignore:
Timestamp:
03/07/07 16:26:58 (17 years ago)
Author:
mattausch
Message:

using mutationsamples for evaluation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp

    r2198 r2199  
    996996        interior->mTimeStamp = mHierarchyManager->mTimeStamp ++; 
    997997 
    998 #if WORK_WITH_VIEWCELL_PVS 
    999         // create front and back view cell 
    1000         // add front and back view cell to  
    1001         // "potentially visible view cells"  
    1002         // of the objects in front and back pvs 
    1003  
    1004         AddViewCellReferences(frontLeaf->GetViewCell()); 
    1005         AddViewCellReferences(backLeaf->GetViewCell()); 
    1006 #endif 
    1007  
    1008998        mNodeTimer.Exit(); 
    1009999 
     
    29312921        VspTraversalData vData(leaf, 0, &rays, pvsCost, prop, mBoundingBox); 
    29322922 
    2933 #if WORK_WITH_VIEWCELL_PVS 
    2934         // add first view cell to all the objects view cell pvs 
    2935         ObjectPvsEntries::const_iterator oit,  
    2936                 oit_end = leaf->GetViewCell()->GetPvs().mEntries.end(); 
    2937  
    2938         for (oit = leaf->GetViewCell()->GetPvs().mEntries.begin(); oit != oit_end; ++ oit) 
    2939         { 
    2940                 Intersectable *obj = (*oit).first; 
    2941                 obj->mViewCellPvs.AddSample(leaf->GetViewCell(), 1); 
    2942         } 
    2943 #endif 
    2944  
    29452923        mTotalCost = vData.mCorrectedRenderCost = vData.mRenderCost = pvsCost; 
    29462924        mPvsEntries = EvalPvsEntriesSize(rays); 
Note: See TracChangeset for help on using the changeset viewer.