- Timestamp:
- 02/03/06 17:48:15 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellsManager.cpp
r584 r585 2366 2366 RefineViewCells(postProcessRays, objects); 2367 2367 2368 ViewCellContainer::const_iterator vit, vit_end = mViewCells.end(); 2369 2370 int pvsSize = 0; 2371 int numPvsEntries = 0; 2372 2373 int vidx = 0; 2374 for (vit = mViewCells.begin(); vit != vit_end; ++ vit) 2375 { 2376 const int vcPvs = mViewCellsTree->GetPvsSize(*vit); 2377 const int pvsEntries = mViewCellsTree->GetNumPvsEntries(*vit); 2378 2379 pvsSize += vcPvs; 2380 numPvsEntries += pvsEntries; 2381 Debug << "Viewcell " << vidx ++ << ": " << vcPvs << endl; 2382 } 2383 2384 Debug << "pvs size before compress: " << pvsSize << endl; 2385 Debug << "number of entries before compress: " << numPvsEntries << endl; 2368 int pvsEntries = mViewCellsTree->GetNumPvsEntries(mViewCellsTree->GetRoot()); 2369 Debug << "number of entries before compress: " << pvsEntries << endl; 2386 2370 2387 2371 mViewCellsTree->CompressViewCellsPvs(); 2388 2372 2389 pvsSize = numPvsEntries = vidx = 0; 2390 2391 for (vit = mViewCells.begin(); vit != vit_end; ++ vit) 2392 { 2393 const int vcPvs = mViewCellsTree->GetPvsSize(*vit); 2394 const int pvsEntries = mViewCellsTree->GetNumPvsEntries(*vit); 2395 2396 pvsSize += vcPvs; 2397 numPvsEntries += pvsEntries; 2398 Debug << "Viewcell " << vidx ++ << ": " << vcPvs << endl; 2399 } 2400 2401 Debug << "pvs size after compress: " << pvsSize << endl; 2402 Debug << "number of entries after compress: " << numPvsEntries << endl; 2373 pvsEntries = mViewCellsTree->GetNumPvsEntries(mViewCellsTree->GetRoot()); 2374 Debug << "number of entries after compress: " << pvsEntries << endl; 2403 2375 2404 2376 if (1)
Note: See TracChangeset
for help on using the changeset viewer.