Ignore:
Timestamp:
09/27/06 19:23:51 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1486 r1522  
    489489        const float renderCostDecr = oldRenderCost - newRenderCost; 
    490490 
    491 //#ifdef _DEBUG 
     491#ifdef _DEBUG 
    492492        Debug << "old render cost: " << oldRenderCost << endl; 
    493493        Debug << "new render cost: " << newRenderCost << endl; 
    494494        Debug << "render cost decrease: " << renderCostDecr << endl; 
    495 //#endif 
     495#endif 
    496496        splitCandidate.SetRenderCostDecrease(renderCostDecr); 
    497497 
     
    527527                (0 
    528528                || (mBvhStats.Leaves() >= mTermMaxLeaves) 
    529                 || (mBvhStats.mGlobalCostMisses >= mTermGlobalCostMissTolerance) 
     529                //|| (mBvhStats.mGlobalCostMisses >= mTermGlobalCostMissTolerance) 
    530530                //|| mOutOfMemory  
    531531                ); 
     
    974974 
    975975#ifdef _DEBUG 
    976         Debug << "\n§§§§ eval local cost §§§§" << endl 
     976        Debug << "\n§§§§ bvh eval const decrease §§§§" << endl 
    977977                  << "back pvs: " << (int)objectsBack.size() << " front pvs: " << (int)objectsFront.size() << " total pvs: " << nTotalObjects << endl  
    978978                  << "back p: " << volBack / viewSpaceVol << " front p " << volFront / viewSpaceVol << " p: " << totalVol / viewSpaceVol << endl 
     
    16561656                                                                                                           const ObjectContainer &objects) 
    16571657{ 
    1658         /////////////////////////////////////////////////////////////// 
    1659         //-- note matt: we assume that we have objects sorted by their id =>  
     1658        /////////////////////////////////////// 
     1659        //-- we assume that we have objects sorted by their id =>  
    16601660        //-- we don't have to sort them here and an binary search  
    16611661        //-- for identifying if a object is in a leaf. 
     
    16651665 
    16661666        mBvhStats.nodes = 1; 
    1667          
    1668          
     1667                 
    16691668        // store pointer to this tree 
    16701669        BvhSubdivisionCandidate::sBvHierarchy = this; 
Note: See TracChangeset for help on using the changeset viewer.