Creating particle animations

Particles are used in various 3D applications for special effects such as smoke, dust, explosions, fluid, fire, and rain. It is much more difficult to build and manage a complete particle system rather than construct other simple scene objects. In fact, OSG provides a large number of classes in the osgParticle library to enable customization of complex particle systems, most of which may be extended and overridden using inheritance, if user-defined algorithms are needed.

The particle class, osgParticle::Particle, represents the atomic particle unit. It is often used as a design template before the simulation loop starts, and copied and regenerated by the particle system in run-time to render massive particles.

The particle ...

Get OpenSceneGraph 3.0 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.