Ignore:
Timestamp:
10/24/06 10:15:48 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp

    r1667 r1673  
    122122                "Hierarchy.Construction.considerMemory", mConsiderMemory); 
    123123 
     124        Environment::GetSingleton()->GetBoolValue( 
     125                "Hierarchy.Construction.considerMemory2", mConsiderMemory2); 
     126 
    124127        Environment::GetSingleton()->GetFloatValue( 
    125128                "Hierarchy.Termination.maxMemory", mTermMaxMemory); 
     
    141144        Debug << "minimal number of steps from same type: " << mMinStepsOfSameType << endl; 
    142145        Debug << "maximal allowed memory: " << mTermMaxMemory << endl; 
    143         Debug << "consider mem: " << mConsiderMemory << endl; 
     146        Debug << "consider memory: " << mConsiderMemory << endl; 
     147        Debug << "consider memory2: " << mConsiderMemory << endl; 
    144148        Debug << "mem const: " << mMemoryConst << endl; 
    145149 
     
    422426                // decide upon next split type 
    423427                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; 
    425429                 
    426430                cout << "new decicion, vsp: " << vspPriority << ", osp: " << ospPriority << endl; 
     
    429433                if (ospPriority >= vspPriority) 
    430434                { 
    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; 
    434436                        // dirtied view space candidates 
    435437                        SubdivisionCandidateContainer dirtyVspList; 
     
    450452                else 
    451453                { 
    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                         
    456456                        ///////////////// 
    457457                        // subdivide view space with respect to the objects 
Note: See TracChangeset for help on using the changeset viewer.