Changeset 2351


Ignore:
Timestamp:
05/04/07 17:25:59 (17 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
2 edited

Legend:

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

    r2347 r2351  
    17101710float ViewCellsManager::ComputeRenderCost(const int tri, const int obj) //const 
    17111711{ 
    1712         return (float)tri; 
    17131712        return max((float)tri * mTriangleWeight, (float)obj * mObjectWeight); 
    17141713} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp

    r2350 r2351  
    312312mRoot(NULL), 
    313313mOutOfBoundsCell(NULL), 
    314 //mStoreRays(false), 
    315 mStoreRays(true), 
     314mStoreRays(false), 
     315//mStoreRays(true), 
    316316mTimeStamp(1), 
    317317mHierarchyManager(NULL) 
     
    16331633        const float renderCostDecrease = (oldRenderCost - newRenderCost) / viewSpaceVol; 
    16341634 
    1635         //cout << "old: " << normalizedOldRenderCost << " new: " << newRenderCost / viewSpaceVol << " corr: " << tData.mCorrectedRenderCost << " ratio: " << oldRenderCostRatio << endl; 
     1635#if GTP_DEBUG 
     1636        Debug << "old: " << normalizedOldRenderCost << " new: " << newRenderCost / viewSpaceVol << " corr: " << tData.mCorrectedRenderCost << " ratio: " << oldRenderCostRatio << endl; 
     1637#endif 
    16361638 
    16371639        return renderCostDecrease; 
Note: See TracChangeset for help on using the changeset viewer.