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
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
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