Changeset 7113 in orxonox.OLD for trunk/src/world_entities/effects
- Timestamp:
 - Feb 8, 2006, 2:20:19 AM (20 years ago)
 - Location:
 - trunk/src/world_entities/effects
 - Files:
 - 
          
- 2 edited
 
- 
          lightning_bolt.cc (modified) (2 diffs)
 - 
          lightning_bolt.h (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
trunk/src/world_entities/effects/lightning_bolt.cc
r7112 r7113 54 54 this->seedX = 200.f; 55 55 this->seedZ = 500.0f; 56 this->seedTime = 2.0f;56 this->seedTime = 4.0f; 57 57 58 58 this->soundSource.setSourceNode(this); … … 108 108 this->flashFrequency = this->seedTime * (float)rand()/(float)RAND_MAX + 0.1; 109 109 this->setAbsCoor( - 800.0f - this->seedX * (float)rand()/(float)RAND_MAX, 250.00, -200.0f + this->seedZ * (float)rand()/(float)RAND_MAX); 110 111 PRINTF(0)("timeout: %f\n", this->flashFrequency);112 this->getAbsCoor().debug();113 114 110 this->bNewCoordinate = false; 115 111 }  - 
        
trunk/src/world_entities/effects/lightning_bolt.h
r7112 r7113 1 1 /*! 2 * @file explosion.h2 * @file lightning_bolt.h 3 3 * @brief a LightningBolt Projectile 4 */ 4 * Der Effekt soll folgendermaßen funktionieren: 5 * -> Ein Partikel mit einer Blitz-Textur soll sehr schnell erscheinen, 6 * -> während er an Intensität zunimmt soll die Beleuchtung der gerenderten Szene entsprechend zunehmen. 7 * -> Je mehr Blitze zum gleichen Zeitpunkt sichtbar sind, desto heller soll die Beleuchtung werden, das heißt die Helligkeitszunahme pro Blitz soll Additiv sein. 8 * -> Ein Partikel soll ebenfalls sehr schnell wieder verblassen, dabei soll die Beleuchtung entsprechend der vorhergehenden Zunahme wieder abnehmen (Additiv) 9 */ 5 10 6 11 #ifndef _LIGHTNING_BOLT_H  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






