GithubHelp home page GithubHelp logo

messymorse / phybs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wulonghua/phybs

0.0 0.0 0.0 3.25 MB

PhD independent study: implementing basic and important soft body deformation papers

Shell 0.20% JavaScript 0.10% C++ 77.07% Python 0.11% C 0.88% Fortran 18.53% CSS 0.07% Cuda 0.56% CMake 2.48%

phybs's Introduction

PhyBS

This project is for my PhD independent study, which implements basic and important soft body deformation papers in literature, including force-based simulation, position-based and projective dynamics. Various improvements in numerical solvers and parallelism make it possible to interact with the models in real time. The latest demo shows that for an armadillo model with 43K tets and 12K nodes, the FPS is around 65 running on GPU which is significantly faster than CPU version codes.

The codes was tested with the following configurations: -Windows 10, Visual Studio 2013, Qt 5.6.2, Eigen 3, CUDA 8.0, Intel Parallel Studio XE 2017.

Demo

  • GPU accelerated elastic body simulation [8,9]

Video

Rome wasn't built in a day

  • FEM/FVM force-based simulation[1]

Video

  • Stable simulation using implicit integration[2], accelerated by OpenMP

Video

  • Compute stiffness matrix of hyperelasic materials with two different methods: invariants-based[3] and stretch-based[4]

Video

  • Position based dynamics using strain constraints[5,6]

Video

References

[1] Teran, J., Blemker, S., Ng Thow Hing, V. and Fedkiw, R., Finite Volume Methods for the Simulation of Skeletal Muscle, ACM SIGGRAPH/Eurographics Symposium on Computer Animation (SCA), edited by D. Breen and M. Lin, pp. 68-74, 2003.

[2] David B. , Andrew W. 1998. Large steps in cloth simulation. In Proceedings of the 25th annual conference on Computer graphics and interactive techniques (SIGGRAPH '98). ACM, New York, NY, USA, 43-54

[3] Teran, J., Sifakis, E., Irving, G. and Fedkiw, R., "Robust Quasistatic Finite Elements and Flesh Simulation", ACM SIGGRAPH/Eurographics Symposium on Computer Animation (SCA), edited by K. Anjyo and P. Faloutsos, pp. 181-190, 2005.

[4] Hongyi X. , Fun Shing S. , Yufeng Z. , Jernej B. Nonlinear Material Design Using Principal Stretches, ACM Transactions on Graphics 34(4) (SIGGRAPH 2015), Los Angeles, CA, USA

[5] Müller, M., Heidelberger, B., Hennix, M. and Ratcliff, J., 2007. Position based dynamics. Journal of Visual Communication and Image Representation, 18(2), pp.109-118.

[6] Müller, M., Chentanez, N., Kim, T. Y., & Macklin, M. (2014, July). Strain based dynamics. In Proceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation (pp. 149-157). Eurographics Association.

[7] Bouaziz, S., Martin, S., Liu, T., Kavan, L., & Pauly, M. (2014). Projective dynamics: fusing constraint projections for fast simulation. ACM Transactions on Graphics (TOG), 33(4), 154.

[8] Wang, H. (2015). A chebyshev semi-iterative approach for accelerating projective and position-based dynamics. ACM Transactions on Graphics (TOG), 34(6), 246.

[9] Wang, H., & Yang, Y. (2016). Descent methods for elastic body simulation on the GPU. ACM Transactions on Graphics (TOG), 35(6), 212.

phybs's People

Contributors

wulonghua 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.