Changeset 670 for GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
- Timestamp:
- 03/02/06 14:47:47 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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)
Note: See TracChangeset
for help on using the changeset viewer.