Ignore:
Timestamp:
02/06/06 23:53:19 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r600 r601  
    4444{ 
    4545        // clamp to minmax values 
    46         if (pvs < lower) 
     46        /*if (pvs < lower) 
    4747                return (float)lower; 
    4848        if (pvs > upper) 
    4949                return (float)upper; 
    50  
     50*/ 
    5151        return (float)pvs; 
    5252} 
     
    623623                                ++ mergeStats.siblings; 
    624624#endif 
    625                         if (((mergeStats.merged % statsOut) == 0) ||  
    626                                 (realNumActiveViewCells == mMergeMinViewCells)) 
    627                         { 
     625                //      if (((mergeStats.merged % statsOut) == 0) ||  
     626                //              (realNumActiveViewCells == mMergeMinViewCells)) 
     627                //      { 
    628628                                cout << "merged " << mergeStats.merged << " view cells" << endl; 
    629629 
     
    635635                                        << "#TotalRenderCost\n" << totalRenderCost << endl 
    636636                                        << "#CurrentPvs\n" << mergedVc->GetPvs().GetSize() << endl 
    637                                         << "#ExpectedCost\n" << realExpectedCost << endl 
     637                                        << "#ExpectedCost\n" << realExpectedCost / (float) realNumActiveViewCells << endl 
    638638                                        << "#AvgRenderCost\n" << realAvgRenderCost << endl 
    639639                                        << "#Deviation\n" << mDeviation << endl 
    640640                                        << "#TotalPvs\n" << totalPvs << endl 
    641                                         << "#PvsSizeDecrease\n" << -pvsDiff << endl; 
    642                         } 
     641                                        << "#PvsSizeDecrease\n" << -pvsDiff << endl 
     642                                        <<  "#Volume\n" << mergedVc->GetVolume() << endl 
     643                                        << "#Dummy\n" << (float)mergedVc->GetPvs().GetSize() * mergedVc->GetVolume() / mViewCellsManager->GetViewSpaceBox().GetVolume() << endl; 
     644                //      } 
    643645                } 
    644646                else 
Note: See TracChangeset for help on using the changeset viewer.