Simulating fluids, fire, and smoke in real-time

Fire and smoke simulation in real-time graphics has been a topic of interest for many years. In the past, approaches to simulating fire were often fake and non-physical, due to the computational demands. However, with the advancements in GPU technology, fast fluid simulation has become easier. Techniques developed by ILM and NVIDIA have paved the way for realistic fire and smoke effects in movies and video games. This article explores the math and algorithms behind fluid dynamics and advection, as well as the Navier-Stokes equations for simulating fluid flow. It also discusses the challenges of solving the Poisson equation for pressure and offers iterative methods for efficient computation on the GPU. The examples in the article are implemented using WebGL.

https://andrewkchan.dev/posts/fire.html

To top