Changeset 7572 in orxonox.OLD for branches/atmospheric_engine/src/lib
- Timestamp:
- May 10, 2006, 2:44:18 PM (19 years ago)
- Location:
- branches/atmospheric_engine/src/lib/graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/Makefile.am
r7562 r7572 23 23 effects/volfog_effect.cc \ 24 24 effects/rain_effect.cc \ 25 effects/snow_effect.cc \ 25 26 effects/lense_flare.cc 26 27 … … 46 47 effects/volfog_effect.h \ 47 48 effects/rain_effect.h \ 49 effects/snow_effect.h \ 48 50 effects/lense_flare.h 49 51 -
branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc
r7562 r7572 74 74 bool RainEffect::activate() 75 75 { 76 // PRINTF(0)( "Enabling Rain Effect, mode: %i, density: %f, start: %f, end: %f, color %f, %f, %f\n", this->rainMode, this->rainDensity, this->rainStart, this->rainEnd, this->colorVector.x, this->colorVector.y, this->colorVector.z); 77 // 78 // glEnable(GL_RAIN); 79 // { 80 // //GLfloat rainColor[4] = {0.7, 0.6, 0.6, 1.0}; 81 // GLfloat rainColor[4] = { colorVector.x, colorVector.y, colorVector.z, 1.0}; 82 // 83 // glRaini(GL_RAIN_MODE, this->rainMode); 84 // glRainfv(GL_RAIN_COLOR, rainColor); 85 // glRainf(GL_RAIN_DENSITY, this->rainDensity); 86 // glHint(GL_RAIN_HINT, GL_DONT_CARE); 87 // glRainf(GL_RAIN_START, this->rainStart); 88 // glRainf(GL_RAIN_END, this->rainEnd); 89 // 90 // //glRaini(GL_RAIN_COORDINATE_SOURCE, GL_RAIN_COORDINATE); 91 // } 92 // glClearColor(0.5, 0.5, 0.5, 1.0); 76 PRINTF(0)("Activating Rain Effect\n"); 93 77 } 94 78
Note: See TracChangeset
for help on using the changeset viewer.