Ignore:
Timestamp:
01/23/06 15:58:00 (18 years ago)
Author:
bittner
Message:

viewcell validy setting functions extended

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/RssPreprocessor.cpp

    r567 r569  
    489489          "#TotalSamples\n" <<totalSamples<<endl<< 
    490490          "#RssSamples\n" <<rssSamples<<endl; 
    491          
    492  
     491 
     492        { 
     493          VssRayContainer contributingRays; 
     494          mVssRays.GetContributingRays(contributingRays, mPass); 
     495          mStats<<"#NUM_CONTRIBUTING_RAYS\n"<<(int)contributingRays.size()<<endl; 
     496        } 
     497         
    493498        mVssRays.PrintStatistics(mStats); 
    494499        mViewCellsManager->PrintPvsStatistics(mStats); 
     
    543548   
    544549  // viewcells->UpdatePVS(newVssRays); 
    545    
    546  
     550  Debug<<"Valid viewcells before set validity: "<<mViewCellsManager->CountValidViewcells()<<endl; 
     551  // cull viewcells with PVS > median (0.5f) 
     552  mViewCellsManager->SetValidityPercentage(0, 0.5f);  
     553  Debug<<"Valid viewcells after set validity: "<<mViewCellsManager->CountValidViewcells()<<endl; 
     554   
    547555  while (1) { 
    548556        SimpleRayContainer rays; 
Note: See TracChangeset for help on using the changeset viewer.