Rendering fire in OpenGL

Etan picture Etan · Dec 15, 2010 · Viewed 11.6k times · Source

I want to render a fire effect in OpenGL based on a particle simulation. I have hundreds of particles which have a position and a temperature (and therefore a color) as well as with all their other properties. Simply rendering a solidSphere using glut doesn't look very realistic, as the particles are spread too wide. How can I draw the fire based on the particles information?

Answer

Jackson Pope picture Jackson Pope · Dec 15, 2010

You probably want to use a particle system to render a fire effect, here's a NeHe tutorial on how to do just that: http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=19