- Timestamp:
- 02/19/06 20:22:36 (19 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/scripts/default.env
r654 r655 333 333 minGlobalCostRatio 0.0000001 334 334 maxViewCells 40000 335 335 useSplitCostQueue true 336 336 337 # used for pvs criterium 337 338 ct_div_ci 0.0 -
GTP/trunk/Lib/Vis/Preprocessing/src/Environment.cpp
r654 r655 1816 1816 "0.0001"); 1817 1817 1818 RegisterOption("VspBspTree.useSplitCostQueue", 1819 optBool, 1820 "-vsp_bsp_use_split_cost_queue=", 1821 "true"); 1822 1818 1823 RegisterOption("VspBspTree.Termination.globalCostMissTolerance", 1819 1824 optInt, -
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
r654 r655 123 123 124 124 environment->GetFloatValue("VspBspTree.Construction.renderCostWeight", mRenderCostWeight); 125 126 125 environment->GetBoolValue("VspBspTree.usePolygonSplitIfAvailable", mUsePolygonSplitIfAvailable); 127 126 … … 129 128 130 129 environment->GetBoolValue("VspBspTree.useCostHeuristics", mUseCostHeuristics); 130 environment->GetBoolValue("VspBspTree.useSplitCostQueue", mUseSplitCostQueue); 131 131 132 132 … … 399 399 << TimeDiff(startTime, GetTime())*1e-3 << " secs" << endl << endl; 400 400 401 if (0) 401 // use split cost priority queue 402 if (mUseSplitCostQueue) 403 { 402 404 ConstructWithSplitQueue(polys, rays); 405 } 403 406 else 407 { 404 408 Construct(polys, rays); 409 } 405 410 406 411 // clean up polygons … … 593 598 float costRatio = splitCandidate.GetCost() / mTotalCost; 594 599 595 Debug << "cost ratio: " << costRatio << endl;600 //Debug << "cost ratio: " << costRatio << endl; 596 601 597 602 if (costRatio < mTermMinGlobalCostRatio) 598 {Debug << "here1 cost ratio: " << costRatio << " max " << mTermMinGlobalCostRatio << endl;599 603 ++ mGlobalCostMisses; 600 }604 601 605 if (0 && !mOutOfMemory) 602 606 { -
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.h
r654 r655 715 715 int mGlobalCostMisses; 716 716 717 bool mUseSplitCostQueue; 717 718 //-- termination criteria for axis aligned split 718 719
Note: See TracChangeset
for help on using the changeset viewer.