Skip to content

cK0nrad/fluid-sph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluid simulation in Rust

Goal:

  • [✔] Solving SPH
  • [✔] Surface render
  • [❌] Object colisions
  • [✔] Exporting results
  • [✔] Live view of simulation
  • [✔] Fully multithreaded

Usage:

Compile it with Rust and then you can run the simulation directly. Using ./sph true will also generate luxrender file in the render folder.

To generate the image sequence use the generate_image.py. Don't forget to add the Luxrender folder into PYTHONPATH so luxerender can be used inside python.

It take few second to simulate, few hours to generate files and few hours to generate images.

Then, FFMPEG can be used to generate mp4.

Example

render_1.mp4
render_2.mp4

Credits:

cK0nrad

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published