Changeset 2725 for GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
- Timestamp:
- 05/29/08 00:31:59 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
r2721 r2725 104 104 mViewDirection = Vector3(-0.604798, 0, 0.796379); 105 105 106 if ( 0) {106 if (1) { 107 107 108 108 // outside … … 1573 1573 int i = 0; 1574 1574 1575 // $ tmp matt: somehow this is not properly initialised 1576 ClearErrorBuffer(); 1577 cout << "here4 " << mPvsErrorBuffer.size() << endl; 1575 1578 for (sit = viewPoints.begin(); sit != sit_end; ++ sit, ++ i) 1576 1579 { … … 1584 1587 mViewDirection = sray.mDirection; 1585 1588 1589 cout << "handling vp " << mFrame << " " << mViewPoint << " " << mViewDirection << endl; 1586 1590 // skip all frames which have already 0 pixel error 1587 1591 // $$ Reverted back by JB for efficiency 1588 if (mPvsErrorBuffer[i].mError > 0.0f) 1589 { 1592 if (1)//mPvsErrorBuffer[i].mError > 0.0f) 1593 { 1594 cout << "here3" << endl; 1590 1595 // compute the pixel error 1591 1596 mPvsErrorBuffer[i].mError = GetPixelError(pvsSize, mPvsStat.pass); 1592 1597 mPvsErrorBuffer[i].mPvsSize = pvsSize; 1593 1598 1594 if ( 0 &&(mPvsErrorBuffer[i].mError * GetWidth() * GetHeight() > 0) && (pvsSize > 0))1599 if ((mPvsErrorBuffer[i].mError * GetWidth() * GetHeight() > 0) && (pvsSize > 0)) 1595 1600 { 1596 1601 cout << "error in frame " << i << "," << mViewPoint << "," << mViewDirection << " "
Note: See TracChangeset
for help on using the changeset viewer.