Realtime 3D version of Water Flow Simulation written for Microsoft XNA Framework
Though this is admittedly from earlier this year, hopefully it’s still interesting. This is the realtime 3D experiment written on the Microsoft XNA (Xbox, Windows, Windows Phone) Gaming Framework in C#. This is some of my earliest work in the C# language, so much refactoring could occur.
I built in and ran the simuluation with several different styles of terrain, and steered and emitted water with keyboard shortcuts.
Here the terrain is made up of several “bucket” shaped terraced levels. The water is added from the top of the hill, and runs down to the bottom while remaining trapped in the bucket shapes.
Islands and Tidal Wave
This is more of an island terrain with existing water level. You can see a simple “tidal wave” effect created by rapidly adding water to the cells at the edge of the map.