Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4720 in orxonox.OLD for orxonox/trunk/src


Ignore:
Timestamp:
Jun 27, 2005, 2:53:06 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: resized the stoned stones

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r4716 r4720  
    468468  glNewList (objectList, GL_COMPILE);
    469469
    470   trackManager->drawGraph(.01);
     470  //trackManager->drawGraph(.01);
    471471  //trackManager->debug(2);
    472472  glEndList();
     
    503503
    504504
     505  ParticleSystem* vulcanSysStone = new ParticleSystem(1000, PARTICLE_SPRITE);
     506  vulcanSysStone->setModel("models/vulcanic_stone.obj");
     507  vulcanSysStone->setLifeSpan(6);
     508  vulcanSysStone->setRadius(0.0, 5.0, 3.0);
     509  vulcanSysStone->setMass (0.0, .1);
     510
     511  ParticleEmitter* vulcanEmitStone = new ParticleEmitter(Vector(0,1,0), .5, 10, 200);
     512  vulcanEmitStone->setEmissionVelocity(700, 400);
     513  vulcanEmitStone->setType(EMITTER_CUBE);
     514  vulcanEmitStone->setSize(40);
     515  vulcanEmitStone->setRelCoor(2460,105, 606);
     516
     517  ParticleEngine::getInstance()->addConnection(vulcanEmitStone, vulcanSysStone);
     518  new PhysicsConnection(vulcanSysStone, gravity);
     519
    505520  // SYSTEM OF THE VULCANO
    506521  ParticleSystem* vulcanSysSpark = new ParticleSystem(10000, PARTICLE_SPARK);
     
    522537  new PhysicsConnection(vulcanSysSpark, gravity);
    523538
    524 
    525 
    526   ParticleSystem* vulcanSysStone = new ParticleSystem(1000, PARTICLE_SPRITE);
    527   vulcanSysStone->setModel("models/vulcanic_stone.obj");
    528   vulcanSysStone->setLifeSpan(6);
    529   vulcanSysStone->setRadius(0.0, 10.0, 8);
    530   vulcanSysStone->setMass (0.0, .1);
    531 
    532   ParticleEmitter* vulcanEmitStone = new ParticleEmitter(Vector(0,1,0), .5, 10, 200);
    533   vulcanEmitStone->setEmissionVelocity(700, 400);
    534   vulcanEmitStone->setType(EMITTER_CUBE);
    535   vulcanEmitStone->setSize(40);
    536   vulcanEmitStone->setRelCoor(2460,105, 606);
    537 
    538   ParticleEngine::getInstance()->addConnection(vulcanEmitStone, vulcanSysStone);
    539   new PhysicsConnection(vulcanSysStone, gravity);
    540539
    541540
Note: See TracChangeset for help on using the changeset viewer.