Changeset 2651 for GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
- Timestamp:
- 03/19/08 18:25:13 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
r2648 r2651 1624 1624 SimpleRay sray = *sit; 1625 1625 1626 float err;1627 1628 1626 // set frame id for saving the error buffer 1629 1627 mFrame = i; … … 1631 1629 mViewDirection = sray.mDirection; 1632 1630 1633 if ( mPvsErrorBuffer[i].mError > 0.0f)1631 if (1)//mPvsErrorBuffer[i].mError > 0.0f) 1634 1632 { 1635 1633 int pvsSize; … … 1644 1642 } 1645 1643 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) 1649 1647 { 1650 1648 if (err > mPvsStat.maxError) 1649 { 1651 1650 mPvsStat.maxError = err; 1651 cout << "new max error: " << mPvsStat.maxError << endl; 1652 } 1652 1653 1653 1654 mPvsStat.sumError += err; … … 1656 1657 if (err == 0.0f) 1657 1658 ++ mPvsStat.errorFreeFrames; 1658 1659 ++ mPvsStat.frames;1660 1659 } 1660 1661 ++ mPvsStat.frames; 1661 1662 } 1662 1663
Note: See TracChangeset
for help on using the changeset viewer.