Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 1 and Version 2 of ~archive/ParticleEngine


Ignore:
Timestamp:
Nov 28, 2007, 12:23:28 AM (17 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ~archive/ParticleEngine

    v1 v2  
    1 = ParticleEngine =
     1= !ParticleEngine =
     2[[ArchivePage]]
     3
    24Particles are an easy to use, fast and efficient way to produce many different volumetric effects like
    35  * snow
     
    1012
    1113== properties ==
    12 each particle has some properties that are given to it by its ParticleSystem.
     14each particle has some properties that are given to it by its !ParticleSystem.
    1315those are:
    1416{{{
     
    2729  GLfloat       color [4];           //!< A Color for the particles.
    2830}}}
    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.
     31through 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.
    3133
    3234== How It Works ==
     
    3537__GENERAL IDEA__
    3638
    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 their ParticleSystem's
    40   3. The ParticleEngine telss the ParticleSystem's to tick themselves.
     39The 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.
    4143    moves/iterates/removes particles
    42   4. The ParticleEngine tells the ParticleSystem's to draw themselves
     44  4. The !ParticleEngine tells the !ParticleSystem's to draw themselves
    4345
    4446__IN ORXONOX__
    45   1. All the ParticleSystems are WorldEntitites and as such are drawn within the internal engine. So our framework acts as ParticleEngine
    46   2. Emitters have one/or no ParticleSystem in which they emit into. The ParticleSystems tell them to emit
    47   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])
    4850
    4951== Creation ==
     
    6264}}}
    6365  2. lodeable
    64    this is the easiest version see the LoadParam page for more information on howto do this
     66   this is the easiest version see the [wiki:archive/LoadParam LoadParam] page for more information on howto do this
    6567
    6668you could also use one of the many functions, to let the Particles look better, but this is for you to decide.