Skip to content

Major project for BCIT Computer Systems Technology Bachelor of Technology (BCIT CST BTech).

Notifications You must be signed in to change notification settings

guardhao104/3DFluidSimulation_CppBase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time 3D Fluid Simulation

Major project for BCIT Computer Systems Technology Bachelor of Technology (BCIT CST BTech).

A real-time fluid simulation and rendering demo, which implements the Smoothed Particle Hydrodynamics (SPH) algorithm using OpenGL compute shaders. The rendering section utilizes screen-space techniques, including fluid rendering, real-time shadows, and real-time caustics, and incorporates mouse dragging for interactive control.

Usage

To build project with Cmake, create build folder:

mkdir build
cd build

Run CMake to generate solution files:

cmake .. -G "Visual Studio 17 2022"

Open the sln file with Visual Studio and run.

Keyboard binding:

Function Key
Pause [space]
Exit [esc]
Camera rotation mouse left button click
Camera displacement mouse right button click
Camera zoom mouse wheel
Drag fluid mouse middle button click

Gallery

Runtime screenshot

Related

Quick simulator by python:

3D Fluid Simulator

About

Major project for BCIT Computer Systems Technology Bachelor of Technology (BCIT CST BTech).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published