Skip to content

It's a GPU-based real time cloth simulator and interactive.

Notifications You must be signed in to change notification settings

shikui08/simulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VISGSim

VISGSim is a GPU-based real time cloth simulator.

Results

Contributions

  • A unified streaming pipeline for time integration and collision handling
  • Unified collision handling: we present a parallel, integrated collision detection and response algorithm - Position projection and inelastic collision response force
  • A new strategy of expanding bounding box(aabb) for the triangle (caused by our collision detection and response strategy)
  • Maximizing Parallelism in the construction of BVHs

Here is a Demo.

  • 12367 vertices
  • intel core i5 and GTX 960
  • nearly 1000 FPS

Operations

  • space - start or stop the simulation
  • 'W'/'w' - down in the axis '-y'
  • 'S'/'s' - up in the axis 'y'
  • 'X'/'x' - snapshot
  • press left and drag to rotate
  • press middle and drag to scale
  • press right and drag to drag mass

Realated papers

Compile

Use cmake to compile it and check CUDA_SEPARATE_COMPILATION.

following is a simple build script for windows

git clone --recursive http://github.com/sutongkui/simulator
# notice: choose your own generator
cmake -G"Visual Studio 15 2017 Win64" -H".\simulator" -B".\simulator\build" -DCMAKE_INSTALL_PREFIX=install
cmake --build ".\simulator\build" --config "RelWithDebInfo" --target INSTALL
# generated files should be in install dir
dir install/bin

or you can use cmake-gui to do the job in an interactive way.

About

It's a GPU-based real time cloth simulator and interactive.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 48.8%
  • C++ 36.8%
  • Cuda 12.4%
  • CMake 1.1%
  • Other 0.9%