# Physics Forests - A New Real-time Fluid Solver - Download demo NOW!

**URL:** <https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [April 5, 2017, 9:49pm UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343 "2017-04-05T21:49:39Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![blackantmaster](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackantmaster/32/982689_2.png) [@blackantmaster](https://forums.unrealengine.com/u/blackantmaster)\
**Post date:** [April 9, 2017, 9:08am UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/21 "2017-04-09T09:08:29Z")

</div>

really impressive, especially the video mixing water and sand.  
nice job, i 'm keeping an eye on it

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_95ce03cf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_95ce03cf](https://forums.unrealengine.com/u/anonymous_user_95ce03cf)\
**Post date:** [April 9, 2017, 9:40am UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/22 "2017-04-09T09:40:56Z")

</div>

I saw this tread from last streaming.  
Looks very amazing. Just curious how much fast it can render it.

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [April 9, 2017, 10:44am UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/23 "2017-04-09T10:44:08Z")

</div>

Must run \< 10ms on 5 years old hardware then someone is going to find some uses for this in games.

---

<div class="post-metadata">

**Author:** ![ajbombadill](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ajbombadill/32/625126_2.png) [@ajbombadill](https://forums.unrealengine.com/u/ajbombadill)\
**Post date:** [April 9, 2017, 3:59pm UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/24 "2017-04-09T15:59:04Z")

</div>

Great work so far, having it for waterfalls and forest streams, as well as for waterflowing over a mill wheel will be very nice to see and uses I am interested in.

---

<div class="post-metadata">

**Author:** ![thenegaverse](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thenegaverse](https://forums.unrealengine.com/u/thenegaverse)\
**Post date:** [April 9, 2017, 7:13pm UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/25 "2017-04-09T19:13:27Z")

</div>

Proud of you all, shouts out to you for experimenting with this. I’m assuming the goal is to implement this kind of simulation in real time games? I see some of the other devs here saying that this would be useful for offline sim, but that’s essentially what Houdini is for and I’m sure that’s not what you’re going for. What are the specs of the rig running those simulations? Sorry if this was already answered, didn’t see it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3375a5e9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3375a5e9](https://forums.unrealengine.com/u/anonymous_user_3375a5e9)\
**Post date:** [April 9, 2017, 8:05pm UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/26 "2017-04-09T20:05:51Z")

</div>

> [@thenegaverse;692933](#):
>
> What are the specs of the rig running those simulations?

NVidia TitanX Pascal (the one from Aug 2016)  
CPU is (almost) not used at all

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3375a5e9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3375a5e9](https://forums.unrealengine.com/u/anonymous_user_3375a5e9)\
**Post date:** [April 9, 2017, 8:13pm UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/27 "2017-04-09T20:13:25Z")

</div>

> [@MeepMeep;692788](#):
>
> Just curious how much fast it can render it.

all fluids except sand are rendered at a mesh, so the rendering is way faster than for example in FLEX  
sand (or any non-transparent particles) can be also rendered quite fast because we can skip large majority based on signed distance, which is calculated anyway  
foam is rendered at circular sprites (same as in other systems) so if you zoom too much, it might get a bit slower

edit: hard to quantify exactly, but it was about ~1-4ms in all those simulations (except that “dust” video)  
it’s already included in the time shown

---

<div class="post-metadata">

**Author:** ![John\_Alcatraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Alcatraz](https://forums.unrealengine.com/u/John_Alcatraz)\
**Post date:** [April 10, 2017, 4:43pm UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/28 "2017-04-10T16:43:38Z")

</div>

> [@BrUnO XaVIeR;692805](#):
>
> Must run \< 10ms on 5 years old hardware then someone is going to find some uses for this in games.

I wouldn’t say that, 2 ms on 2 year old hardware sounds better. It doesn’t need to run at all on 5 years old hardware.

I would want to use this in VR, and there no one has older hardware. The worst GPU this would have to run on is a GTX 970. As long as its possible to adjust how expensive it is, maybe by setting simulation accuracy or just giving people with a GTX 970 thicker fluids (bigger particles) than people with a 1080, its completely fine 🙂

---

<div class="post-metadata">

**Author:** ![MischievousM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MischievousM](https://forums.unrealengine.com/u/MischievousM)\
**Post date:** [April 11, 2017, 11:32pm UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/29 "2017-04-11T23:32:23Z")

</div>

When you say Machine Learning, do you mean something similar to this? [https://www.youtube.com/watch?v=iOWamCtnwTc&feature=youtu.be](https://www.youtube.com/watch?v=iOWamCtnwTc&feature=youtu.be)  
When is saw that my thought was ; “This needs to be in Unreal.”

This is absolutely fantastic though, as a hobby game developer, ((I also work at Ubisoft but only as an artist there)) I have…or will have a sort of large dock scene where I am trying to get the ocean to behave like a real ocean, for a stealth like game, so for me this is a really real question; Can or would this be able to be used to simulate realistic motion of an ocean on a about a kilometer of dockyard shoreline with rocks and coastal armoring blocking larger incoming waves from the open ocean to create shallow calm areas where small boats are moored? The level is smaller but the shoreline is really bendy heh. Right now I’m using flowmaps that control heightmaps but…A physically simulated ocean would be really pleasant to watch, especially for a game where you mostly sit around watching from the shadows.

I would love to get my hands on this to experiment with…Much like everyone else here I guess. I love experimental technology.

PS: I would gladly sacrifice the chamfers on my stone wall assets or the density of my grass to implement this. I honestly believe technology like this is more interesting for a player to at least look at than a really detailed rock.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3375a5e9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3375a5e9](https://forums.unrealengine.com/u/anonymous_user_3375a5e9)\
**Post date:** [April 12, 2017, 12:15am UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/30 "2017-04-12T00:15:07Z")

</div>

> [@MischievousM;694063](#):
>
> When you say Machine Learning, do you mean something similar to this? [https://www.youtube.com/watch?v=iOWamCtnwTc&feature=youtu.be](https://www.youtube.com/watch?v=iOWamCtnwTc&feature=youtu.be)  
> When is saw that my thought was ; “This needs to be in Unreal.”

the general idea is based on the our old paper, mentioned also there in the description ( [Website not found!](https://www.inf.ethz.ch/personal/ladickyl/fluid_sigasia15.pdf) ), but it has been significantly modified, so that the results are better, and all the new features are possible (rigid coupling, multiple fluids, granular materials, surface generation, etc).

> [@MischievousM;694063](#):
>
> Can or would this be able to be used to simulate realistic motion of an ocean on a about a kilometer of dockyard shoreline with rocks and coastal armoring blocking larger incoming waves from the open ocean to create shallow calm areas where small boats are moored?

we plan work in the very recent future on various tricks combining those methods with ours to make it scale to that size  
simply it is simulated where you are looking, elsewhere some tricks are applied, and there is a smooth transition between those two

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [April 12, 2017, 2:13am UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/31 "2017-04-12T02:13:43Z")

</div>

> [@Alcatraz;693335](#):
>
> I wouldn’t say that, 2 ms on 2 year old hardware sounds better. It doesn’t need to run at all on 5 years old hardware.
> 
> I would want to use this in VR, and there no one has older hardware. The worst GPU this would have to run on is a GTX 970. As long as its possible to adjust how expensive it is, maybe by setting simulation accuracy or just giving people with a GTX 970 thicker fluids (bigger particles) than people with a 1080, its completely fine 🙂

By the time the game ships a 970 gonna be ~5 years old 😛

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e4637516](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e4637516](https://forums.unrealengine.com/u/anonymous_user_e4637516)\
**Post date:** [April 12, 2017, 10:22am UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/32 "2017-04-12T10:22:25Z")

</div>

Hi lubor\_,

We are working on a game where we need avalanche to occur on random locations of the map. that will be specified by the Player. So I wanted to know

1. Can Physics Forests Fluid System be optimised for this big scenario? i.e. Avalanche would occur on real sized mountains.
2. Can your fluid system be customised to act like snow avalanche?
3. Can these generate collision Hit events or anything like it?

Would like to hear from you if these things are possible.

Best Regards  
Das

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3375a5e9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3375a5e9](https://forums.unrealengine.com/u/anonymous_user_3375a5e9)\
**Post date:** [April 12, 2017, 11:19am UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/33 "2017-04-12T11:19:53Z")

</div>

> [@Das;694240](#):
>
> 1. Can Physics Forests Fluid System be optimised for this big scenario? i.e. Avalanche would occur on real sized mountains.
> 2. Can your fluid system be customised to act like snow avalanche?
> 3. Can these generate collision Hit events or anything like it?

1. yes, and scaling is a bit easier for sand/snow, because particles don’t need to be simulated, where nothing is moving
2. yes, snow is a customized sand:)
3. we can calculate the impact of snow on any movable (atm only rigid) object every frame. I think with a cumulative sum you can get what you want.

---

<div class="post-metadata">

**Author:** ![macoll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@macoll](https://forums.unrealengine.com/u/macoll)\
**Post date:** [April 12, 2017, 5:15pm UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/34 "2017-04-12T17:15:48Z")

</div>

congratz men, that’s stunning 😉

---

<div class="post-metadata">

**Author:** ![donbrid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@donbrid](https://forums.unrealengine.com/u/donbrid)\
**Post date:** [April 12, 2017, 11:13pm UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/35 "2017-04-12T23:13:28Z")

</div>

I see this plugin being useful in 3d animation using Unreal Sequencer!!!

For 3d renders simular to “Toy Story” real time is not necessary and sequencer can cough up a decent amount of frames per second using This great fluid simulator You have developed…I would be happy to purchase such a Plugin and test it…i’m presently doing a student film and have ocean waves crashing on shore to render LOL…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_177a34aa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_177a34aa](https://forums.unrealengine.com/u/anonymous_user_177a34aa)\
**Post date:** [April 13, 2017, 7:31am UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/36 "2017-04-13T07:31:00Z")

</div>

Looks really amazing =) It`s based on Nvidia Flex or somth different ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a68fe4f71](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a68fe4f71](https://forums.unrealengine.com/u/anonymous_user_a68fe4f71)\
**Post date:** [April 13, 2017, 10:24am UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/37 "2017-04-13T10:24:14Z")

</div>

This looks amazing! wish we could see more, I would love to use it one day!

---

<div class="post-metadata">

**Author:** ![Darthadin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Darthadin](https://forums.unrealengine.com/u/Darthadin)\
**Post date:** [April 13, 2017, 7:19pm UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/38 "2017-04-13T19:19:21Z")

</div>

Good work @lubor\_! Keep it up!

---

<div class="post-metadata">

**Author:** ![researn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@researn](https://forums.unrealengine.com/u/researn)\
**Post date:** [April 14, 2017, 11:05am UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/39 "2017-04-14T11:05:11Z")

</div>

I really like what you are doing! I have a couple of questions, is it running on the main rendering thread or could you offload it to another cuda processor and leave the main card rendering? Is it restricted to viscous liquids at the moment, or can you add in other physical attributes like surface tension and non-Newtonian viscosity behavior? Is it possible to use it for gases?  
Looks great though, well done.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3375a5e9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3375a5e9](https://forums.unrealengine.com/u/anonymous_user_3375a5e9)\
**Post date:** [April 14, 2017, 12:18pm UTC](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343/40 "2017-04-14T12:18:58Z")

</div>

> [@researn;695123](#):
>
> could you offload it to another cuda processor and leave the main card rendering?

we haven’t tried, but it should be possible

> [@researn;695123](#):
>
> Is it restricted to viscous liquids at the moment, or can you add in other physical attributes like surface tension and non-Newtonian viscosity behavior?

Cohesion(surface tension)/adhesion forces are possible (used for example for honey or mercury in “various materials”). The only non-newtonian viscosity we tried was used for sand. I’ve seen some (real) videos of various weird non-newtonian fluids, I would need to see a mathematical description of that behavior to see if it’s possible to simulate in our framework.

> [@researn;695123](#):
>
> Is it possible to use it for gases?

We are working on it, we release videos, when we are happy with the quality.

[Previous page](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343.md?page=1)

[Next page](https://forums.unrealengine.com/t/physics-forests-a-new-real-time-fluid-solver-download-demo-now/89343.md?page=3)
