Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 26, 2006, 2:59:03 PM (18 years ago)
Author:
stefalie
Message:

water: some hacks… and 3 fade functions… but not done yet

Location:
branches/water/src/world_entities/environments
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/water/src/world_entities/environments/mapped_water.cc

    r8788 r8791  
    292292 
    293293
    294   if(this->tempcounter == 200) {
    295     this->resetWaterColor(1, 0, 0);
    296     resetShininess(1);
    297     resetLightPos(0, 100, 0);
    298     PRINTF(0)("test waterchangecolor ");
    299     }
    300   tempcounter++;
     294//   if(this->tempcounter == 200) {
     295//     this->resetWaterColor(1, 0, 0);
     296//     resetShininess(1);
     297//     resetLightPos(0, 50, 0);
     298//     PRINTF(0)("test waterchangecolor ");
     299//     }
     300//   tempcounter++;
    301301   
    302302}
  • branches/water/src/world_entities/environments/mapped_water.h

    r8788 r8791  
    6060  void resetLightPos(float x, float y, float z);
    6161
     62  // fade functions
     63  void fadeWaterColor(float r, float g, float b, float time);
     64  void fadeShininess(float shine, float time);
     65  void fadeLightPos(float x, float y, float z, float time);
     66
    6267private:
    6368  void initParams();
Note: See TracChangeset for help on using the changeset viewer.