Changeset 2667 for GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface
- Timestamp:
- 04/30/08 05:45:38 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2665 r2667 158 158 glColorMask(GL_FALSE, GL_TRUE, GL_FALSE, GL_FALSE); 159 159 glColor3f(0,1,0); 160 161 glDepthFunc(GL_LESS); 162 glDepthMask(GL_TRUE); 160 glDepthFunc(GL_LESS ); 163 161 glEnable(GL_DEPTH_TEST); 162 163 glDisable(GL_STENCIL_TEST); 164 165 pvsSize = pvs.GetSize(); 166 167 Intersectable::NewMail(); 168 169 if (pvsSize == 0) 170 return 0.0f; 171 172 RenderPvs(pvs); 173 174 //glColorMask(GL_TRUE, GL_FALSE, GL_FALSE, GL_FALSE); 175 glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); 164 176 165 177 glStencilFunc(GL_EQUAL, 0x0, 0x1); 166 178 glStencilOp(GL_KEEP, GL_KEEP, GL_INCR); 167 168 pvsSize = pvs.GetSize();169 170 if (pvsSize == 0)171 return 0.0f;172 173 RenderPvs(pvs);174 175 //glColorMask(GL_TRUE, GL_FALSE, GL_FALSE, GL_FALSE);176 glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);177 179 glEnable(GL_STENCIL_TEST); 180 178 181 glColor3f(1,0,0); 179 182
Note: See TracChangeset
for help on using the changeset viewer.