[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Particle systems
I've got particle systems working, it's all running fine. So now I'm wondering
how to actually use them...
Here's my thought: particle systems are an effect. Other effects include a cloud
of smoke or a dust. An effect knows its posn, velocity, evolution, time to die
off, that sort of thing. So a rocket motor is a low-level effects emitter
throwing off smoke clouds which then drift in the wind and so on. An
unsuccessful rocket impact is another that throws off a bundle of glowy blobs
and then dies. Burning debris from an explosion has both a particle system,
which emits the flames and an effects emitter which throws off the smoke-trail.
Does this sound like the sort of thing people do? I mean basically it's having
two types of particles, one which is relative to the particle system's
"location" and one which is global. Which should make culling them and depth
sorting them easier. Does it sound sane or is there some other approach?
{This is something else that doesn't get mentioned in text-books. They all stop
at the "emit particles and, erm, subject them to gravity" level. Nothing about
what you do to model smoke trails from surface-to-air missiles in a reasonable
way.}