Changeset 601 for trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.cpp
- Timestamp:
- 02/06/06 23:53:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.cpp
r600 r601 44 44 { 45 45 // clamp to minmax values 46 if (pvs < lower)46 /*if (pvs < lower) 47 47 return (float)lower; 48 48 if (pvs > upper) 49 49 return (float)upper; 50 50 */ 51 51 return (float)pvs; 52 52 } … … 623 623 ++ mergeStats.siblings; 624 624 #endif 625 if (((mergeStats.merged % statsOut) == 0) ||626 (realNumActiveViewCells == mMergeMinViewCells))627 {625 // if (((mergeStats.merged % statsOut) == 0) || 626 // (realNumActiveViewCells == mMergeMinViewCells)) 627 // { 628 628 cout << "merged " << mergeStats.merged << " view cells" << endl; 629 629 … … 635 635 << "#TotalRenderCost\n" << totalRenderCost << endl 636 636 << "#CurrentPvs\n" << mergedVc->GetPvs().GetSize() << endl 637 << "#ExpectedCost\n" << realExpectedCost << endl637 << "#ExpectedCost\n" << realExpectedCost / (float) realNumActiveViewCells << endl 638 638 << "#AvgRenderCost\n" << realAvgRenderCost << endl 639 639 << "#Deviation\n" << mDeviation << endl 640 640 << "#TotalPvs\n" << totalPvs << endl 641 << "#PvsSizeDecrease\n" << -pvsDiff << endl; 642 } 641 << "#PvsSizeDecrease\n" << -pvsDiff << endl 642 << "#Volume\n" << mergedVc->GetVolume() << endl 643 << "#Dummy\n" << (float)mergedVc->GetPvs().GetSize() * mergedVc->GetVolume() / mViewCellsManager->GetViewSpaceBox().GetVolume() << endl; 644 // } 643 645 } 644 646 else
Note: See TracChangeset
for help on using the changeset viewer.