Ignore:
Timestamp:
10/20/06 18:08:38 (18 years ago)
Author:
mattausch
Message:

added ratio for rc / storage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp

    r1654 r1660  
    272272                        << "#TotalRenderCost\n" << totalRenderCost << endl 
    273273                        << "#Memory\n" << memory << endl 
    274                         << "#RcPerMb\n" << renderCostPerStorage << endl 
     274                        << "#FpsPerMb\n" << renderCostPerStorage << endl 
    275275                        << "#VspOspRatio\n" << vspOspRatio << endl; 
    276276} 
     
    417417        while (!(viewSpaceQueue.Empty() && objectSpaceQueue.Empty())) 
    418418        { 
    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); 
    421423 
    422424                cout << "new decicion, vsp: " << vspPriority << ", osp: " << ospPriority << endl; 
Note: See TracChangeset for help on using the changeset viewer.