particle systems?

i have recently started using lwjgl, moving from java2d, i was wondering how i would go about to create particle system, say something like an explosion or a spaceships thrusters.

i’m not quite sure how or where to begin any help would be appreciated! ???

thx

nehe has a nice one with an lwjgl port.

And you can find NeHe’s stuff here.

Are you goingo to use it on a 2D view or a 3D view ? If it’s for 2D, look at the nehe’s one like they said, it’s a very good start although it’s not very optimized. If you need it for 3D, you’ll need to add billboarding else your particles will look flat if you turn around them (or you can use the ARB_point_sprite extension but i’ts not so good)…

Good luck :slight_smile:

Chman

i’m going to use it for 2d

Ok, so go for the nehe’s one, it’s perfect for you :slight_smile:
You’ll maybe need to optimize it in the future.

Chman