Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3949 in orxonox.OLD for orxonox/branches/particleEngine/src


Ignore:
Timestamp:
Apr 24, 2005, 11:00:11 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/particleEngine: some more little stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/particleEngine/src/story_entities/world.cc

    r3948 r3949  
    380380            ParticleEmitter* testEmitter,* testEmitter2;
    381381            ParticleSystem* testSystem;
    382             testEmitter = new ParticleEmitter(Vector(-1,0,0), M_PI_2, 120.0, .5);
     382            testEmitter = new ParticleEmitter(Vector(-1,0,0), .4, 120.0, .5);
    383383            testEmitter->setParent(localPlayer);
    384384            testEmitter->setRelCoor(Vector(-3, 0, 0));
    385385            testEmitter->setName("ship emitter");
    386             testEmitter2 = new ParticleEmitter(Vector(1,0,0), .1, 120.0, 1);
     386            /*
     387            testEmitter2 = new ParticleEmitter(Vector(1,0,0), .1, 1.0, 1);
    387388            testEmitter2->setParent(tn);
    388389            testEmitter2->setName("crap emitter");
    389            
    390             testSystem = new ParticleSystem(1000);
    391             testSystem->setLifeSpan(1, .8);
    392             testSystem->setRadius(1.0, 0.0, .5);
     390            */
     391            testSystem = new ParticleSystem(10000);
     392            testSystem->setLifeSpan(.3, .2);
     393            testSystem->setRadius(3.0, 0.0, .5);
    393394            testSystem->setConserve(.8);
    394395            testSystem->setInheritSpeed(1);
     
    396397
    397398            ParticleEngine::getInstance()->addConnection(testEmitter, testSystem);
    398             ParticleEngine::getInstance()->addConnection(testEmitter2, testSystem);
     399            //      ParticleEngine::getInstance()->addConnection(testEmitter2, testSystem);
    399400            ParticleEngine::getInstance()->debug();
    400401
Note: See TracChangeset for help on using the changeset viewer.