Changeset 1011 for GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
- Timestamp:
- 06/12/06 16:36:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
r1006 r1011 68 68 bool randomize = false; 69 69 Environment::GetSingleton()->GetBoolValue("VspBspTree.Construction.randomize", randomize); 70 if (randomize) 71 Randomize(); // initialise random generator for heuristics 70 if (randomize) Randomize(); // initialise random generator for heuristics 72 71 73 72 //-- termination criteria for autopartition … … 87 86 Environment::GetSingleton()->GetFloatValue("VspBspTree.Termination.minGlobalCostRatio", mTermMinGlobalCostRatio); 88 87 Environment::GetSingleton()->GetIntValue("VspBspTree.Termination.globalCostMissTolerance", mTermGlobalCostMissTolerance); 89 90 // HACK//mTermMinPolygons = 25;91 88 92 89 //-- factors for bsp tree split plane heuristics … … 2736 2733 const int side = plane.Side(bRay.ExtrapOrigin()); 2737 2734 2735 ++ splits; 2736 2738 2737 if (side <= 0) 2739 2738 {
Note: See TracChangeset
for help on using the changeset viewer.