Giter Club home page Giter Club logo

simulator's Introduction

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.

simulator's People

Contributors

sutongkui avatar beanliu1994 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.