Changeset 7572 in orxonox.OLD for branches/atmospheric_engine
- Timestamp:
- May 10, 2006, 2:44:18 PM (19 years ago)
- Location:
- branches/atmospheric_engine/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/Makefile.am
r7519 r7572 37 37 lib/graphics/effects/fog_effect.cc \ 38 38 lib/graphics/effects/volfog_effect.cc \ 39 lib/graphics/effects/rain_effect.cc \ 40 lib/graphics/effects/snow_effect.cc \ 39 41 lib/graphics/effects/lense_flare.cc \ 40 42 \ -
branches/atmospheric_engine/src/defs/class_id.h
r7564 r7572 287 287 CL_LENSE_FLARE = 0x00000a12, 288 288 CL_RAIN_EFFECT = 0x00000a13, 289 CL_SNOW_EFFECT = 0x00000a14, 289 290 CL_EXPLOSION = 0x00000a20, 290 291 CL_LIGHTNING_BOLT = 0x00000a21, -
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.