• Stars
    star
    152
  • Rank 236,204 (Top 5 %)
  • Language
    Python
  • Created over 3 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Taichi Blender intergration for physics simulation and animation

Taichi Blend

Taichi Blender intergration for creating physic-based animations.

Examples: https://github.com/taichi-dev/taichi_blend/tree/master/numblend_examples.

Taichi repo: https://github.com/taichi-dev/taichi.

Taichi documentation: https://taichi.readthedocs.io/en/stable.

Taichi 中文文档: https://taichi.readthedocs.io/zh_CN/latest.

Taichi forum: https://forum.taichi.graphics.

Video tutorial series (Bilibili)

Subscribe my channel <https://space.bilibili.com/263032155> for future updates. Also join our QQ group 1124405621 for discussing this addon.

How to install

  1. Goto the Blender Scripting window, type these commands into the Python shell:

    import sys
    import platform
    major = sys.version_info.major
    minor = sys.version_info.minor
    assert major == 3 and minor in [6, 7, 8], "Only Python 3.6/3.7/3.8 is supported"
    
    ver = str(major) + str(minor)
    plat = sys.platform
    
    if plat.startswith('win'):
       plat = 'win'
    elif plat.startswith('linux'):
       plat = 'linux'
    elif plat.startswith('darwin') or plat.startswith('mac'):
       plat = 'osx'
    else:
       assert 0, "Invalid platform: {}".format(sys.platform)
    
    if platform.architecture()[0] == '32bit':
       assert 0, "Only 64-bit Blender is supported"
    
    file = 'Taichi-Blend-{}-{}.zip'.format(plat, ver)
    print('You should download', file)

    It may shows, for example:

    You should download Taichi-Blend-win-37.zip
    
  2. Go to the release page, choose one of the ZIP files to download, according to the You should download generated by the code above. Download Taichi-Blend-win.zip for Windows users for example.

    NOTE: For the convenience of Chinese users, you may download from the mirror release page for better network speed :)

  3. Go back to the Blender, and follow these steps:

    Edit -> Preferences -> Add-ons -> Install

  4. In the pop-up installation window, select the file Taichi-Blend.zip we just download.

  5. Then you should see an item named Physics: Taichi Blend, click the check on the left side to enable it.

  6. Try import taichi as ti in the shell to confirm that installation is complete.

If you encounter any problems, please report by opening an issue, many thanks!

How to play

  1. Create a new General scene in Blender, delete the default Cube.
  2. Go to the Scripting window, press New to create a new script (text).
  3. Paste some example scripts to the editor.
  4. Press the play button to run the script. Blender may stuck a while for the first launch.
  5. Go back to Layout window. Press SPACE and you should see particles to move. May stuck a while at first frame.

Included packages

Installing this bundle (Taichi-Blend.zip) will allows you to use these packages:

And these submodules as extra addons:

  • meltblend - a node-based MPM solver for continuum physics simulation.
  • realtimetina - a real-time rasterization-based renderer [repo].
  • ptina - an GPU-accelerated path tracing renderer.

More Repositories

1

taichi

Productive, portable, and performant GPU programming in Python.
C++
24,605
star
2

difftaichi

10 differentiable physical simulators built with Taichi differentiable programming (DiffTaichi, ICLR 2020)
2,378
star
3

taichi-nerfs

Implementations of NeRF variants based on Taichi + PyTorch
Python
687
star
4

games201

Advanced Physics Engines 2020: A Hands-on Tutorial
Python
490
star
5

taichi_elements

High-performance multi-material continuum physics engine in Taichi
Python
454
star
6

awesome-taichi

A curated list of awesome Taichi applications, courses, demos and features.
322
star
7

taichi_three

A soft renderer based on Taichi (work in progress)
Python
216
star
8

voxel-challenge

Python
210
star
9

meshtaichi

MeshTaichi: A Compiler for Efficient Mesh-based Operations (SIGGRAPH Asia 2022)
Python
201
star
10

quantaichi

QuanTaichi evaluation suite
Python
134
star
11

taichi-docs-zh-cn

Taichi中文文档
127
star
12

taichi_houdini

Python
101
star
13

faster-python-with-taichi

Python
76
star
14

taichicon

TaichiCon: Taichi Conferences
71
star
15

taichi_glsl

A Taichi extension library providing a set of GLSL-alike helper functions
Python
68
star
16

taichi-aot-demo

A demo illustrating how to use Taichi as an AOT shader compiler
C++
67
star
17

taichi.js

Run compiled Taichi kernels in JavaScript and WASM
Python
63
star
18

image-processing-with-taichi

Python
52
star
19

soft2d-release

Soft2D: A 2D multi-material continuum physics engine designed for real-time applications.
C++
48
star
20

Taichi-UnityExample

C#
46
star
21

cpp-training-season1

C++ training, season 1
C++
45
star
22

taichi_benchmark

Python
25
star
23

cheatsheet

TeX
24
star
24

taichi_dem

A minimal DEM simulation demo written in Taichi.
Python
24
star
25

docs.taichi.graphics

Home of the Taichi documentation site.
HTML
23
star
26

taichi-unity2

C++
20
star
27

cloth-simulation-homework

Python
16
star
28

community

13
star
29

advanced_examples

More advanced Taichi examples
Python
10
star
30

soft2d-for-unity

Soft2D-for-Unity
C#
10
star
31

poisson-sampling-homework

Python
9
star
32

sourceinspect

A unified inspector for retriving source from Python objects
Python
8
star
33

mls_mpm_88_extensions

Python
6
star
34

test_actions

C++
5
star
35

taichi_elements_blender_examples

5
star
36

public_files

5
star
37

dummy-rdp-client

Keep a live session by RDP, so OpenGL can function.
Rust
4
star
38

docstring-gen

Workflow for generating the docstring website
Python
4
star
39

mpm_3d_exercise

Python
4
star
40

stock_trading_strategy

Optimal stock trading strategy using Taichi
Python
3
star
41

taitopia-status-page

Taitopia status page
Markdown
3
star
42

taichi_assets

Taichi binary assets (submodule of the main Taichi repository)
3
star
43

taichi-release-tests

Python
2
star
44

blogs

Python
2
star
45

taichi-zoo-issue-tracker

This repository is used for collecting user feedback from the community
1
star
46

hackathons

Taichi ❤️ Hackathons
1
star
47

taichi_glad_ready

Ready to use GLAD as a OpenGL API loader
C
1
star