Changeset 2199 for GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
- Timestamp:
- 03/07/07 16:26:58 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
r2198 r2199 996 996 interior->mTimeStamp = mHierarchyManager->mTimeStamp ++; 997 997 998 #if WORK_WITH_VIEWCELL_PVS999 // create front and back view cell1000 // add front and back view cell to1001 // "potentially visible view cells"1002 // of the objects in front and back pvs1003 1004 AddViewCellReferences(frontLeaf->GetViewCell());1005 AddViewCellReferences(backLeaf->GetViewCell());1006 #endif1007 1008 998 mNodeTimer.Exit(); 1009 999 … … 2931 2921 VspTraversalData vData(leaf, 0, &rays, pvsCost, prop, mBoundingBox); 2932 2922 2933 #if WORK_WITH_VIEWCELL_PVS2934 // add first view cell to all the objects view cell pvs2935 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 #endif2944 2945 2923 mTotalCost = vData.mCorrectedRenderCost = vData.mRenderCost = pvsCost; 2946 2924 mPvsEntries = EvalPvsEntriesSize(rays);
Note: See TracChangeset
for help on using the changeset viewer.