Changeset 2351 for GTP/trunk/Lib/Vis/Preprocessing
- Timestamp:
- 05/04/07 17:25:59 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r2347 r2351 1710 1710 float ViewCellsManager::ComputeRenderCost(const int tri, const int obj) //const 1711 1711 { 1712 return (float)tri;1713 1712 return max((float)tri * mTriangleWeight, (float)obj * mObjectWeight); 1714 1713 } -
GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
r2350 r2351 312 312 mRoot(NULL), 313 313 mOutOfBoundsCell(NULL), 314 //mStoreRays(false),315 mStoreRays(true),314 mStoreRays(false), 315 //mStoreRays(true), 316 316 mTimeStamp(1), 317 317 mHierarchyManager(NULL) … … 1633 1633 const float renderCostDecrease = (oldRenderCost - newRenderCost) / viewSpaceVol; 1634 1634 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 1636 1638 1637 1639 return renderCostDecrease;
Note: See TracChangeset
for help on using the changeset viewer.