Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8449 in orxonox.OLD


Ignore:
Timestamp:
Jun 15, 2006, 12:53:38 PM (18 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: new default values

File:
1 edited

Legend:

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

    r8373 r8449  
    7878       
    7979        this->time = 0.0;
    80         this->flashFrequency = 1.4f;
    81         this->mainFrequency = 1.4f;
    82         this->flashConstTime = 0.5f;
    83         this->flashRisingTime = 0.1f;
    84        
    85         this->width = 400.0f;
    86         this->height = 100.0f;
    87         this->seedWidth = 50;
    88         this->seedHeight = 50;
     80        this->flashFrequency = 4.0f;
     81        this->mainFrequency = 4.0f;
     82        this->flashConstTime = 0.1f;
     83        this->flashRisingTime = 0.03f;
     84       
     85        this->width = 700.0f;
     86        this->height = 250.0f;
     87        this->seedWidth = 50.0f;
     88        this->seedHeight = 50.0f;
    8989        this->bNewCoordinate = false;
     90  this->lighteningMove = false;
    9091       
    9192        this->seedX = 500.f;
    9293        this->seedZ = 1000.0f;
    93         this->seedTime = 4.0f;
     94        this->seedTime = 2.0f;
     95 
     96  this->mainPosX = 3000;
     97  this->mainPosY = 900;
     98  this->mainPosZ = 0;
    9499       
    95100        // initialize lightening textures
     
    116121        if (this->lighteningMove) {
    117122                this->cameraCoor = State::getCameraNode()->getAbsCoor();
    118                 this->billboard[0]->setAbsCoor(this->cameraCoor.x+3000,850,this->cameraCoor.z+0);
    119                 this->billboard[1]->setAbsCoor(this->cameraCoor.x+3000,850,this->cameraCoor.z+0);
    120                 this->billboard[2]->setAbsCoor(this->cameraCoor.x+3000,850,this->cameraCoor.z+0);
    121                 this->billboard[3]->setAbsCoor(this->cameraCoor.x+3000,850,this->cameraCoor.z+0);
     123                this->billboard[0]->setAbsCoor(this->cameraCoor.x+3000,900,this->cameraCoor.z+0);
     124                this->billboard[1]->setAbsCoor(this->cameraCoor.x+3000,900,this->cameraCoor.z+0);
     125                this->billboard[2]->setAbsCoor(this->cameraCoor.x+3000,900,this->cameraCoor.z+0);
     126                this->billboard[3]->setAbsCoor(this->cameraCoor.x+3000,900,this->cameraCoor.z+0);
    122127        } else {
    123                 this->billboard[0]->setAbsCoor(3000,850,0);
    124                 this->billboard[1]->setAbsCoor(3000,850,0);
    125                 this->billboard[2]->setAbsCoor(3000,850,0);
    126                 this->billboard[3]->setAbsCoor(3000,850,0);
     128                this->billboard[0]->setAbsCoor(3000,900,0);
     129                this->billboard[1]->setAbsCoor(3000,900,0);
     130                this->billboard[2]->setAbsCoor(3000,900,0);
     131                this->billboard[3]->setAbsCoor(3000,900,0);
    127132        }
    128133       
Note: See TracChangeset for help on using the changeset viewer.