Changeset 1654 for GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
- Timestamp:
- 10/19/06 20:30:21 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
r1653 r1654 252 252 mHierarchyStats.mPvsEntries, 253 253 memoryCost, 254 1.0f / (mHierarchyStats.mTotalCost * memoryCost) 254 1.0f / (mHierarchyStats.mTotalCost * memoryCost), 255 (float)mVspTree->mVspStats.Leaves() / (float)GetObjectSpaceSubdivisionLeaves() 255 256 ); 256 257 } … … 262 263 const int pvsEntries, 263 264 const float memory, 264 const float renderCostPerStorage) 265 const float renderCostPerStorage, 266 const float vspOspRatio) 265 267 { 266 268 mSubdivisionStats … … 270 272 << "#TotalRenderCost\n" << totalRenderCost << endl 271 273 << "#Memory\n" << memory << endl 272 << "#RcPerMb\n" << renderCostPerStorage << endl; 274 << "#RcPerMb\n" << renderCostPerStorage << endl 275 << "#VspOspRatio\n" << vspOspRatio << endl; 273 276 } 274 277 … … 696 699 mHierarchyStats.mRenderCostDecrease = sc->GetRenderCostDecrease(); 697 700 701 static float memoryCount = 0; 702 703 if (mHierarchyStats.mMemory > memoryCount) 704 { 705 memoryCount += 100000; 706 cout << "\nstorage cost: " << mHierarchyStats.mMemory / (1024.0f * 1024.0f) << ", steps: " << mHierarchyStats.Leaves() << endl; 707 } 708 698 709 // output stats 699 710 EvalSubdivisionStats(); … … 878 889 !(steps < minSteps)) 879 890 { 880 cout << "breaking on " << sc->GetRenderCostDecrease() << " smaller than " << minRenderCostDecr << endl;891 //cout << "breaking on " << sc->GetRenderCostDecrease() << " smaller than " << minRenderCostDecr << endl; 881 892 break; 882 893 }
Note: See TracChangeset
for help on using the changeset viewer.