Changeset 2611 for GTP/trunk/Lib/Vis/Preprocessing
- Timestamp:
- 01/17/08 23:12:07 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 5 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; -
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2609 r2611 109 109 110 110 ViewCell *viewcell = mViewCellsManager->GetViewCell(mViewPoint); 111 // cout<<"View cell"<<viewcell<<endl;112 111 if (viewcell == NULL) 113 112 return 0.0f; -
GTP/trunk/Lib/Vis/Preprocessing/src/SG08/run_test_pixel
r2610 r2611 4 4 #COMMAND="./release/preprocessor.exe -preprocessor_quit_on_finish+" 5 5 #COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -samples_per_pass=500000 -samples_per_evaluation=10000000 -total_samples=500000000 -preprocessor_pvs_rendererror_samples=10000 -preprocessor_evaluatePixelError+" 6 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer + -preprocessor_evaluate_filter- -samples_per_pass=1000000 -samples_per_evaluation=2000000 -total_samples=500000000 -preprocessor_pvs_rendererror_samples=10000 -preprocessor_evaluatePixelError+"6 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -samples_per_pass=1000000 -samples_per_evaluation=500000 -total_samples=500000000 -preprocessor_pvs_rendererror_samples=10000 -preprocessor_evaluatePixelError+" 7 7 8 8 #SCENE="../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d" -
GTP/trunk/Lib/Vis/Preprocessing/src/default.env
r2610 r2611 518 518 BSP { 519 519 termCrit auto 520 # auto2 allows to set the number of primitives per leaf 520 521 #termCrit auto2 522 #adhoc allows to set maxdepth + number of primitives per leaf 521 523 #termCrit adhoc 522 524 # For Arena … … 526 528 #maxDepthAllowed 22 527 529 #maxListLength 6 530 # For PowerPlant 531 maxDepthAllowed 18 532 maxListLength 8 528 533 # For Power plant 529 534 #maxDepthAllowed 8 -
GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
r2610 r2611 293 293 Environment::GetSingleton()->GetIntValue("Preprocessor.pvsRenderErrorSamples", frames); 294 294 295 bool evalPixelError; 296 Environment::GetSingleton()->GetBoolValue("Preprocessor.evaluatePixelError", evalPixelError); 297 295 298 #ifdef USE_QT 296 299 … … 299 302 pt = new QtPreprocessorThread(preprocessor); 300 303 301 if (preprocessor->mUseGlRenderer && (importRandomViewCells || frames)) 302 304 // if (preprocessor->mUseGlRenderer && (importRandomViewCells || frames)) 305 306 if (evalPixelError && (importRandomViewCells || frames)) 303 307 { 304 308 QGLFormat f;
Note: See TracChangeset
for help on using the changeset viewer.