1 / 13

4 . 9 . Particle Effects

4 . 9 . Particle Effects. Use of particle effects within games. Particle Effects. Use of particle effects within games. Video not available in on-line slides. Particle Systems.

erasto
Download Presentation

4 . 9 . Particle Effects

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 4.9.Particle Effects Use of particle effects within games

  2. Particle Effects Use of particle effects within games

  3. Video not available in on-line slides

  4. Particle Systems Particle system can be used to simulate a range of phenomena which are otherwise very hard to reproduce with conventional rendering techniques. Examples include fire, explosions, smoke, sparks, falling leaves, clouds, snow, dust, hair, fur, or abstract visual effects like glowing trails, magic spells, etc.

  5. Particle Systems Particles are often controlled by an emitter. The emitter births and kills particles, as well as determining position, size, etc. The emitter encapsulates one, or more, sets of particle behaviour parameters. Parameters can include spawning rate, initial velocity, particle lifetime, particle colour, etc. Particle parameter values are normally randomised (using some defined distribution).

  6. View the DirectX SDK Soft Particles example • Particle Systems

  7. Particle Systems Simulation stage New particles are created based on the defined spawning rate. Each of the particle parameters are suitably initialised based on the emitter’s parameters. Any particle that has exceeded its lifetime is removed from the simulation. For each particle managed by the emitter. The particle’s parameters are updated Rendering stage Particles are typically rendered using a textured billboarded quad. • Aside: Collision detection between particles and key 3d geometry (e.g. terrain, players, etc.) may be used to make particles realistically interact with obstacles in the environment.

  8. Particle Systems (Fur and Hair) Particle systems can be either animated or static. If animated the lifespan of particles are rendered over a number of different frames. If static the entire life cycle of each particle is rendered simultaneously. This results in strands that show the particle’s overall trajectory. These strands can be used to simulate hair, fur, grass, and similar materials.

  9. Particle Systems (Fur and Hair) The strands are controlled using the same parameters as for animated particles. Different combinations of parameters can provide a strand with varying degrees of stiffness, limpness, bristliness, etc. The strands may also use texture mapping to vary the strands' colour, length, or other properties across the emitter surface.

  10. View the DirectX SDK Advanced Particles example • Particle Physics

  11. Directed reading Directed Reading Directed reading concerning particle systems

  12. Directed reading: General LOD Read The Ocean Spray in Your Face – for a very early construction of a particle system Read Building an Advanced Particle System – for more information on particle systems Read UberFlow: A GPU-Based Particle Engine – for details on a GPU based particle engine Directed reading

  13. Summary Today we explored: • The wide use of particle systems within games To do: • Read the directed reading • Think if you would like to build a particle system for your project

More Related