Changeset 1673 for GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
- Timestamp:
- 10/24/06 10:15:48 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
r1667 r1673 122 122 "Hierarchy.Construction.considerMemory", mConsiderMemory); 123 123 124 Environment::GetSingleton()->GetBoolValue( 125 "Hierarchy.Construction.considerMemory2", mConsiderMemory2); 126 124 127 Environment::GetSingleton()->GetFloatValue( 125 128 "Hierarchy.Termination.maxMemory", mTermMaxMemory); … … 141 144 Debug << "minimal number of steps from same type: " << mMinStepsOfSameType << endl; 142 145 Debug << "maximal allowed memory: " << mTermMaxMemory << endl; 143 Debug << "consider mem: " << mConsiderMemory << endl; 146 Debug << "consider memory: " << mConsiderMemory << endl; 147 Debug << "consider memory2: " << mConsiderMemory << endl; 144 148 Debug << "mem const: " << mMemoryConst << endl; 145 149 … … 422 426 // decide upon next split type 423 427 const float vspPriority = viewSpaceQueue.Top() ? viewSpaceQueue.Top()->GetPriority() : -1e20; 424 const float ospPriority = viewSpaceQueue.Top() ? objectSpaceQueue.Top()->GetPriority() : -1e20;428 const float ospPriority = objectSpaceQueue.Top() ? objectSpaceQueue.Top()->GetPriority() : -1e20; 425 429 426 430 cout << "new decicion, vsp: " << vspPriority << ", osp: " << ospPriority << endl; … … 429 433 if (ospPriority >= vspPriority) 430 434 { 431 // use splits of one kind until rendercost decrease of other domain is reached 432 renderCostDecr = vspPriority; 433 cout << "comparing with this render cost: " << renderCostDecr << endl; 435 cout << "osp" << endl; 434 436 // dirtied view space candidates 435 437 SubdivisionCandidateContainer dirtyVspList; … … 450 452 else 451 453 { 452 // use splits of one kind until rendercost slope is reached 453 renderCostDecr = ospPriority; 454 cout << "comparing with this render cost: " << renderCostDecr << endl; 455 454 cout << "vsp" << endl; 455 456 456 ///////////////// 457 457 // subdivide view space with respect to the objects
Note: See TracChangeset
for help on using the changeset viewer.