r/taichi_lang • • Dec 16 '22

Demo A ray tracing engine that computes the intersection points in four-dimensional timespace and renders visual effects of special relativity

15 Upvotes

Project taichi-RT is a ray tracing engine, which computes the intersection points in four-dimensional timespace and renders visual effects of special relativity.

The project supports the following:

  • Rendering scenes with spheres, rectangles, cylinders, circles, triangles, and complex shapes defined by the SDF (signed distance function)

  • Rendering diffuse reflection, specular reflection, reflection at dielectric media, and Disney Principled BRDF

  • Factoring in/out special relativity by modifying variables

  • Dynamically adjusting shape and material parameters, such as location, size, and roughness, at runtime

  • Real-time (without noise reduction, though) and offline rendering, and control of camera parameters like FOV, location, and orientation using the mouse and keyboard


r/taichi_lang • • Apr 18 '23

Taichi v1.5.0 Released! See what's new👇

9 Upvotes
  • Taichi Runtime (TiRT) now supports Apple's Metal API and OpenGL ES for compatibility on old mobile platforms.

  • Taichi AOT fully supports float16 data type.

  • Out of bound check is now supported on ndarrays

  • Python frontend: LLVM-based backend (CPU and CUDA) now supports returning structs, including nested structs containing vectors and matrices.

  • CUDA backend has optimized atomic operations for half2 floating-point type.

  • GGUI backend now supports Metal, OpenGL, AMDGPU, DirectX 11, CPU, and CUDA.

Check our the realease note (https://github.com/taichi-dev/taichi/releases) for more improvements.


r/taichi_lang • • Feb 02 '23

Demo Cornell Box: 139 lines of Python code, based on Monte Carlo path tracing

Post image
9 Upvotes

r/taichi_lang • • Jan 12 '23

Demo A 3D fractal scene rendered in Taichi: The space-folding and orbit-coloring techniques are used

9 Upvotes

r/taichi_lang • • Nov 25 '22

Demo A 10k-particle comet simulation, completed within 100 lines of Python code

9 Upvotes

r/taichi_lang • • Feb 06 '23

Demo SDF bunny rendered in Taichi: rendering speed 5x faster than in Blender

8 Upvotes

r/taichi_lang • • Jan 04 '23

Demo Marching squares algorithm implemented with Taichi: Struct Taichi fields and dynamic SNodes are used to represent line segments, and linear interpolation applied to smoothen the boundaries.

8 Upvotes

r/taichi_lang • • Dec 23 '22

Demo A Taichi frontend for Rust

8 Upvotes

Project rtaichi provides a Taichi frontend for Rust. Having translated the Rust syntax tree of an attributed function into Python script via procedural macro (https://doc.rust-lang.org/book/ch19-06-macros.html#procedural-macros-for-generating-code-from-attributes), the project runs the script to build an AOT module archive at compile time. Subsequently, a new Rust function body is generated to lazily load AOT, execute the computational graph, bind parameters, and launch the kernel, offering CUDA-like development experience.

Project repo: https://github.com/PENGUINLIONG/rtaichi


r/taichi_lang • • Dec 14 '22

Demo A CUDA-free instant NGP renderer: Support real-time rendering and camera interaction and consume less than 1GB of VRAM. Here are some pre-trained NeRF synthesis scenes.

Post image
8 Upvotes

r/taichi_lang • • Nov 29 '22

Demo Taichi user theAfish simulates a non-rotating Schwarzschild black hole and its accretion disk via ray marching. Semi-implicit Euler method is used and general relativity involved to simulate the light paths. See source code: https://github.com/theAfish/BlackHoleRayMarching/blob/master/main.py

8 Upvotes

r/taichi_lang • • Nov 25 '22

Demo A classic Cornell box scene: Ray tracing rendered in Python and accelerated by Taichi

Post image
8 Upvotes

r/taichi_lang • • Nov 22 '22

Resources Beginner thread: Useful resources!

8 Upvotes

Some useful references to get started:

Taichi Lang GitHub: https://github.com/taichi-dev/taichi

Official website: https://www.taichi-lang.org/

Docs: https://docs.taichi-lang.org/

Taichi Cheatsheet: https://github.com/taichi-dev/cheatsheet

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

Have trouble with installation and getting started? Leave your questions in this thread👇


r/taichi_lang • • Feb 24 '23

Demo A game prototype developed in Taichi Soft2D, a 2D real-time multi-material physics engine for GPU-accelerated simulation. Basic features include fluid emitters & kinematic colliders

7 Upvotes

r/taichi_lang • • Dec 28 '22

tutorial GPU-Accelerated Collision Detection and Taichi DEM Optimization Challenge

7 Upvotes

Collision detection of a large number of particles often imposes an algorithmic bottleneck. A commonly-used technique to reduce the time complexity of collision detection is grid-based neighborhood search, which confines the search for collision-prone particles to a small area. This blog demonstrates how to implement collision detection in Taichi based on a minimal DEM model and accelerate neighborhood search effectively with clever use of Taichi data structures.

The complete code is available at https://github.com/taichi-dev/taichi_dem – the key part of the acceleration algorithm is completed in less than 40 lines of code.


r/taichi_lang • • Dec 07 '22

Demo Taichi Hackathon 1st prize winner: A real-time ray tracing renderer with physically based rendering and signed distance fields

Thumbnail
gallery
7 Upvotes

r/taichi_lang • • May 12 '23

Taichi v1.6.0 Released! See what's new👇

6 Upvotes

New features:

Struct arguments

  • Support struct arguments in all backends

Ndarray

  • Support 0 dim ndarray read & write in python scope

Performance

  • Improved vectorization support on CPU backend, with significant performance gains for specific applications

Check full changelogs here: https://github.com/taichi-dev/taichi/releases/tag/v1.6.0


r/taichi_lang • • Jan 19 '23

Resources Taichi v1.4.0 released!

6 Upvotes

Taichi v1.4.0 is released! See what's new:
- Taichi AOT, along with a native Taichi Runtime library: Native applications can now load compiled AOT modules and launch Taichi kernels without a Python interpreter.
- Taichi ndarray: An array object that holds contiguous multi-dimensional data to allow easy data exchange with external libraries.
- Dynamic index: Use variable indices whenever necessary on all backends without affecting the performance of those matrices with only constant indices.
See deprecation and more improvements in the release note.


r/taichi_lang • • Dec 22 '22

Demo A self-driving car using Nvidia Jetson Nano, with movement controlled by a pre-trained convolution neural network (CNN) written in Taichi

6 Upvotes

r/taichi_lang • • Jun 02 '23

Contributors in May✨ Thanks for making Taichi a better community!

Post image
5 Upvotes

r/taichi_lang • • Mar 03 '23

Taichi participated in #GAIDC 2023 in Shanghai

5 Upvotes

Taichi participated in #GAIDC 2023 in Shanghai, where attendees experienced the fluid puzzle game created by Taichi, which can be found at https://github.com/yuanming-hu/taichi_physics_puzzle, as well as the Taichi NGP renderer, which can be found at https://github.com/Linyou/taichi-ngp-renderer. We also brought the interactive fluid simulation from our Beijing office to the event, where attendees could simply wave their hands to manipulate the ink animation in the background, attracting many participants to engage in the interaction.


r/taichi_lang • • Feb 09 '23

Resources An invitation to Taichi Lang's Discord server

Thumbnail
discord.gg
5 Upvotes

r/taichi_lang • • Dec 19 '22

Demo Taichi physics simulation collection: When visual effects are accompanied by sound effects

5 Upvotes

r/taichi_lang • • Dec 09 '22

tutorial Pythonic Supercomputing: Scaling Taichi Programs with MPI4Py

Thumbnail docs.taichi-lang.org
5 Upvotes

r/taichi_lang • • Dec 06 '22

tutorial [SIGGRAPH Asia 2022 presentation] Playing with Your Data: A High-performance Programming Guide with the Taichi Programming Language

5 Upvotes

Taichi senior scientist and developer Tiantian Liu presented the Taichi-aided data arrangement for high-performance applications at SIGGRAPH Asia 2022.

This course provides an advanced programming guide to organizing data for high-performance applications using Taichi. In this course, we dig into the structural node (SNode) system in Taichi and exercise different memory layouts for both dense and sparse data structures. We also cover the optimization hints to keep wanted data attributes in shared memory for both structured grids and unstructured meshes. Moreover, we walk through the quantized data types in Taichi, which supports high-resolution simulations with limited memory consumption. Along with the course, we demonstrate various algorithms such as stable fluids, MLS-MPM, and Projective Dynamics implemented in Taichi and play with their underlying data structures. We hope this course will emphasize the importance of data in high-performance computer graphics tasks and reduce the engineering burden of testing different data types and memory layouts from programmers.

View the full course on youtube: https://www.youtube.com/watch?v=WNh4Q7-OSJs

Course PDF: http://tiantianliu.cn/courses/liu2022playing/liu2022playing.pdf


r/taichi_lang • • Nov 28 '22

Demo A selected community project: An FEM (finite element method) solver for structural analysis in continuum mechanics

5 Upvotes