Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7572 in orxonox.OLD for branches/atmospheric_engine/src/lib


Ignore:
Timestamp:
May 10, 2006, 2:44:18 PM (19 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine

Location:
branches/atmospheric_engine/src/lib/graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/Makefile.am

    r7562 r7572  
    2323                           effects/volfog_effect.cc \
    2424                           effects/rain_effect.cc \
     25                           effects/snow_effect.cc \
    2526                           effects/lense_flare.cc
    2627
     
    4647                 effects/volfog_effect.h \
    4748                 effects/rain_effect.h \
     49                 effects/snow_effect.h \
    4850                 effects/lense_flare.h
    4951
  • branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc

    r7562 r7572  
    7474bool RainEffect::activate()
    7575{
    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");
    9377}
    9478
Note: See TracChangeset for help on using the changeset viewer.