Changeset 2723 for GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface
- Timestamp:
- 05/28/08 04:02:18 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2721 r2723 58 58 static int sNextSamplesThreshold[] = {10000000, 50000000, 100000000, 250000000}; 59 59 //static int sNextSamplesThreshold[] = {100000000, 200000000}; 60 static int sNumReplays = 4;60 static int sNumReplays = 0;//4; 61 61 static int sCurrentSamplesThreshold = 0; 62 62 … … 353 353 //glReadBuffer(GL_FRONT); 354 354 355 cout << "here34" << endl;356 355 ////////////// 357 356 //-- output error visualization … … 387 386 388 387 // render pvs once 389 //RenderPvs(pvs); 390 RenderTrianglePvs(); 388 RenderPvs(pvs); 389 // hack for gvs vis 390 //RenderTrianglePvs(); 391 391 392 392 glFlush(); … … 1348 1348 AxisAlignedBox3 sceneBox = mViewCellsManager->GetViewSpaceBox(); 1349 1349 1350 float x = 1.0f; 1350 //float x = 1.0f; 1351 //float y = 20.0f; 1352 //float z = 80.0f; 1353 1354 float x = 20.0f; 1351 1355 float y = 20.0f; 1352 float z = 80.0f;1356 float z = 20.0f; 1353 1357 1354 1358 AxisAlignedBox3 box(Vector3(0.5f * x, 0, -0.5f * z), Vector3(-0.5f * x, y, 0.5f * z)); … … 1741 1745 1742 1746 ComputeMaxValues(viewcells, maxPvs, maxPiercingRays, maxRelativeRays, maxRcCost); 1743 1744 // matt: temp hack1745 //maxRcCost = 5000.0f;1746 1747 //cout << "maxRcCost: " << maxRcCost << endl; 1747 1748 1748 int i; 1749 // set the max render cost to fixed value 1750 //maxRcCost = 1000.0f; 1749 1751 1750 1752 // transparency … … 1762 1764 //glBlendFunc(GL_SRC_ALPHA, GL_ONE); 1763 1765 1764 for (i = 0; i < viewcells.size(); ++ i)1766 for (int i = 0; i < viewcells.size(); ++ i) 1765 1767 { 1766 1768 ViewCell *vc = viewcells[i]; … … 1779 1781 if (mUseStandardColors) 1780 1782 { 1781 for (i = 0; i < viewcells.size(); ++ i)1783 for (int i = 0; i < viewcells.size(); ++ i) 1782 1784 { 1783 1785 ViewCell *vc = viewcells[i];
Note: See TracChangeset
for help on using the changeset viewer.