( fluid simulation library ) diewald_fluid
in
Library and Tool Development
•
2 years ago
hi,
new fluid-simulation library available here:
project page (reference + download): processing library - fluid simulation
- this library is made for simulating fluids in realtime
- the simulation can be done in two ways:
a) on the CPU
b) on the GPU, which is about 10 to 20 times faster than on the CPU
the simulation happens on several shaders, that are loaded internally by
the processing library GLGraphics.jar by andres colubri
(http://glgraphics.sourceforge.net , or here http://codeanticode.wordpress.com/)
so you need to install GLGraphics.jar too, if you want to instantiate
the GPU fluid.
--------------------------------------------------------------------------------
online example:
(it shows just the CPU simulation, ... GPU-simulation doesnt work within an applet)
http://www.openprocessing.org/visuals/?visualID=31335
--------------------------------------------------------------------------------
ZIP_CONTENT:
1) processing examples
2) reference
3) source-code
4) library: diewald_fluid.jar
--------------------------------------------------------------------------------
FEATURES:
- fluid-solver for 2d-simulation (maybe 3d will follow)
- GPU / CPU solver
- interaction with obstacles
--------------------------------------------------------------------------------
some update to improve GPU-performance even more, may be uploaded the next view days.
2