Changeset 2611 for GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
- Timestamp:
- 01/17/08 23:12:07 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
r2609 r2611 107 107 mPvsStatFrames = (int)mViewCellsManager->GetViewCellPointsList()->size(); 108 108 else 109 Environment::GetSingleton()->GetIntValue("Preprocessor.pvsRenderErrorSamples", mPvsStatFrames); 110 111 109 Environment::GetSingleton()->GetIntValue("Preprocessor.pvsRenderErrorSamples", 110 mPvsStatFrames); 111 112 112 113 mPvsErrorBuffer.resize(mPvsStatFrames); 113 114 ClearErrorBuffer(); … … 1428 1429 SetupProjection(GetWidth(), GetHeight()); 1429 1430 1430 cout<<" mPvsStatFrames="<<mPvsStatFrames<<endl;1431 cout<<"Random Pvs STATS, mPvsStatFrames="<<mPvsStatFrames<<endl; 1431 1432 1432 1433 for (int i=0; i < mPvsStatFrames; i++) { … … 1434 1435 // set frame id for saving the error buffer 1435 1436 mFrame = i; 1437 // cerr<<"RV"<<endl; 1436 1438 RandomViewPoint(); 1439 // cerr<<"RV2"<<endl; 1437 1440 1438 1441 if (mPvsErrorBuffer[i].mError == 1.0f) { … … 1461 1464 if (mPvsErrorBuffer[i].mError > 0.0f) { 1462 1465 int pvsSize; 1463 1466 1467 cerr<<"GPE"<<endl; 1468 1464 1469 float error = GetPixelError(pvsSize); 1470 cerr<<"GPEd"<<endl; 1471 1465 1472 mPvsErrorBuffer[i].mError = error; 1466 1473 mPvsErrorBuffer[i].mPvsSize = pvsSize;
Note: See TracChangeset
for help on using the changeset viewer.