Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Fire

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2002
    Posts
    12

    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

  2. #2
    Member Regular Contributor Julien Cayzac's Avatar
    Join Date
    Aug 2001
    Location
    Yokohama, Japan
    Posts
    251

    Re: Fire

    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.

  3. #3
    Senior Member OpenGL Guru Humus's Avatar
    Join Date
    Mar 2000
    Location
    Stockholm, Sweden
    Posts
    2,444

    Re: Fire

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •