Accompanying article: notes and examples for the material point method
Unity version: 2018.3.10f1 — Untested in other versions.
this is an MIT-licensed commented implementation of the MLS-MPM algorithm for simulating soft bodies and fluids. it's intended to accompany this article.
this project is made in Unity, and makes use of the Burst compiler and High-Performance C#. it's partially parallelised to run at interactive rates, but this is intended more as a learning reference than a final implementation.
all examples are single-file and self-contained. this package contains 3 scenes:
a stripped-back example demonstrating how particle-grid transfers work in MLS-MPM
non-linear elasticity using a Neo-Hookean model
liquid simulation using a constitutive model for isotropic newtonian fluids
if you have any questions, they might be answered by the article, but if not feel free to contact me @nialltl :o)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。