PDA

View Full Version : Fire



jefftkd
02-25-2002, 07:36 AM
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

Julien Cayzac
02-25-2002, 07:48 AM
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.

Humus
02-25-2002, 09:26 AM
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. http://www.opengl.org/discussion_boards/ubb/smile.gif

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