Lesson #19: Particle Engine Using Triangle Strips
Have you ever wanted to create an explosion, water fountain, flaming star, or some other cool effect in your OpenGL program, but writing a particle engine was either too hard, or just too complex? If so, this tutorial is for you. You'll learn how to program a simple but nice looking particle engine. NeHe has thrown in a few extras like a rainbow mode, and lots of keyboard interaction. You'll also learn how to create OpenGL triangle strips. NeHe hopes you find the code both useful and entertaining.
http://nehe.gamedev.net/tutorial/particle_engine_using_triangle_strips/21001/Interaction:- pressing "+"/"-" ― increases/decrease the variable slowdown
- pressing "Page Up"/"Page Down" ― increases/decrease the z-variable and moves the source of stars towards/away from the viewer
- pressing "Arrow Left"/"Arrow Right" ― increase/decrease x-rotation speed
- pressing "Arrow Up"/"Arrow Down" ― increase/decrease y-rotation speed
There are asm-\exe-\bmp-files and cursor in the attachment