Changeset 1660 for GTP/trunk/Lib/Vis/Preprocessing/src
- Timestamp:
- 10/20/06 18:08:38 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 4 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; -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
r1658 r1660 385 385 delete parser; 386 386 } 387 else if ( 1)387 else if (0) 388 388 { 389 389 ExportBinaryObj("../data/test.bin", mSceneGraph->GetRoot()); -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
r1653 r1660 1506 1506 { 1507 1507 stats << "#Pass\n" << pass << endl 1508 << "# ViewCells\n" << viewCells << endl1508 << "#Splits\n" << viewCells << endl 1509 1509 << "#RenderCostDecrease\n" << renderCostDecrease << endl // TODO 1510 1510 << "#TotalRenderCost\n" << totalRenderCost << endl -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r1649 r1660 38 38 // HACK 39 39 const static bool SAMPLE_AFTER_SUBDIVISION = true; 40 const static bool CLAMP_TO_BOX = false;40 const static bool CLAMP_TO_BOX = true; 41 41 42 42 template <typename T> class myless
Note: See TracChangeset
for help on using the changeset viewer.