Changeset 2741 for GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface
- Timestamp:
- 06/06/08 09:58:57 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2738 r2741 257 257 GLfloat mat_ambient[] = {0.5f, 0.5f, 0.5f, 1.0f}; 258 258 GLfloat mat_diffuse[] = {1.0f, 1.0f, 1.0f, 1.0f}; 259 GLfloat mat_specular[] = {0. 3f, 0.3f, 0.3f, 1.0f};259 GLfloat mat_specular[] = {0.5f, 0.5f, 0.5f, 1.0f}; 260 260 GLfloat mat_shininess[] = {1.0f}; 261 261 … … 285 285 glEnable(GL_COLOR_MATERIAL); 286 286 287 GLfloat lmodel_ambient[] = {0. 3f, 0.3f, 0.3f, 1.0f};288 glLightModelfv(GL_LIGHT_MODEL_AMBIENT, lmodel_ambient);287 GLfloat lmodel_ambient[] = {0.5f, 0.5f, 0.5, 1.0f}; 288 //glLightModelfv(GL_LIGHT_MODEL_AMBIENT, lmodel_ambient); 289 289 290 290 glShadeModel(GL_SMOOTH);
Note: See TracChangeset
for help on using the changeset viewer.