Ignore:
Timestamp:
03/18/07 00:26:49 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2255 r2258  
    36073607                        if (mCurrentViewCellsStats.maxPvs) 
    36083608                        { 
    3609                                 importance = (float)mViewCellsTree->GetPvsCost(vc) /  
    3610                                                          (float)mCurrentViewCellsStats.maxPvs; 
     3609                                importance = (float)mViewCellsTree->GetPvsCost(vc) / 700; 
     3610                                                         //(float)mCurrentViewCellsStats.maxPvs; 
    36113611                        } 
    36123612                } 
     
    36183618                } 
    36193619                break; 
    3620 #if 0 
    3621         case 3: // merge tree differene 
    3622                 { 
    3623                         importance = (float)GetMaxTreeDiff(vc) / 
    3624                                 (float)(mVspBspTree->GetStatistics().maxDepth * 2); 
    3625  
    3626                 } 
    3627                 break; 
    3628 #endif 
    36293620        default: 
    36303621                break; 
     
    63656356                const int savedColorCode = mColorCode; 
    63666357 
    6367                 const float maxRenderCost = -1;//UpdateObjectCosts(); 
     6358                const float maxRenderCost = UpdateObjectCosts(); 
    63686359                cout << "maxRenderCost: " << maxRenderCost << endl; 
    63696360                mColorCode = 0; // 0 = random, 1 = export pvs 
     
    64126403 
    64136404                if (1) 
    6414                 mHierarchyManager->ExportObjectSpaceHierarchy(exporter, objects,  
    6415                                                                                                           CLAMP_TO_BOX ? &bbox : NULL, maxRenderCost, false); 
     6405                mHierarchyManager->ExportObjectSpaceHierarchy(exporter,  
     6406                                                                                                          objects,  
     6407                                                                                                          CLAMP_TO_BOX ? &bbox : NULL,  
     6408                                                                                                          maxRenderCost,  
     6409                                                                                                          false); 
    64166410                 
    64176411 
Note: See TracChangeset for help on using the changeset viewer.