Changeset 2612 for GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
- Timestamp:
- 01/17/08 23:56:46 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
r2611 r2612 1350 1350 1351 1351 glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT, depthMapSize, 1352 depthMapSize, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_BYTE, NULL);1352 depthMapSize, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_BYTE, NULL); 1353 1353 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); 1354 1354 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); … … 1393 1393 1394 1394 #endif 1395 1396 1395 #endif 1397 1396 DoneCurrent(); … … 1414 1413 1415 1414 bool result = GlRenderer::ValidViewPoint(); 1416 1415 1417 1416 DoneCurrent(); 1418 1417 … … 1443 1442 if (!ValidViewPoint()) 1444 1443 mPvsErrorBuffer[i].mError = -1.0f; 1445 1444 1446 1445 // manualy corrected view point 1447 1446 if (mFrame == 5105) … … 1594 1593 glEnable( GL_CULL_FACE ); 1595 1594 1596 // 1597 // while (!query.ResultAvailable()) {1598 // wait++;1599 // 1595 // int wait = 0; 1596 // while (!query->ResultAvailable()) { 1597 // wait++; 1598 // } 1600 1599 1601 1600 // reenable other state … … 1603 1602 // cout<<"VV4 "; 1604 1603 1605 //cout<<"count: " << pixelCount<<endl;1606 1604 1607 1605 if (pixelCount > 0)
Note: See TracChangeset
for help on using the changeset viewer.