Changeset 604


Ignore:
Timestamp:
02/07/06 12:49:57 (18 years ago)
Author:
mattausch
Message:

fixed statistics

Location:
trunk/VUT/GtpVisibilityPreprocessor/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.cpp

    r602 r604  
    519519        cout << "actual merge starts now ... " << endl; 
    520520         
     521 
     522        mStats << "#Pass\n" << pass << endl 
     523                << "#Merged\n" << mergeStats.merged << endl  
     524                << "#Viewcells\n" << realNumActiveViewCells << endl  
     525                << "#RenderCostIncrease\n" << 0 << endl 
     526                << "#TotalRenderCost\n" << totalRenderCost << endl 
     527                << "#CurrentPvs\n" << 0 << endl 
     528                << "#ExpectedCost\n" << realExpectedCost << endl 
     529                << "#AvgRenderCost\n" << realAvgRenderCost << endl 
     530                << "#Deviation\n" << mDeviation << endl 
     531                << "#TotalPvs\n" << totalPvs << endl 
     532                << "#PvsSizeDecrease\n" << 0 << endl 
     533                << "#Volume\n" << 0 << endl 
     534                << "#Dummy\n" << 0 << endl; 
    521535 
    522536        //-- use priority queue to merge leaf pairs 
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h

    r600 r604  
    241241        { 
    242242                ViewCell::UpdateViewCellsStats(vcStat); 
    243  
     243// TODO 
    244244                //if ((int)mLeaves.size() > vcStat.maxLeaves) 
    245245                //      vcStat.maxLeaves = (int)mLeaves.size(); 
  • trunk/VUT/GtpVisibilityPreprocessor/src/VspBspTree.cpp

    r603 r604  
    431431        mTotalCost = tData.GetCost() / mBox.GetVolume(); 
    432432 
    433         mSplits = 0; 
    434433        mSubdivisionStats  
    435                         << "#Nodes\n" << ++ mSplits << endl 
     434                        << "#Leaves\n1\n" << endl 
    436435                        << "#RenderCostDecrease\n0\n" << endl  
    437436                        << "#TotalRenderCost\n" << mTotalCost << endl; 
     
    534533 
    535534                                mSubdivisionStats  
    536                                                 << "#Nodes\n" << ++ mSplits << endl 
     535                                                << "#Leaves\n" << mBspStats.Leaves() << endl 
    537536                                                << "#RenderCostDecrease\n" << -costDecr << endl  
    538537                                                << "#TotalRenderCost\n" << mTotalCost << endl; 
Note: See TracChangeset for help on using the changeset viewer.