GitHunt
AI

ailzhang/Taichi-UnityExample

Taichi-UnityExample

This repository demonstrates Taichi-Unity interopability with sample scenes.

Prerequisites

This Unity project is runnable out-of-the-box. You don't need to build taichi libraries because all the necessary native plugins are already included in Assets/Plugins, but in case you want to, consult and for building manual.

If you want to create another Unity Project with Taichi integration, you need to set your first-choice graphics API to Vulkan in Player Settings in Unity because currently Taichi C-API doesn't support other graphics APIs at the moment.

Content

This repository presents several demo scenes, each can be found in Assets/Scenes:

  • Fractal: A simple time-dependent texture generation kernel;
  • ImplicitFem: A physically-based soft-body simulation emitting vertex data on-the-flight.

Also note that the project can be built into Unity Player.

Languages

C#79.9%Python18.3%ShaderLab1.7%

Contributors

Apache License 2.0
Created July 11, 2022
Updated July 6, 2022
ailzhang/Taichi-UnityExample | GitHunt