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

fixed statistics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.