Changeset 670 for GTP/trunk/Lib/Vis/Preprocessing/src
- Timestamp:
- 03/02/06 14:47:47 (19 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Environment.cpp
r667 r670 1276 1276 RegisterOption("ViewCells.evaluateViewCells", 1277 1277 optBool, 1278 "view_cells_evaluate _view_cells=",1278 "view_cells_evaluate=", 1279 1279 "false"); 1280 1280 -
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
r667 r670 743 743 float cData = (float)tData.mPvs * tData.mProbability;; 744 744 745 float costDecr = 746 (cFront + cBack - cData) / mBox.GetVolume(); 745 float costDecr = (cFront + cBack - cData) / mBox.GetVolume(); 747 746 748 747 mTotalCost += costDecr; … … 943 942 tData.mPriority = mBreathFirstSplits ? 944 943 (float)-tData.mDepth : tData.mPvs * tData.mProbability; 944 //cout << "priority: " << tData.mPriority << endl; 945 945 } 946 946 … … 1356 1356 sAxis = tData.mAxis; 1357 1357 1358 //Debug << "use special axis: " << useSpecialAxis << endl; 1359 //Debug << "axis: " << sAxis << " drivingaxis: " << box.Size().DrivingAxis(); 1358 1360 1359 1361 for (axis = 0; axis < 3; ++ axis) -
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.h
r666 r670 129 129 float GetCost() const 130 130 { 131 //cout << "here " << mPriority << endl; 131 132 return mPriority; 132 133 }
Note: See TracChangeset
for help on using the changeset viewer.