Realtime GPU smoke simulation

Blender’s Volume Object is still bleeding edge. I’d say that this is the perfect test-case to motivate developers to optimize it! At any rate, the current performance is nothing to worry about too much. There’s still a lot more to do in that area!

Thanks for mentioning it. Manipulating large objects in a faster way is much needed to get to the next stage in production. I’ve read that large mesh editing is on the road map. Hopefully, volume objects will be improved too.

1 Like

Some updates now with explanation :smiley:

14 Likes

Your progress is amazing, congrats :slight_smile:

5 Likes

I’ve made a little brake from coding to experiment with some simulations.
Below is a short video with some renders made with Cycles

24 Likes

Because of some personal reasons and a lot of scientific work I had a few months break from coding this simulator, however it’s not dead and recently I’ve made some huge improvements. One of them is the initial implementation of wavelet noise upsampling making the results much more detailed (for now it’s a bit slow but I’m working on it)

Below there is a render of some test I’ve made :smiley:

24 Likes

Super excited to hear that! :slight_smile:

1 Like

Some new examples and small settings tweaking leads to following test:

Rendered in Cycles :slight_smile:

20 Likes

Today there are some new changes (made during the night).
0 → flame attribute was added for more realistic rendering
1st → there are further noise improvements (can be seen in the first example from the video)
2nd → there are some explosion sample scenes added to the repo

19 Likes

Wow! That looks awesome. You’ve made some real headway these last couple of updates. I love how the plume develops over time, there’s some excellent detail in there.

1 Like

Recently I’ve managed to finalize some medium-term improvements so today’s news are great:

  • 1st -> Wavelet noise is now computed fully on the GPU making it about 10x faster than before (or even faster for larger scenes)
  • 2nd -> Cache is now saved in sparse format making the files much smaller and the playback in blender tons faster
  • 3rd -> smoke is saved files is now rotated 90 degrees and centered to make it look nice after importing to blender
  • 4th -> flame attribute was added for more realistic rendering

Aaaand it’s all for today (No renders for now because my computer is dying after a long night and day of work)

Have a nice day

13 Likes

Or actually something is coming :wink:

26 Likes

And the rendering is done :smiley:

32 Likes

Hey, it s nice to see your progression, i want to say something about your demos, we cant really see the advantage of realtime simulation as you’re showing us rendered sims, the way to do it would be to make different itteration of a sim and show us how much time it takes to calculate.

1 Like

Yes, I was showing render sims as they look much better than the preview from the simulator but that’s a valid point. I will definitelly make a video showing the realtime-ness of the app.

For now I can say that the last sim at resolution 490^3 was simulating at about 5fps and with saving to the vdb files it was about 0.9fps cuz even with multithreaded saving it takes some time.

But yeah, today I will try do to some better reel :smiley:

Have a nice day

9 Likes

This project is absolutely incredible!
Keep up the awesome work my man. :+1:

3 Likes

This is sooo cool ! Please keep developing ! Do the developers know about this ? This must go into blender. Maybe they can point to someone who can support you.

5 Likes

I think they don’t know yet.
But it would be awesome if it could be a part of blender

5 Likes

Absolute stunning work! Keep up the awesomeness and lots of success with your scientific work.

3 Likes

Thank you very much :smiley:
Have a nice day :slight_smile: :blush:

1 Like