Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brocbyte/realtime-deformations
Snow simulation (Material Point Method)
https://github.com/brocbyte/realtime-deformations
cuda glm material-point-method opengl
Last synced: 3 months ago
JSON representation
Snow simulation (Material Point Method)
- Host: GitHub
- URL: https://github.com/brocbyte/realtime-deformations
- Owner: brocbyte
- Created: 2023-02-04T08:16:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-02T07:57:22.000Z (almost 2 years ago)
- Last Synced: 2024-09-07T16:23:18.723Z (5 months ago)
- Topics: cuda, glm, material-point-method, opengl
- Language: C++
- Homepage:
- Size: 15.8 MB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A toy implementation of so-called "Material Point Method" to understand if i'm able to implement a physics-related paper.
Turns out, i am :).Uses OpenGL for particle visualization, CUDA for (some) parallel processing, GLM for linear algebra operations, Eigen for matrix operations not included in GLM (e.g. SVD matrix decomposition).
Realtime demos (the first is the freshest :))
![demo_last](./demo_last.gif)
![demo](./demo.gif)
![demo2](./demo2.gif)
TODO
[x] APIC
[ ] Implicit time integration
[ ] Multithreading for all MPM stages
[ ] Volume rendering or sth idk separate particles are (not) finePapers used:
* "A material point method for snow simulation" [https://www.math.ucla.edu/~jteran/papers/SSCTS13.pdf]
* "GPU Optimization of Material Point Methods" [https://dl.acm.org/doi/pdf/10.1145/3272127.3275044]
* "Material point method after 25 years: theory, implementation and applications" [https://www.researchgate.net/publication/336796234_Material_point_method_after_25_years_theory_implementation_and_applications]
* "The Material Point Method for Simulating
Continuum Materials" [https://cg.informatik.uni-freiburg.de/intern/seminar/animation%20-%20MPM%20survey%20-%202016.pdf]
* "Optimization Integrator for Large Time Steps" [https://www.math.ucla.edu/~jteran/papers/GSSJT15.pdf]
* "Modelling cracks in solid materials using the Material Point Method" [http://www.diva-portal.org/smash/get/diva2:1091115/FULLTEXT01.pdf]
* "Drucker-Prager Elastoplasticity for Sand Animation" [https://dl.acm.org/doi/pdf/10.1145/2897824.2925906]
* "A Moving Least Squares Material Point Method with Displacement Discontinuity and Two-Way Rigid Body Coupling" [https://yzhu.io/publication/mpmmls2018siggraph/paper.pdf]