Thanks to visit codestin.com
Credit goes to github.com

Skip to content

yuchen-sun-cg/lfm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leapfrog Flow Maps for Real-Time Fluid Simulation

This repository contains a High-Performance LFM fluid simulator. The code for AMGPCG Poisson Solver is in another repo AMGPCG_Pybind_Torch, which is imported as a submodule.

Please consider citing our paper if this repository helps you:

@article{sun2025lfm,
title={Leapfrog Flow Maps for Real-Time Fluid Simulation},
author={Sun, Yuchen and Li, Junlin and Wang, Ruicheng and Wang, Sinan and Li, Zhiqi and van Bloemen Waanders, Bart G. and Zhu, Bo},
journal={ACM Transactions on Graphics (TOG)},
volume={44},
number={4},
pages={1--12},
year={2025},
publisher={ACM New York, NY, USA}
}

The paper and video results can be found at the Project Page.

Build Instructions

We use xmake for cross-platform compilation. We successfully compiled the code on machines with Windows 11 / Ubuntu 22.04 and Nvidia RTX 4090.

1. Clone the repository

git clone https://github.com/yuchen-sun-cg/lfm.git

2. Update submodule (for Vulkan Renderer and AMPCG Poisson Solver)

git submodule update --init --recursive

3. Dependencies

  • xmake
  • C++ 20
  • Cuda 12.6
  • Vulkan
  • sed, gnuutils (for Windows users)

4. Build

At proj/sim_render

xmake build

Run

At proj/sim_render, run the executable file in proj/sim_render/build

You are expected to see:

Configuration

In proj/sim_render/config

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •