Ignore:
Timestamp:
01/17/08 23:12:07 (17 years ago)
Author:
bittner
Message:

pvs error debug

File:
1 edited

Legend:

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

    r2609 r2611  
    107107                mPvsStatFrames = (int)mViewCellsManager->GetViewCellPointsList()->size(); 
    108108        else 
    109                 Environment::GetSingleton()->GetIntValue("Preprocessor.pvsRenderErrorSamples", mPvsStatFrames); 
    110  
    111  
     109                Environment::GetSingleton()->GetIntValue("Preprocessor.pvsRenderErrorSamples", 
     110                                                                                                 mPvsStatFrames); 
     111         
     112         
    112113        mPvsErrorBuffer.resize(mPvsStatFrames); 
    113114        ClearErrorBuffer(); 
     
    14281429  SetupProjection(GetWidth(), GetHeight()); 
    14291430 
    1430   cout<<"mPvsStatFrames="<<mPvsStatFrames<<endl; 
     1431  cout<<"Random Pvs STATS, mPvsStatFrames="<<mPvsStatFrames<<endl; 
    14311432   
    14321433  for (int i=0; i < mPvsStatFrames; i++) { 
     
    14341435        // set frame id for saving the error buffer 
    14351436        mFrame = i; 
     1437        //      cerr<<"RV"<<endl; 
    14361438        RandomViewPoint(); 
     1439        //      cerr<<"RV2"<<endl; 
    14371440 
    14381441        if (mPvsErrorBuffer[i].mError == 1.0f) { 
     
    14611464        if (mPvsErrorBuffer[i].mError > 0.0f) { 
    14621465          int pvsSize; 
    1463            
     1466 
     1467          cerr<<"GPE"<<endl; 
     1468 
    14641469          float error = GetPixelError(pvsSize); 
     1470          cerr<<"GPEd"<<endl; 
     1471 
    14651472          mPvsErrorBuffer[i].mError = error; 
    14661473          mPvsErrorBuffer[i].mPvsSize = pvsSize; 
Note: See TracChangeset for help on using the changeset viewer.