Ignore:
Timestamp:
01/09/08 10:42:39 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2580 r2581  
    846846        mRenderVisibilityEstimates = false; 
    847847 
     848        mHistRecorded = false; 
     849 
    848850        mHideByCost = false; 
    849851        mUseTransparency = false; 
     
    13451347        } 
    13461348 
    1347         int i; 
    1348  
    1349         //mRecordHist = false; 
    1350         mRecordHist = true; 
    1351         mNextSamples = 2000000; 
     1349        mNextSamples = 200000; 
    13521350 
    13531351        ViewCellContainer &viewcells = mViewCellsManager->GetViewCells(); 
     
    13551353        //cout << "current samples: " << currentSamples << endl; 
    13561354 
    1357         if (mRecordHist && (currentSamples > mNextSamples)) 
    1358         { 
     1355        if (!mHistRecorded && (currentSamples > mNextSamples)) 
     1356        { 
     1357                mHistRecorded = true; 
     1358 
    13591359                //mNextSamples += SAMPLES_INCR; 
    1360 cout<<"************************************************" << endl; 
     1360                cout<<"************************************************" << endl; 
    13611361                cout << "reached " << currentSamples << " samples " << " => writing file" << endl; 
    13621362                //ViewCellInfoContainer newContainer; 
     
    13691369                writer.SetFilename("compare.log"); 
    13701370                writer.Write(mNextSamples, mCurrentInfo); 
     1371 
    13711372                cout << "finished writing file" << endl; 
    13721373        } 
     
    13771378        ComputeMaxValues(viewcells, maxPvs, maxPiercingRays, maxRelativeRays, maxRcCost); 
    13781379 
     1380        int i; 
    13791381 
    13801382        if (!mShowPvsSizes && !mShowPiercingRays && !mShowWeightedRays && !mShowWeightedCost) 
Note: See TracChangeset for help on using the changeset viewer.