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

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
popo
Posts: 2
Joined: Thu Mar 15, 2007 5:48 am

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

Post 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?
omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post 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)
"Irrlicht is obese"

If you want modern rendering techniques learn how to make them or go to the engine next door =p
Post Reply