Fire

Is there a good tutorial anywhere on how to render fire in OpenGL really well (like Unreal2 or RtCW). Explosion type fire as well?

Thanks in advance!
Jeff

Originally posted by jefftkd:
Is there a good tutorial anywhere on how to render fire in OpenGL really well (like Unreal2 or RtCW). Explosion type fire as well?

Search for particle engines in google and you will find tons of tutorials. You can also use a single quad (or 2 tris) with an animated photorealistic texture representing an explosion (or a flame).

Julien.

In the second demo from the top on my homepage I’ve used a procedural texture generated on the CPU, it’s pretty fast, I wrote it in assembler for quite long time ago, can generate several thousands 128x128 fire textures each second.

I’m pretty sure that’s about how Unreal/UT does it, generate it on the CPU and upload.
http://hem.passagen.se/emiper/3d.html