Hello!
I’m working on a physics-based graphic engine supporting some interactive animations of free water surfaces at real-time.
Youtube Videos:
And… of course, Fluid Simulation with touchscreen interaction:
The basic algorithm is based on a lattice-Boltzmann model of the shallow-waters equations and the interaction between the surface and external objects is achieved by means of source terms. The engine is capable
of produce scenes of ponds whose surface reacts to perturbations introduced by the user or controlled by the computer, like drizzle or the stirring of a finger.
Some technical data of the implementation:
-Fluid Models Supported: BGK / Entropic Model / Zhou’s SWE
-Grid: The implemented grid is D2Q9
-Realtime Grid Size: 200x200 Grids (including reflection, refraction, cubemaps, user interaction, etc.)
-Boundary Conditions: Zou/He, bounce-back, periodic.
-Parallelism: -
My idea is bring it to the NUI Community and (if you test it) i will probably get some videos and screenshots of possible uses of my project.
I tested multitouch support using TUIO listener and works great!
If you want it, you cand download it from here:
Link: http://www.pladema.net/~cgarcia/resources/LBM.rar
You can use it as you like it in your projects.
Aditionally, this is a basic (& very preliminary) version of a DLL, including the fluid physics module in my demos.
The zip file includes a Visual C++ Project that show you how to use the library, renders a water grid and permits user interaction.
Of course, the visualization in this demo is simple because i don’t use my graphics engine.
Link: http://www.pladema.net/~cgarcia/resources/DLL_Test.zip
Send me an email if you have any question:
http://www.pladema.net/~cgarcia
Regards,
Eng. Cristian Garcia Bauza
