Jump to content

Dynamic Water


wrod
 Share

Recommended Posts

The waves we have now looks more like ripples. I think we could throw in a configurable wave amplitude, beach waves (breakers) and perhaps some scattering and caustics. Also, I think you'd want another physics for flowing rivers, like fluid dynamics.

Link to comment
Share on other sites

Consider something like this for rivers:

Is this really calculated in real time??? The Navier-Stokes equation is pretty complex to calculate even with further simplifications for high fluidity...

This also seams to include a general physics engine (including most of mechanics like inertial and gravitational mass, coherent bendable materials etc.). I'd strongly advise not to try to implement this on our own but rather use an existing physics engine if available. It's hell a lot of work and has to be implemented extremely efficient.

Of cause it would be cool to have though ^^

Edited by FeXoR
Link to comment
Share on other sites

The main simplification seems to be that they only calculate the fluid physics in 2D. It is probably still too advanced for our uses but perhaps some approximation could be found that looks reasonably nice, even on lower-end systems.

Link to comment
Share on other sites

The main simplification seems to be that they only calculate the fluid physics in 2D. It is probably still too advanced for our uses but perhaps some approximation could be found that looks reasonably nice, even on lower-end systems.

Additionally incompressibility is enforced that reduces complexity to n*log(n) which is quite nice. At the surface it's fully 3D still as far as I get it. The grid used seams to be quite rough and particles are used to further increase the visual detail level.

However, astonishing!

Link to comment
Share on other sites

The main simplification seems to be that they only calculate the fluid physics in 2D. It is probably still too advanced for our uses but perhaps some approximation could be found that looks reasonably nice, even on lower-end systems.

Maybe we could precompute a base model of the river with fluid dynamics as the map is loading and then animate that model with simpler techniques once in-game.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...