21
2011
Fluids – Smoothed Particle Hydrodynamics (Unity3D C# source)

SPH fluids test (see wiki)
Screenshot only..as its currently using debug.line for the drawing, would need pro for gl.lines.
Its converted from this java to Unity C# (my first C# program, yay!)
http://www.jamesdedge.com/SPHApplet.html < click to view java version in action
(google up for the source, done by: “Copyright 2011 James D. Edge, GNU General Public License”)
Download source:
– Unfinished C# port of the java version (missing the mouse drawing, using debug.linedraw: enable gizmos in play view!)
mSPH1.unitypackage
Related Posts
5 Comments + Add Comment
Leave a comment
Recent posts
- Adding Real World Location to Ice Fishing Prototype
- [web tool] Image Channel Inspector : AlphaScope
- Editor Tool: Smart Recompile (don’t recompile if edit comments)
- Editor Tool: Scene Size Analyzer
- LudumDare 60: Old Tech
- uBasic Scripting Language for Unity
- GreaseMonkey+Editor Plugin: 1-Click Copy script from ChatGPT (Web) to Unity Editor (as script)
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












SPH should be pretty nice with this blobmesher: http://forum.unity3d.com/threads/111420-Particles-BlobMesh-renderer-WIP
Fluid Simulation Tests (with sources)
http://forum.unity3d.com/threads/fluid-simulation-tests.311908/
FYP_Unity_SPH
https://github.com/bfowle/UnitySPH
smoothed particle hydrodynamics (SPH) for Unity
https://github.com/nryas/SPHFluid
An SPH fluid simulator for Unity
https://github.com/sunilnayak133/sphFluid