kotsoft

Fluid Sandbox


This is a basic fluid sandbox that allows you to create and edit custom materials and watch them interact.

Oil floats on water, and bubbles form. Jello breaks, due to excessive weight and water and oil flow through.

You can click on the download link on the bottom of the page to download the sandbox. In order to run it, you will also need to download:
Microsoft XNA Framework Redistributable 3.0
Microsoft .NET Framework 3.5 Service Pack 1
Microsoft Parallel Extensions to .NET Framework 3.5, June 2008 Community Technology Preview

Game Controls:
You can use the left and right arrow keys to go through the materials.
The [left mouse button] will repel particles away from the mouse.
The [middle mouse button] will spin particles around the mouse.
The [right mouse button] will attract particles to the mouse.
Holding [space] and the [left mouse button] will create particles.
Holding [space] and the [right mouse button] will create fixed particles.
Press S to save the current scene.
Press L to load the saved file.
Press C to clear all particles.
More information will be posted later about the config file and the materials file, but if you can figure out what the different parameters do, go for it.

Research:
This simulator is based off of the following two papers with a few modifications:

Troubleshooting:
You need to have a graphics card that supports DirectX 9.0c and Shader Model 1.1.
If you come from a country that uses commas as a decimal operator, you'll need to go to regional settings and set it to a period.

Attachments (4)

  • Monster.zip - on Nov 26, 2008 12:30 PM by Grant Kot (version 1)
    20k Download
  • Rigid.zip - on Dec 4, 2008 7:59 AM by Grant Kot (version 1)
    7k Download
  • Sandbox.zip - on Nov 26, 2008 12:32 PM by Grant Kot (version 10 / earlier versions)
    20k Download
  • Vortica.zip - on Jan 10, 2009 2:42 PM by Grant Kot (version 1)
    5k Download