Changeset 2725 for GTP/trunk/Lib/Vis/Preprocessing
- Timestamp:
- 05/29/08 00:31:59 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/scripts/run_demo_arena
r2684 r2725 9 9 10 10 #COMMAND="./release/preprocessor.exe -preprocessor_quit_on_finish+" 11 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish- -preprocessor_use_gl_renderer+ -preprocessor_evaluate_filter- -samples_per_evaluation=5000000 -samples_per_pass=500000 -total_samples=100000000 "11 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish- -preprocessor_use_gl_renderer+ -preprocessor_evaluate_filter- -samples_per_evaluation=5000000 -samples_per_pass=500000 -total_samples=100000000 -view_cells_import_random_viewcells+" 12 12 13 #SCENE=../data/Arena/arena-high-lods.obj14 SCENE=../data/Arena/arena_trees.obj13 SCENE=../data/Arena/arena-high-lods.obj 14 #SCENE=../data/Arena/arena_trees.obj 15 15 16 16 #VIEWCELLS=../data/Arena/arena-high-lods-57000-viewcells.xml.gz 17 17 #VIEWCELLS=../data/Arena/arena-high-lods-10000-viewcells.xml.gz 18 18 VIEWCELLS=../data/Arena/arena-high-lods-5000-viewcells.xml.gz 19 VIEWPOINTS=../data/arena/arena_key_cropped.vp 19 20 20 21 # SCENE=../data/Pompeii/PompeiiTen.obj … … 37 38 -preprocessor_stats=$PREFIX-i-mixed-b1-n4a.log \ 38 39 -preprocessor_histogram_file=$PREFIX-i-mixed-b1-n4a.hlog \ 40 -view_cells_random_viewpoint_list=$VIEWPOINTS \ 39 41 demo1.env 40 42 -
GTP/trunk/Lib/Vis/Preprocessing/scripts/run_demo_vienna
r2724 r2725 8 8 9 9 10 SCENE=../data/vienna/vienna_cropped.obj10 #SCENE=../data/vienna/vienna_cropped.obj 11 11 #SCENE=../data/vienna/city_full.obj 12 #SCENE=../data/vienna/city_full_hp.obj12 SCENE=../data/vienna/city_full_hp.obj 13 13 #SCENE=../data/vienna/vienna_rep.obj 14 14 15 15 VIEWCELLS=../data/vienna/vienna_cropped-gradient-viewcells.xml.gz 16 #VIEWCELLS=../data/vienna/vienna_cropped-seq-3000-false-20-viewcells.xml.gz17 VIEWCELLS=../data/vienna/vienna_cropped-57000-viewcells.xml.gz16 VIEWCELLS=../data/vienna/vienna_cropped-seq-3000-false-20-viewcells.xml.gz 17 #VIEWCELLS=../data/vienna/vienna_cropped-57000-viewcells.xml.gz 18 18 VIEWPOINTS=../data/vienna/testwalk.vp 19 19 -
GTP/trunk/Lib/Vis/Preprocessing/scripts/run_gvs_vps.sh
r2723 r2725 12 12 13 13 #SCENE=../data/Arena/arena-high-lods.obj 14 #VIEWCELLS=../data/Arena/arena-high-lods-5000-viewcells.xml.gz 14 SCENE=../data/Arena/arena_trees.obj 15 VIEWCELLS=../data/Arena/arena-high-lods-5000-viewcells.xml.gz 15 16 #SCENE=../data/vienna/vienna_cropped.obj 16 17 #SCENE=../data/roofs_new.obj 17 SCENE=../data/vienna/city_full_hp.obj18 #SCENE=../data/vienna/city_full_hp.obj 18 19 #SCENE=../data/vienna/vienna_rep.obj 19 20 20 21 21 #SCENE=../data/vienna/vienna_cropped.obj 22 VIEWCELLS=../data/vienna/vienna_cropped-gradient-viewcells.xml.gz 23 VIEWPOINTS=../data/vienna/testwalk.vp 22 #VIEWCELLS=../data/vienna/vienna_cropped-gradient-viewcells.xml.gz 23 #VIEWPOINTS=../data/vienna/testwalk.vp 24 VIEWPOINTS=../data/arena/arena_key_cropped.vp 24 25 25 26 #LOG_PREFIX=../src/SG08/rebut-arena-pixel2 26 27 #LOG_PREFIX=../src/SG08/full 27 LOG_PREFIX=../src/SG08/ city_full28 LOG_PREFIX=../src/SG08/arena_trees 28 29 29 30 ENVIRONMENT=gvs.env … … 39 40 -preprocessor_use_vbos- \ 40 41 -gvs_epsilon=0.0001 \ 41 -gvs_total_samples=100000 0\42 -gvs_samples_per_pass=100000 0\42 -gvs_total_samples=100000 \ 43 -gvs_samples_per_pass=100000 \ 43 44 -gvs_initial_samples=16 \ 44 -gvs_max_viewcells= 5000 \45 -gvs_min_contribution= 500 \45 -gvs_max_viewcells=200000 \ 46 -gvs_min_contribution=2000 \ 46 47 -gvs_per_viewcell=true \ 47 48 -preprocessor_detect_empty_viewspace+ \ -
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 << " " -
GTP/trunk/Lib/Vis/Preprocessing/src/GvsPreprocessor.cpp
r2717 r2725 243 243 //if (!node) cerr << "e " << obj->GetBox() << " " << ray.mTermination << endl; else 244 244 if (!node->Mailed()) 245 { //cout<<"o ";245 { 246 246 // add to pvs 247 247 node->Mail(); … … 442 442 443 443 ////////// 444 //-- fill up simple rays with random rays so we can cast 16 444 //-- fill up simple rays with random rays so we can cast 16 rays simultaniosly 445 445 446 446 //const int numRandomRays = 0; -
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2723 r2725 20 20 #include "ObjectPlacer.h" 21 21 22 #define TEASER 1 23 22 #define TEASER 0 24 23 #define USE_CG 1 25 24 … … 247 246 248 247 // mat_specular and mat_shininess are NOT default values 249 /*GLfloat mat_ambient[] = {0.2f, 0.2f, 0.2f, 1.0f};248 GLfloat mat_ambient[] = {0.5f, 0.5f, 0.5f, 1.0f}; 250 249 GLfloat mat_diffuse[] = {1.0f, 1.0f, 1.0f, 1.0f}; 251 250 GLfloat mat_specular[] = {0.3f, 0.3f, 0.3f, 1.0f}; … … 256 255 glMaterialfv(GL_FRONT, GL_SPECULAR, mat_specular); 257 256 glMaterialfv(GL_FRONT, GL_SHININESS, mat_shininess); 258 */259 260 GLfloat light_ambient[] = {0.1, 0.1, 0.1, 1.0};257 258 GLfloat light_ambient[] = {0.3, 0.3, 0.3, 1.0}; 259 //GLfloat light_diffuse[] = {0.6, 0.6, 0.6, 1.0}; 261 260 GLfloat light_diffuse[] = {0.6, 0.6, 0.6, 1.0}; 262 261 GLfloat light_specular[] = {1.0, 1.0, 1.0, 1.0}; … … 272 271 glLightfv(GL_LIGHT0, GL_DIFFUSE, light_diffuse); 273 272 glLightfv(GL_LIGHT0, GL_SPECULAR, light_specular); 273 glLightfv (GL_LIGHT0, GL_POSITION, light_position); 274 274 275 275 glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE); 276 276 glEnable(GL_COLOR_MATERIAL); 277 277 278 GLfloat lmodel_ambient[] = {0. 1f, 0.1f, 0.1f, 1.0f};278 GLfloat lmodel_ambient[] = {0.3f, 0.3f, 0.3f, 1.0f}; 279 279 glLightModelfv(GL_LIGHT_MODEL_AMBIENT, lmodel_ambient); 280 280 … … 306 306 RenderPvs(pvs); 307 307 308 //cout << "rendered nodes: " << mRenderedNodes << endl;309 310 308 //glColorMask(GL_TRUE, GL_FALSE, GL_FALSE, GL_FALSE); 311 309 //glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_FALSE); … … 340 338 pErrorPixels = (float)pixelCount / (GetWidth() * GetHeight()); 341 339 342 const int pixelThres = -1;340 const int pixelThres = 0; 343 341 344 342 // some error happened 345 if ( pixelCount > pixelThres)343 if (1)//pixelCount > pixelThres) 346 344 { 347 345 cout << "f " << mFrame << " id " << viewcell->GetId() << " pvs " << pvsSize … … 468 466 469 467 // mat_specular and mat_shininess are NOT default values 470 GLfloat mat_ambient[] = {0. 1f, 0.1f, 0.1f, 1.0f};468 GLfloat mat_ambient[] = {0.5f, 0.5f, 0.5f, 1.0f}; 471 469 GLfloat mat_diffuse[] = {1.0f, 1.0f, 1.0f, 1.0f}; 472 470 GLfloat mat_specular[] = {0.3f, 0.3f, 0.3f, 1.0f}; … … 482 480 483 481 // a light 484 GLfloat light_ambient[] = {0. 05, 0.05, 0.05, 1.0};485 GLfloat light_diffuse[] = {0. 7, 0.7, 0.7, 1.0};486 GLfloat light_specular[] = { 0.3, 0.3, 0.3, 1.0};487 //GLfloat light_position[] = {0.f, .0f, 0.f, 1.0f};482 GLfloat light_ambient[] = {0.3, 0.3, 0.3, 1.0}; 483 GLfloat light_diffuse[] = {0.6, 0.6, 0.6, 1.0}; 484 GLfloat light_specular[] = {1.0, 1.0, 1.0, 1.0}; 485 GLfloat light_position[] = {0.f, .0f, 0.f, 1.0f}; 488 486 //GLfloat light_position[] = {600.0f, 250.0f, -500.f, 1.0f}; 489 487 //GLfloat light_position[] = {278.0f, 548.8f,279.0f, 1.0f}; … … 495 493 glLightfv(GL_LIGHT0, GL_SPECULAR, light_specular); 496 494 497 glLightf(GL_LIGHT0, GL_CONSTANT_ATTENUATION, 1); 498 glLightf(GL_LIGHT0, GL_LINEAR_ATTENUATION, 0); 499 glLightf(GL_LIGHT0, GL_QUADRATIC_ATTENUATION, 0); 500 501 // GLfloat light1_position[] = {-22.076887, 21.070816, 50.272095}; 502 503 // GLfloat light1_position[] = {0, 0, -100}; 495 glLightfv(GL_LIGHT0, GL_POSITION, light_position); 496 497 //glDisable(GL_LIGHT0); 498 glEnable(GL_LIGHT0); 504 499 505 500 glLightfv(GL_LIGHT1, GL_AMBIENT, light_ambient); … … 507 502 glLightfv(GL_LIGHT1, GL_SPECULAR, light_specular); 508 503 509 glLightf(GL_LIGHT1, GL_CONSTANT_ATTENUATION, 1.0f); 510 glLightf(GL_LIGHT1, GL_LINEAR_ATTENUATION, 0); 511 glLightf(GL_LIGHT1, GL_QUADRATIC_ATTENUATION, 0); 512 513 514 glLightfv(GL_LIGHT2, GL_AMBIENT, light_ambient); 515 glLightfv(GL_LIGHT2, GL_DIFFUSE, light_diffuse); 516 glLightfv(GL_LIGHT2, GL_SPECULAR, light_specular); 517 518 519 glEnable(GL_LIGHT0); 520 glEnable(GL_LIGHT1); 521 glEnable(GL_LIGHT2); 522 523 524 GLfloat lmodel_ambient[] = {0.05f, 0.05f, 0.05f, 1.0f}; 504 // set position of the light2 505 GLfloat infinite_light2[] = { -0.3, 1.5, 1.0, 0.0 }; 506 glLightfv (GL_LIGHT1, GL_POSITION, infinite_light2); 507 //glEnable(GL_LIGHT1); 508 509 GLfloat lmodel_ambient[] = {0.3f, 0.3f, 0.3f, 1.0f}; 525 510 glLightModelfv(GL_LIGHT_MODEL_AMBIENT, lmodel_ambient); 526 511 … … 605 590 if (i == mCurrentDynamicObjectIdx) 606 591 glColor3f(1, 0, 1); 607 else 608 glColor3f(0, 1, 0); 592 else glColor3f(0.6f, 0.6f, 0.6f); 609 593 610 594 _RenderDynamicObject(*dit); 611 595 } 612 596 613 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);597 //glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); 614 598 } 615 599 … … 1007 991 SetupCameraProjection(width(), height()); 1008 992 SetupCamera(); 1009 1010 GLfloat light0_position[] = {22.495655, 21.070816, -1001.375000};1011 GLfloat light1_position[] = {-22.076887, 21.070816, -997.272095};1012 GLfloat light2_position[] = { 0.3, 1.5, -0.3, 0.0 };1013 1014 glLightfv (GL_LIGHT0, GL_POSITION, light0_position);1015 glLightfv (GL_LIGHT1, GL_POSITION, light1_position);1016 glLightfv (GL_LIGHT2, GL_POSITION, light2_position);1017 993 1018 994 if (mRenderErrors) … … 1214 1190 1215 1191 // export frame buffer during walkthrough 1216 mExportFrameBuffer = true; 1217 //mExportFrameBuffer = false; 1218 1219 SetSceneCut(1000); 1192 //mExportFrameBuffer = true; 1193 mExportFrameBuffer = false; 1194 1195 const int sceneCut = 339; 1196 SetSceneCut(sceneCut); 1220 1197 mControlWidget = new QtRendererControlWidget(NULL); 1221 1198 … … 1234 1211 connect(mControlWidget, SIGNAL(SetSceneCut(int)), this, SLOT(SetSceneCut(int))); 1235 1212 connect(mControlWidget, SIGNAL(SetTopDistance(int)), this, SLOT(SetTopDistance(int))); 1213 connect(mControlWidget, SIGNAL(SetMaxRenderCost(int)), this, SLOT(SetMaxRenderCost(int))); 1236 1214 connect(mControlWidget, SIGNAL(SetTransparency(int)), this, SLOT(SetTransparency(int))); 1237 1215 … … 1285 1263 1286 1264 setWindowTitle("PVS Visualization"); 1265 // view cell cut: 300 1266 mMaxRenderCost = 500; 1267 mMaxRenderCost = 762; 1287 1268 1288 1269 // setting the main window size here 1289 1270 //resize(800, 600); 1290 resize(640, 480);1291 1271 //resize(400, 300); 1272 resize(512, 320); 1292 1273 mControlWidget->show(); 1293 1274 … … 1348 1329 AxisAlignedBox3 sceneBox = mViewCellsManager->GetViewSpaceBox(); 1349 1330 1350 //float x = 1.0f; 1351 //float y = 20.0f; 1352 //float z = 80.0f; 1353 1354 float x = 20.0f; 1355 float y = 20.0f; 1356 float z = 20.0f; 1331 //float x = 20.0f; float y = 20.0f; float z = 80.0f; 1332 float x = 20.0f; float y = 20.0f; float z = 20.0f; 1357 1333 1358 1334 AxisAlignedBox3 box(Vector3(0.5f * x, 0, -0.5f * z), Vector3(-0.5f * x, y, 0.5f * z)); 1335 //AxisAlignedBox3 box(Vector3(0.5f * x, 0, 0), Vector3(-0.5f * x, y, z)); 1359 1336 1360 1337 // box.Scale(Vector3(0.02f, 0.1f, 0.1f)); … … 1560 1537 s.sprintf("PVS TRI: %08d", (int)mCurrentPvsCost); 1561 1538 //renderText(290, 70, s, font40); 1562 renderText(325, 40, s, font40); 1539 renderText(200, 40, s, font40); 1540 #if 0 1563 1541 s.sprintf("error: %3.3f %", mRenderError * 100.0f); 1564 1542 renderText(20, 40, s, font40); 1565 1543 #endif 1566 1544 //renderText(290, 70, s, font40); 1567 1545 glEnable(GL_LIGHTING); … … 1619 1597 mSceneCutPlane.mD = -DotProd(mSceneCutPlane.mNormal, p); 1620 1598 1599 cout << "cut view cells at " << number << endl; 1621 1600 updateGL(); 1622 1601 } … … 1637 1616 } 1638 1617 1618 1619 void 1620 QtGlRendererWidget::SetMaxRenderCost(int number) 1621 { 1622 mMaxRenderCost = number * 1000.0f; 1623 cout << "max render cost at " << number << endl; 1624 updateGL(); 1625 } 1626 1639 1627 void QtGlRendererWidget::SetTransparency(int number) 1640 1628 { … … 1646 1634 float QtGlRendererWidget::ComputeRenderCost(ViewCell *vc) 1647 1635 { 1648 float renderCost = 0; 1649 1636 1650 1637 #ifdef USE_VERBOSE_PVS 1638 // $matt temp 1639 return vc->GetPvs().mStats.mWeightedTriangles; 1640 1651 1641 if (mShowDistanceWeightedPvs) 1652 1642 { … … 1671 1661 int &maxPiercingRays, 1672 1662 float &maxRelativeRays, 1673 float &max RcCost)1663 float &maxCost) 1674 1664 { 1675 1665 maxPvs = -1; 1676 1666 maxPiercingRays = 1; // not zero for savety 1677 1667 maxRelativeRays = Limits::Small; // not zero for savety 1678 max RcCost = Limits::Small;1668 maxCost = Limits::Small; 1679 1669 1680 1670 for (size_t i = 0; i < viewCells.size(); ++ i) … … 1708 1698 else if (mShowWeightedCost) 1709 1699 { 1710 const float r cCost = ComputeRenderCost(vc);1711 mViewCellsManager->UpdateScalarPvsCost(vc, r cCost);1712 1713 if (r cCost > maxRcCost)1714 max RcCost = rcCost;1700 const float rCost = ComputeRenderCost(vc); 1701 mViewCellsManager->UpdateScalarPvsCost(vc, rCost); 1702 1703 if (rCost > maxCost) 1704 maxCost = rCost; 1715 1705 } 1716 1706 } … … 1742 1732 1743 1733 int maxPvs, maxPiercingRays; 1744 float maxRelativeRays, maxRcCost; 1745 1746 ComputeMaxValues(viewcells, maxPvs, maxPiercingRays, maxRelativeRays, maxRcCost); 1747 //cout << "maxRcCost: " << maxRcCost << endl; 1734 float maxRelativeRays, maxCost; 1735 1736 ComputeMaxValues(viewcells, maxPvs, maxPiercingRays, maxRelativeRays, maxCost); 1737 static int currentMaxCost = 0; 1738 1739 if (maxCost > currentMaxCost + 100000) 1740 { 1741 currentMaxCost = maxCost; 1742 cout << "maxCost: " << maxCost << endl; 1743 } 1748 1744 1749 1745 // set the max render cost to fixed value 1750 //maxRcCost = 1000.0f;1746 maxCost = mMaxRenderCost; 1751 1747 1752 1748 // transparency … … 1800 1796 { 1801 1797 if (!mShowComparison) 1802 AssignImportanceByRelativeValue(viewcells, maxPvs, maxPiercingRays, maxRelativeRays, max RcCost);1798 AssignImportanceByRelativeValue(viewcells, maxPvs, maxPiercingRays, maxRelativeRays, maxCost); 1803 1799 else 1804 1800 { … … 2093 2089 /////////////////////////// 2094 2090 2095 2096 2091 QGroupBox *groupBox = new QGroupBox("Ray visualization"); 2097 2092 QVBoxLayout *vbox2 = new QVBoxLayout; … … 2125 2120 connect(cb, SIGNAL(toggled(bool)), SIGNAL(SetShowDistribution4(bool))); 2126 2121 2127 2128 2122 vbox2->addStretch(1); 2129 2123 groupBox->setLayout(vbox2); … … 2223 2217 connect(cb, SIGNAL(toggled(bool)), SIGNAL(SetRenderErrors(bool))); 2224 2218 2225 #if REMOVE_TEMPORARY2219 #if 0 2226 2220 cb = new QCheckBox("Render cost curve", hbox); 2227 2221 hlayout->addWidget(cb); … … 2233 2227 cb->setChecked(false); 2234 2228 connect(cb, SIGNAL(toggled(bool)), SIGNAL(SetShowRays(bool))); 2235 #if REMOVE_TEMPORARY2229 #if 0 2236 2230 cb = new QCheckBox("Show Comparison", hbox); 2237 2231 hlayout->addWidget(cb); … … 2252 2246 vh->addWidget(groupBox, 0, 0); 2253 2247 2254 #if REMOVE_TEMPORARY 2248 2255 2249 QGroupBox *groupBox2 = CreateRenderCostPanel(hbox); 2256 2250 vh->addWidget(groupBox2, 0, 0); 2257 2251 #if 0 2258 2252 QGroupBox *groupBox3 = CreateRayVisualizationPanel(hbox); 2259 2253 vh->addWidget(groupBox3, 0, 0); … … 2295 2289 connect(slider, SIGNAL(valueChanged(int)), SIGNAL(SetSceneCut(int))); 2296 2290 2297 2291 #if 0 2298 2292 cb = new QCheckBox("Use spatial filter", vbox); 2299 2293 vbox->layout()->addWidget(cb); … … 2314 2308 2315 2309 connect(slider, SIGNAL(valueChanged(int)), SIGNAL(SetSpatialFilterSize(int))); 2316 2310 #endif 2317 2311 //////////////////////////// 2318 2312 … … 2336 2330 2337 2331 /////////////////////////////////////////// 2338 2332 #if 0 2339 2333 cb = new QCheckBox("Top View", vbox); 2340 2334 vbox->layout()->addWidget(cb); … … 2355 2349 connect(slider, SIGNAL(valueChanged(int)), SIGNAL(SetTopDistance(int))); 2356 2350 2351 #endif 2352 label = new QLabel("Max render cost"); 2353 vbox->layout()->addWidget(label); 2354 2355 slider = new QSlider(Qt::Horizontal, vbox); 2356 vbox->layout()->addWidget(slider); 2357 slider->show(); 2358 slider->setRange(1, 1000); 2359 slider->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); 2360 2361 slider->setValue(500); 2362 2363 2364 connect(slider, SIGNAL(valueChanged(int)), SIGNAL(SetMaxRenderCost(int))); 2365 2366 2357 2367 2358 2368 /////////////////////////////////////////// … … 2495 2505 GlRendererBuffer::PvsErrorEntry &pvsErrorEntry) 2496 2506 { 2497 2507 #if 0 2498 2508 QListWidgetItem *i = mPvsErrorWidget->item(row); 2499 2509 QString s; … … 2505 2515 } 2506 2516 mPvsErrorWidget->update(); 2517 #endif 2507 2518 } 2508 2519 … … 2693 2704 sViewPointsListIt = sViewPointsList.begin(); 2694 2705 } 2706 else 2707 cerr << "view points list empty" << endl; 2708 2695 2709 } 2696 2710 -
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.h
r2709 r2725 126 126 void SetSceneCut(int); 127 127 void SetTopDistance(int); 128 void SetMaxRenderCost(int); 128 129 void SetHidingCost(int); 129 130 void SetVisibilityFilterSize(int); … … 251 252 bool mExportFrameBuffer; 252 253 254 float mMaxRenderCost; 255 253 256 DynamicObjectsContainer mDynamicPvsObjects; 254 257 … … 405 408 void 406 409 SetTopDistance(int dist); 410 411 void 412 SetMaxRenderCost(int dist); 407 413 408 414 void -
GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor05.vcproj
r2715 r2725 157 157 LinkIncremental="1" 158 158 AdditionalLibraryDirectories=""$(QTDIR)\lib";..\src\GL;"..\lib05\$(ConfigurationName)";..\..\..\..\..\..\NonGTP\Boost\lib;..\..\..\..\..\..\NonGTP\Zlib\lib;..\..\..\..\..\..\NonGTP\Devil\lib;"..\MultiLevelRayTracing\RTScene\$(ConfigurationName)";"..\MultiLevelRayTracing\RTWorld\$(ConfigurationName)";"QtInterface\$(ConfigurationName)";"..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0\lib";"$(CG_LIB_PATH)"" 159 GenerateDebugInformation=" true"159 GenerateDebugInformation="false" 160 160 SubSystem="1" 161 161 LargeAddressAware="2"
Note: See TracChangeset
for help on using the changeset viewer.