Page 1 of 1

Any idea to render real-time water and fire reaction?

Posted: Fri Mar 30, 2007 8:07 am
by popo
As the title, is there anyone have idea how to build a model to render real-time water and fire reaction? :lol:

Do u think it is possible in Irrlicht?

Posted: Fri Mar 30, 2007 3:21 pm
by omaremad
Shoot water nodes, if bounding boxes hit fire node bounding box reduce fire health. Also add steam nodes (particles).

Fires spread by adding new fire nodes in all four directions relative to the fire node, new fires start small and the grow if:

-a few rays are shot out of the fire node every few cycles if many hit the level within a small distance this means the fire is confined, you can then say that fire cant spread that way.

-there are not too many fires around (oxygen depletion)