Changeset 1314 for GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
- Timestamp:
- 09/03/06 03:13:29 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
r1313 r1314 105 105 "Hierarchy.Construction.minDepthForOsp", mMinDepthForObjectSpaceSubdivion); 106 106 107 Environment::GetSingleton()->GetBoolValue( 108 "Hierarchy.Construction.repairQueue", mRepairQueue); 109 107 110 Debug << "******** Hierachy Manager Parameters ***********" << endl; 108 111 Debug << "max leaves: " << mTermMaxLeaves << endl; 109 112 Debug << "min global cost ratio: " << mTermMinGlobalCostRatio << endl; 110 113 Debug << "global cost miss tolerance: " << mTermGlobalCostMissTolerance << endl; 114 Debug << "construction type: " << mConstructionType << endl; 115 Debug << "min depth for object space subdivision: " << mMinDepthForObjectSpaceSubdivion << endl; 116 Debug << "repair queue: " << mRepairQueue << endl; 111 117 } 112 118 … … 343 349 PrepareViewSpaceSubdivision(sampleRays, objects, forcedViewSpace); 344 350 345 //const bool repairQueue = false;346 const bool repairQueue = true;347 cout << "here55 " << mVspTree->mVspStats.maxDepth << " (" << mMinDepthForObjectSpaceSubdivion << ") " << endl;348 351 // start object space subdivision immediately? 349 352 if (StartObjectSpaceSubdivision()) … … 379 382 // reevaluate candidates affected by the split for view space splits, 380 383 // this would be object space splits and other way round 381 if ( repairQueue) RepairQueue();384 if (mRepairQueue) RepairQueue(); 382 385 } 383 386 … … 386 389 if (StartObjectSpaceSubdivision()) 387 390 { 391 mObjectSpaceSubdivisionType = savedObjectSpaceSubdivisionType; 392 393 cout << "starting object space subdivision at maximal view space subdivison depth " << mVspTree->mVspStats.maxDepth << " (" << mMinDepthForObjectSpaceSubdivion << ") " << endl; 394 PrepareObjectSpaceSubdivision(sampleRays, objects); 395 388 396 cout << "reseting queue ... "; 389 397 ResetQueue(); 390 398 cout << "finished" << endl; 391 392 cout << "starting object space subdivision at maximal view space subdivison depth " << mVspTree->mVspStats.maxDepth << " (" << mMinDepthForObjectSpaceSubdivion << ") " << endl;393 394 mObjectSpaceSubdivisionType = savedObjectSpaceSubdivisionType;395 PrepareObjectSpaceSubdivision(sampleRays, objects);396 399 } 397 400
Note: See TracChangeset
for help on using the changeset viewer.