Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7572 in orxonox.OLD


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

branches/atmospheric_engine

Location:
branches/atmospheric_engine/src
Files:
4 edited

Legend:

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

    r7519 r7572  
    3737                lib/graphics/effects/fog_effect.cc \
    3838                lib/graphics/effects/volfog_effect.cc \
     39                lib/graphics/effects/rain_effect.cc \
     40                lib/graphics/effects/snow_effect.cc \
    3941                lib/graphics/effects/lense_flare.cc \
    4042                \
  • branches/atmospheric_engine/src/defs/class_id.h

    r7564 r7572  
    287287  CL_LENSE_FLARE                =    0x00000a12,
    288288  CL_RAIN_EFFECT                =    0x00000a13,
     289  CL_SNOW_EFFECT                =    0x00000a14,
    289290  CL_EXPLOSION                  =    0x00000a20,
    290291  CL_LIGHTNING_BOLT             =    0x00000a21,
  • 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.