Jump to content
  • Advertisement
Sign in to follow this  
BlazeCell

Little Inferno - Fire Algorithm

This topic is 1850 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I just got done playing Little Inferno by Tomorrow Corporation, and I absolutely loved it. The algorithm they used for the fire combined with the physics of the smoldering debris matched the visual feel of fire so well, I couldn't distinguish what I was seeing from real fire. The pyromaniac within me is doing cartwheels.

 

So I was wondering, what algorithm were they using for the fire? There are definitely particles being used, but I'm not sure the fire is entirely comprised of just particles. It's very fluid and whole looking.

 

So, any thoughts on what they might be doing under the hood?

Share this post


Link to post
Share on other sites
Advertisement

They may be doing some fluid dynamics calculations behind the hood, there are some visible advection/convection patterns. Also they seem to do some "heat wave" effect which creates visual distortions around fire, which, though exaggerated, adds to the immersion. I'm basing this reply off the second trailer video, I haven't actually played it.

Share this post


Link to post
Share on other sites

I think they feedback previous frames over the current one, while warping them (warp can change gradually) and using some blurring and color calibration.

The result of the frame is perhaps particle effects like you said, but it can be combined with a classic flame effect or the likes.

2D image processing is fast nowadays, so it's basically just about combining stuff right. Above is my 2 cents.

 

Fluid dynamics iscan be a whole lot more complicated than the abovelinked (Although I guess it is a simplification hereof, in the plane). I'm convinced it can be done with little effort.

It's just that particle effects has been so "in" during the past 15 years, and it hasn't become mainstream yet to using pixel shaders for 2D fire effects like this one.

 

The method is a few decades old, though, to my awareness. Naturally the requirement to resolution has changed, and 20 years ago, we'd probably be using pixel doubling and as direct video memory writes from the CPU as we could.

Edited by SuperVGA

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!