"I'm completely in favor of the separation of Church and State. My idea is that these two institutions screw us up enough on their own, so both of them together is certain death."
- George Carlin

Framework 4 (Last updated: October 25, 2019)
Framework 3 (Last updated: February 6, 2017)
Framework 2 (Last updated: October 8, 2006)
Framework (Last updated: October 8, 2006)
Libraries (Last updated: September 16, 2004)
Really old framework (Last updated: September 16, 2004)
Fire
Wednesday, May 14, 2003 | Permalink

Executable
Source code
Fire.zip (88 KB)

Required:
GL_ARB_fragment_program
GL_EXT_texture3D
This demo shows how to create a procedural fire in a fragment program. The cool thing is that this is achieved in only 8 instructions.

I did something similar in RenderMonkey during my time at ATi. That DX9 HLSL shader was fairly complex though and had many parameters you could tune. In an application you have more flexibility however, so large parts of the calculations can be preprocessed on the CPU. By carefully tuning the parameters passed to the shader I could reduce the number of instruction quite a lot.

It should run on Radeon 9500+ and GFFX.