Jerry Hsu, Nghia Truong, Cem Yuksel, Kui Wu
A General Two-Stage Initialization for Sag-Free Deformable Simulations
ACM Transactions on Graphics (Proceedings of SIGGRAPH 2022), 41, 4, 2022
This is a Python implementation of initializating sag-free MPM simulation (https://graphics.cs.utah.edu/research/projects/sag-free-simulations/).
Naive initialization
Sag-Free initialization
Turn on the sag-free initialization by setting USE_SAGFREE_INIT as 1 in line34.
This demo depends on Taichi. You may follow its documentation for installation, or simply type pip install taichi
under a Python 3 environment.
This demo is tested under Taichi 1.0.4.
python SagfreeElasticBeam.py
@article{Hsu2022,
author = {Jerry Hsu and Nghia Truong and Cem Yuksel and Kui Wu},
title = {A General Two-Stage Initialization for Sag-Free Deformable Simulations},
journal = {ACM Transactions on Graphics (Proceedings of SIGGRAPH 2022)},
year = {2022},
month = {07},
volume = {41},
number = {4},
pages = {64:1--64:13},
articleno = {64},
numpages = {13},
location = {Vancouver, Canada},
url = {https://doi.org/10.1145/3528223.3530165},
doi = {10.1145/3528223.3530165},
issn = {0730-0301},
publisher = {ACM Press},
address = {New York, NY, USA},
}