Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8902 in orxonox.OLD for branches/mountain_lake


Ignore:
Timestamp:
Jun 29, 2006, 12:33:46 PM (18 years ago)
Author:
hdavid
Message:

branches/mountain_lake

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

Legend:

Unmodified
Added
Removed
  • branches/mountain_lake/src/lib/graphics/effects/cloud_effect.cc

    r8837 r8902  
    4343SHELL_COMMAND(activate, CloudEffect, activateCloud);
    4444SHELL_COMMAND(deactivate, CloudEffect, deactivateCloud);
     45SHELL_COMMAND(skyColor, CloudEffect, shellSkyColor);
     46SHELL_COMMAND(cloudColor, CloudEffect, shellCloudColor);
    4547
    4648CREATE_FACTORY(CloudEffect, CL_CLOUD_EFFECT);
     
    7981  this->atmosphericRadius = 4000;
    8082  this->planetRadius = 1500;
    81   this->divs = 50;
     83  this->divs = 15;
    8284  fadeSky = false;
    8385  fadeCloud = false;
     
    287289}
    288290
     291void CloudEffect::shellSkyColor(float colorX, float colorY, float colorZ, float time)
     292{
     293  changeSkyColor( Vector(colorX, colorY, colorZ), time);
     294}
     295void CloudEffect::shellCloudColor(float colorX, float colorY, float colorZ, float time)
     296{
     297  changeCloudColor( Vector(colorX, colorY, colorZ), time);
     298}
    289299
    290300void CloudEffect::make3DNoiseTexture()
  • branches/mountain_lake/src/lib/graphics/effects/cloud_effect.h

    r8837 r8902  
    107107  void generateSkyPlane(int divisions, float planetRadius, float atmosphereRadius,
    108108                        float hTile, float vTile);
     109 
     110  void shellSkyColor(float colorX, float colorY, float colorZ, float time);
     111  void shellCloudColor(float colorX, float colorY, float colorZ, float time);
     112 
    109113private:
    110114
Note: See TracChangeset for help on using the changeset viewer.