Changeset 1660 for GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
- Timestamp:
- 10/20/06 18:08:38 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
r1654 r1660 272 272 << "#TotalRenderCost\n" << totalRenderCost << endl 273 273 << "#Memory\n" << memory << endl 274 << "# RcPerMb\n" << renderCostPerStorage << endl274 << "#FpsPerMb\n" << renderCostPerStorage << endl 275 275 << "#VspOspRatio\n" << vspOspRatio << endl; 276 276 } … … 417 417 while (!(viewSpaceQueue.Empty() && objectSpaceQueue.Empty())) 418 418 { 419 const float vspPriority = viewSpaceQueue.Empty() ? 0 : viewSpaceQueue.Top()->GetPriority(); 420 const float ospPriority = objectSpaceQueue.Empty() ? 0 : objectSpaceQueue.Top()->GetPriority(); 419 const float vspPriority = viewSpaceQueue.Empty() ? 0 : 420 viewSpaceQueue.Top()->GetPriority() / ((float)viewSpaceQueue.Top()->GetPvsEntriesIncr() + Limits::Small); 421 const float ospPriority = objectSpaceQueue.Empty() ? 0 : 422 objectSpaceQueue.Top()->GetPriority() / ((float)objectSpaceQueue.Top()->GetPvsEntriesIncr() + Limits::Small); 421 423 422 424 cout << "new decicion, vsp: " << vspPriority << ", osp: " << ospPriority << endl;
Note: See TracChangeset
for help on using the changeset viewer.