Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
May 18, 2006, 3:36:54 PM (19 years ago)
Author:
amaechler
Message:

branches/atmosphere_engine: fog

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

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.cc

    r7689 r7691  
    5353        WeatherEffect::loadParams(root);
    5454
    55         LoadParam(root, "fog-mode", this, FogEffect, setFogMode);
    56         LoadParam(root, "fog-density", this, FogEffect, setFogDensity);
    57         LoadParam(root, "fog-color", this, FogEffect, setFogColor);
     55        LoadParam(root, "mode", this, FogEffect, setFogMode);
     56        LoadParam(root, "density", this, FogEffect, setFogDensity);
     57        LoadParam(root, "range", this, FogEffect, setFogRange);
     58        LoadParam(root, "color", this, FogEffect, setFogColor);
    5859}
    5960
  • branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc

    r7689 r7691  
    129129void RainEffect::tick (float dt)
    130130{
    131         //float distance = (State::getCameraNode()->getAbsCoor() - rainCoord).len();
    132         // PRINTF(0)( "RainEffect, coords: %f, %f, %f\n", this->rainCoord.x, this->rainCoord.y, this->rainCoord.z );
    133 
    134131        if (this->rainMove) {
    135132                this->rainCoord = State::getCameraNode()->getAbsCoor();
    136                 this->emitter->setRelCoor(this->rainCoord.x +150, this->rainCoord.y+700, this->rainCoord.z+150);
     133                this->emitter->setRelCoor(this->rainCoord.x , this->rainCoord.y+800, this->rainCoord.z);
    137134        }
    138135}
Note: See TracChangeset for help on using the changeset viewer.