How do games make fire and smoke effects? [closed]

可紊 提交于 2019-12-03 00:07:38

If you really want to get started on the simulation of fluid like effects (which actually include smoke and fire) then have a look at Jos Stam's excellent "stable fluids" paper. It is perhaps mathematically somewhat involved if you're not familiar with the terrain. But if you get past the equations (this might help), it's not that hard. And there are plenty of implementations available.

Just Google "Stable Fluids" :) Perhaps not an actual particle system, but great fun nonetheless.

While I do not have the knowledge to provide an answer myself, I can provide a lead for you: http://sourceforge.net/projects/real-time-fire/

The goal of this project is to create a fast generator of a volumetric fire animation. The generator uses a short precomputed sequence to produce an endless animation. Packages real-time-fire2.0 and higher contain additionally a heat haze.

I would suggest searching for the source code of some games that require the use of a particle system.

If you can't find them, there's always Wikipedia for some basic knowledge. This might not be enough though.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!