LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: elias4444 on March 03, 2005, 22:42:18

Title: How do you create explosions?
Post by: elias4444 on March 03, 2005, 22:42:18
I figured this would be a fun one for the forum:

How do you create nice looking explosions in lwjgl? (or even just opengl for that matter)

What's the best way without killing your frame rate? Use low polycount, texture mapped GLU spheres? (I tried this, it killed my framerate actually). Use a single polygon that flips through an animated texture, always keeping it positioned correctly in front of the camera?

Any ideas?
Title: How do you create explosions?
Post by: Orangy Tang on March 04, 2005, 08:57:57
Particles. Lots and lots of animated swirly particles. You can get some really nice effects by having multiple particle systems at the same time - one for the core firey explosion and one for the smoke given off.
Title: hmmmmm...
Post by: Fool Running on March 04, 2005, 20:26:42
Yeah, Particles are definitely the way to go :wink: