Changeset 2651


Ignore:
Timestamp:
03/19/08 18:25:13 (16 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing
Files:
1 added
1 edited

Legend:

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

    r2648 r2651  
    16241624          SimpleRay sray = *sit; 
    16251625           
    1626           float err; 
    1627            
    16281626          // set frame id for saving the error buffer 
    16291627          mFrame = i; 
     
    16311629          mViewDirection = sray.mDirection; 
    16321630           
    1633           if (mPvsErrorBuffer[i].mError > 0.0f)  
     1631          if (1)//mPvsErrorBuffer[i].mError > 0.0f)  
    16341632          { 
    16351633                  int pvsSize; 
     
    16441642          } 
    16451643 
    1646           err = mPvsErrorBuffer[i].mError; 
    1647  
    1648           if (err >= 0.0f)  
     1644          const float err = mPvsErrorBuffer[i].mError; 
     1645 
     1646          if (1)//err >= 0.0f)  
    16491647          { 
    16501648                  if (err > mPvsStat.maxError) 
     1649                  { 
    16511650                          mPvsStat.maxError = err; 
     1651                          cout << "new max error: " << mPvsStat.maxError << endl; 
     1652                  } 
    16521653 
    16531654                  mPvsStat.sumError += err; 
     
    16561657                  if (err == 0.0f) 
    16571658                          ++ mPvsStat.errorFreeFrames; 
    1658  
    1659                   ++ mPvsStat.frames; 
    16601659          } 
     1660 
     1661          ++ mPvsStat.frames; 
    16611662        } 
    16621663   
Note: See TracChangeset for help on using the changeset viewer.