Changes between Version 1 and Version 2 of ~archive/ParticleEngine
- Timestamp:
- Nov 28, 2007, 12:23:28 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
~archive/ParticleEngine
v1 v2 1 = ParticleEngine = 1 = !ParticleEngine = 2 [[ArchivePage]] 3 2 4 Particles are an easy to use, fast and efficient way to produce many different volumetric effects like 3 5 * snow … … 10 12 11 13 == properties == 12 each particle has some properties that are given to it by its ParticleSystem.14 each particle has some properties that are given to it by its !ParticleSystem. 13 15 those are: 14 16 {{{ … … 27 29 GLfloat color [4]; //!< A Color for the particles. 28 30 }}} 29 through the ParticleSystem, they are all animatable.30 (if you are interested in more detail how you can animate this stuff visit: [http://www.orxonox.ethz.ch/trunk/doc/html/annotated.html this] and goto ParticleSystem.31 through the !ParticleSystem, they are all animatable. 32 (if you are interested in more detail how you can animate this stuff visit: [http://www.orxonox.ethz.ch/trunk/doc/html/annotated.html this] and goto !ParticleSystem. 31 33 32 34 == How It Works == … … 35 37 __GENERAL IDEA__ 36 38 37 The Diagram above shows how the flow of the ParticleEngine works.38 1. The driver(world.cc) tells the ParticleEngine what to do (either tick or draw)39 2. The ParticleEngine tells the ParticleEmitter's to emitt into theirParticleSystem's40 3. The ParticleEngine telss theParticleSystem's to tick themselves.39 The Diagram above shows how the flow of the !ParticleEngine works. 40 1. The driver(world.cc) tells the !ParticleEngine what to do (either tick or draw) 41 2. The !ParticleEngine tells the !ParticleEmitter's to emitt into their !ParticleSystem's 42 3. The !ParticleEngine telss the !ParticleSystem's to tick themselves. 41 43 moves/iterates/removes particles 42 4. The ParticleEngine tells theParticleSystem's to draw themselves44 4. The !ParticleEngine tells the !ParticleSystem's to draw themselves 43 45 44 46 __IN ORXONOX__ 45 1. All the ParticleSystems are WorldEntitites and as such are drawn within the internal engine. So our framework acts asParticleEngine46 2. Emitters have one/or no ParticleSystem in which they emit into. TheParticleSystems tell them to emit47 3. Systems have multiple emitters, and they are tickt and drawn in ORXONOX OM_ENVIRON_TICK (see ObjectManager)47 1. All the !ParticleSystems are [wiki:archive/WorldEntity WorldEntitites] and as such are drawn within the internal engine. So our framework acts as !ParticleEngine 48 2. Emitters have one/or no !ParticleSystem in which they emit into. The !ParticleSystems tell them to emit 49 3. Systems have multiple emitters, and they are tickt and drawn in ORXONOX OM_ENVIRON_TICK (see [wiki:archive/ObjectManager ObjectManager]) 48 50 49 51 == Creation == … … 62 64 }}} 63 65 2. lodeable 64 this is the easiest version see the LoadParampage for more information on howto do this66 this is the easiest version see the [wiki:archive/LoadParam LoadParam] page for more information on howto do this 65 67 66 68 you could also use one of the many functions, to let the Particles look better, but this is for you to decide.