Changeset 2050 for GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface
- Timestamp:
- 01/24/07 06:53:09 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2049 r2050 89 89 float pErrorPixels = -1.0f; 90 90 91 glReadBuffer(GL_BACK);92 93 // mUseFalseColors = true;94 91 95 92 mUseFalseColors = false; 96 93 unsigned int pixelCount; 97 94 98 95 99 96 ViewCell *viewcell = mViewCellsManager->GetViewCell(mViewPoint); 100 97 // cout<<"View cell"<<viewcell<<endl; 101 98 if (viewcell == NULL) 102 99 return 0.0f; … … 119 116 pvs); 120 117 } 121 118 119 // cout<<"pvs size"<<pvs.GetSize()<<endl<<flush; 120 122 121 SetupCamera(); 123 122 glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); … … 138 137 RenderIntersectable(object); 139 138 } 140 139 140 141 141 // glColorMask(GL_TRUE, GL_FALSE, GL_FALSE, GL_FALSE); 142 142 glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); … … 162 162 // } 163 163 164 164 165 pixelCount = query->GetQueryResult(); 165 166 … … 167 168 168 169 169 if (0 && mSnapErrorFrames && pErrorPixels >= 0.01f) { 170 170 if (mSnapErrorFrames && pErrorPixels >= 0.01f) { 171 glReadBuffer(GL_BACK); 172 171 173 char filename[256]; 172 174 sprintf(filename, "error-frame-%04d-%0.5f.png", mFrame, pErrorPixels);
Note: See TracChangeset
for help on using the changeset viewer.