FACT++  1.0
void Q3DCameraWidget::initializeGL ( )
protectedvirtual

Reimplemented from BasicGlCamera.

Definition at line 219 of file Q3DCameraWidget.cc.

220  {
221  qglClearColor(QColor(25,25,38));
222 
223  glShadeModel(GL_SMOOTH);
224  glEnable(GL_DEPTH_TEST);
225  glDepthFunc(GL_LESS);
226  glDisable(GL_LIGHTING);
227 // glEnable(GL_LIGHTING);
228 // glEnable(GL_LIGHT0);
229 // glEnable(GL_AUTO_NORMAL);
230  glDisable(GL_CULL_FACE);
231 // glCullFace(GL_FRONT);
232 
233  glEnable(GL_POLYGON_SMOOTH);
234  glEnable(GL_BLEND);
235  glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
236  glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);
237  }