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

added ratio for rc / storage

Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
4 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; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp

    r1658 r1660  
    385385                                delete parser; 
    386386                        } 
    387                         else if (1) 
     387                        else if (0) 
    388388                        { 
    389389                                ExportBinaryObj("../data/test.bin", mSceneGraph->GetRoot()); 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp

    r1653 r1660  
    15061506{ 
    15071507         stats << "#Pass\n" << pass << endl 
    1508                    << "#ViewCells\n" << viewCells << endl  
     1508                   << "#Splits\n" << viewCells << endl  
    15091509                   << "#RenderCostDecrease\n" << renderCostDecrease << endl // TODO 
    15101510                   << "#TotalRenderCost\n" << totalRenderCost << endl 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp

    r1649 r1660  
    3838// HACK 
    3939const static bool SAMPLE_AFTER_SUBDIVISION = true; 
    40 const static bool CLAMP_TO_BOX = false; 
     40const static bool CLAMP_TO_BOX = true; 
    4141 
    4242template <typename T> class myless 
Note: See TracChangeset for help on using the changeset viewer.