Skip to content

Implement Fluid Simulation (FLIP) on Unreal Engine 5 with NVIDIA GVDB Library

License

Notifications You must be signed in to change notification settings

W298/gvdb-fluid-unreal

Repository files navigation

gvdb-fluid-unreal

Short.Demonstration.mp4

Implement Fluid Simulation (FLIP) on Unreal Engine 5 with NVIDIA GVDB Library.
The particles are simulated with a Niagara system. (using Sprite Renderer & Mesh Renderer)

Descriptions

Reference Paper / Link

Requirements

  • NVIDIA Kepler generation or later GPU
  • CUDA Toolkit 6.5 or later (Toolkit 10.2 recommended)
  • Visual Studio 16 2019 or later
  • CMake 3.10 or later

Tested on CUDA Toolkit 10.2 & Visual Studio 16 2019 only. Other versions may not work properly.

Installation Guide

1. BUILD

  1. Move to GVDB_Library Directory
  2. Generate files using CMake (Put your CUDA Path at argument)
cmake -B ./build -G "Visual Studio 16 2019" -DCUDA_PATH_BUILD="YOUR_CUDA_PATH"
# Example
cmake -B ./build -G "Visual Studio 16 2019" -DCUDA_PATH_BUILD="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2"
  1. Open build/gvdb.sln
  2. Set Output Directory of gvdb project as GVDB_Library/lib path (ex. $(SolutionDir)..\lib)
  3. Set Target Extension of gvdb proejct as Static Library (*.lib)
  4. Set Target File Extension of gvdb project as .lib
  5. Build gvdb project with 'Release' (It will generate gvdb.lib at GVDB_Library/lib)

2. LAUNCH

  1. Generate Visual Studio project files (using UE_GVDB.uproject)
  2. Open UE_GVDB.sln
  3. Build and Launch

About

Implement Fluid Simulation (FLIP) on Unreal Engine 5 with NVIDIA GVDB Library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published