Taichi elements is a high-performance multi-material continuum physics engine (work in progress).
taichi_elements
in Pythonpip
: python3 -m pip install taichi
python3 download_ply.py
to download model files used by the demospython3 demo/demo_2d.py
and you will seepython3 demo_3d.py
and you will see a 3D simulation visualized in 2Dpython3 demo_3d_ggui.py
and you will see a 3D simulation rendered with GGUI. Note that GGUI requires Vulkan so please make sure your platform supports that.python3 demo/demo_2d_sparse_active_blocks.py
to get a visual understanding of Taichi sparse computationpython3 download_ply.py
to download model filespython3 demo/demo_3d_letters.py
(wait for at least 10 frames)
sim_2020-07-27_20-55-48
) will be created under the current folder.Example:
python3 render_particles.py \
-i ./path/to/particles \
-b 0 -e 400 -s 1 \
-o ./output \
--gpu-memory 20 \
-M 460 \
--shutter-time 0.0 \
-r 128
output/
folder. For example, 100 million MPM particles simulated in 8 hours on a V100 GPU:80
GB memory. Each particle takes 40 bytes, thanks to quantization.https://user-images.githubusercontent.com/2309174/162767279-2ced8a2f-38bd-42d6-9bb8-a827144464ff.mp4
taichi_elements
in Blender(Not sure if it is the standard approach, but it works for now.)
3.4.1
import sys
print(sys.exec_prefix)
The output looks like /XXX/blender-2.81a-linux-glibc217-x86_64/2.81
, which means python3 is located at /XXX/blender-2.81a-linux-glibc217-x86_64/2.81/python/bin/python3.7
./python3.7m -m pip install --upgrade taichi
(Note: as of Oct 8 2021, Taichi version is v0.8.1
. Please use the latest version.)BLENDER_USER_ADDON_PATH
, e.g. /home/XXX/.config/blender/2.81/scripts/addons
utils
folderpython3 install_blender_addon.py
to install the addon
-k
.