https://github.com/pwhiddy/fat-clouds
GPU Fluid Simulation with Volumetric Rendering
https://github.com/pwhiddy/fat-clouds
blaze cuda fluid gpu navier-stokes raymarching smoke
Last synced: 3 months ago
JSON representation
GPU Fluid Simulation with Volumetric Rendering
- Host: GitHub
- URL: https://github.com/pwhiddy/fat-clouds
- Owner: PWhiddy
- Created: 2018-02-26T02:21:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-31T17:08:52.000Z (over 7 years ago)
- Last Synced: 2025-04-13T00:36:28.311Z (6 months ago)
- Topics: blaze, cuda, fluid, gpu, navier-stokes, raymarching, smoke
- Language: Cuda
- Homepage:
- Size: 120 KB
- Stars: 110
- Watchers: 7
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 3D Fluid
A bare-bones but polished fluid simulator and volumetric renderer written in CUDA C/C++ in ~600 LOC.
**There are** [**videos**](https://drive.google.com/drive/folders/1A8PH2aZoj2ab8UDZKSdC6fsMPB5RUtyr?usp=sharing)!
The organization is based on Philip Rideout's 2D OpenGL simulator (http://prideout.net/blog/?p=58),
as well as George Corney's interactive WebGL demo (https://github.com/haxiomic/GPU-Fluid-Experiments)TODO: More consolidation of simulation and state parameters. Temperature-based shading. Support for data types smaller than 4 byte floats.
# Setup
In ```build.sh```, check that the path to your cuda installation is correct. Then run ```build.sh``` to create an executable.

Navier Tokes yo




Testing the renderer with spheres
