Skip to content
项目

关于

使用 TouchDesigner 和 GLSL 制作流体效果。

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

touchFluid

Fluids in TouchDesigner and GLSL

touchFluid is a lightweight 2d Semi-Lagrangian fluid solver for TouchDesigner. It features vorticity confinement, temperature, buoyancy, and obstacles.

The repo has a .toe project file and a .tox component file. The project file shows examples of impulses and obstacles: holding 1, 2, and 3 on the keyboard will add velocity, density, and temperature at the mouse position. The tox is just the core simulation component with inputs and outputs for the advection of velocity, density/temperature, and RGBA color fields.

I have added the shaders as separate files for easy editing and versioning, though they are not required to run either the .toe or .tox.

touchFluid is a key component in my Masters thesis project for the Media Arts & Technology program at the University of California Santa Barbara.

This was originally written in CUDA. That repo was forked and can be found here: touchFluidCUDA.

References

  1. Jos Stam, Stable Fluids.
  2. Ronald Fedikw, Jos Stam, and Henrik Wann Jensen, Visual Simulation of Smoke.
  3. Mark Harris, Fast Fluid Dynamics Simulation on the GPU.
  4. Philip Rideout, Simple Fluid Simulation.

Licensing

touchFluid code is released under the MIT License.

探索相关项目

加载中…