Time for action — creating a particle system

We are going to use the code from the previous example:

  1. Particle systems are defined in .particle files. Create one in the media/particle folder.
  2. Define the system and name it MySmoke1:
    particle_system MySmoke1
    {
    
  3. Each particle should use the Example/Smoke material and be 10 units long and high:
    material Examples/Smoke
    particle_width 10
    particle_height 10
    
  4. We want a maximum of 500 particles at the same time and each particle should be a point that always faces the camera:
    quota 500
    billboard_type point
    
  5. We want an emitter that emits the particles from a single point at a rate of 3 particles per second:
    emitter Point
    {
    emission_rate 3
    
  6. The particles should be emitted in the direction (1,0,0) with a velocity of ...

Get Ogre 3D 1.7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.