Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4709 in orxonox.OLD


Ignore:
Timestamp:
Jun 26, 2005, 7:16:23 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: added a ParticleSystem to the vulcano…. one does not see anything yet…. but most probaply in 4 hours :)

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/text_engine.cc

    r4683 r4709  
    622622            {
    623623              tmpRect.x = 0;
    624               tmpRect.y = tmpRect.y + maxLineHeight + 2;
     624              tmpRect.y = tmpRect.y + maxLineHeight + 1;
    625625              maxLineHeight = 0;
    626626            }
  • orxonox/trunk/src/story_entities/world.cc

    r4681 r4709  
    468468  glNewList (objectList, GL_COMPILE);
    469469
    470   //trackManager->drawGraph(.01);
     470  trackManager->drawGraph(.01);
    471471  //trackManager->debug(2);
    472472  glEndList();
     
    475475
    476476
     477
     478  // SYSTEM OF THE VULCANO
     479  ParticleSystem* vulcanSysFog = new ParticleSystem(5000, PARTICLE_SPRITE);
     480  vulcanSysFog->setLifeSpan(.5);
     481  vulcanSysFog->setConserve(.8);
     482  vulcanSysFog->setRadius(0.0, 1.0, 10);
     483  vulcanSysFog->setRadius(.2, 3, 50);
     484  vulcanSysFog->setRadius(1.0, 0.0, .0);
     485  vulcanSysFog->setMass (0.0, 1.0);
     486  vulcanSysFog->setColor(0, 1, 1, 0, .5);
     487  vulcanSysFog->setColor(0, 1, 1, 1, .5);
     488  vulcanSysFog->setColor(1, .4, .4, .4, 0);
     489
     490  ParticleEmitter* vulcanEmitFog = new ParticleEmitter(Vector(0,1,0), 1, 400, 5);
     491  vulcanEmitFog->setType(EMITTER_CUBE);
     492  vulcanEmitFog->setSize(40);
     493  vulcanEmitFog->setRelCoor(2460,105, 606);
     494  ParticleEngine::getInstance()->addConnection(vulcanEmitFog, vulcanSysFog);
     495
     496  // SYSTEM TRAILING THE PLAYER
    477497  // Creating a Test Particle System
    478   ParticleSystem* system = new ParticleSystem(100000, PARTICLE_SPRITE);
     498  ParticleSystem* system = new ParticleSystem(5000, PARTICLE_SPRITE);
    479499  system->setLifeSpan(.5);
    480500  system->setConserve(.8);
Note: See TracChangeset for help on using the changeset viewer.