Загрузка видео...

Не удалось загрузить видео

На главную

We built a realtime GPGPU cloth solver in Three.js + TSL. Then we fed it letters and cranked the pressure up. Now it's a balloon simulator 🎈🎈

21,268 просмотров • 15 дней назад •via X (Twitter)

Комментарии: 16

Фото профиля Shader Development Studio
Shader Development Studio15 дней назад

Fonts make terrible sim meshes, so we don't use them. Text -> SDF -> marching cubes -> isotropic remesh. Out comes a closed, evenly triangulated shell per letter. Every vertex is a particle, every edge an XPBD distance constraint. All of it lives in GPU storage buffers.

Фото профиля Shader Development Studio
Shader Development Studio15 дней назад

Each frame runs a couple of compute passes: integrate -> distance constraints -> pressure + per-letter volume constraint (that's what makes it a balloon, not a sock) -> spatial-hash collisions -> strings. Nothing round-trips to the CPU.

Фото профиля Benny Schudel
Benny Schudel14 дней назад

@threejs Yummy 🎈

Фото профиля Sergio Caires
Sergio Caires15 дней назад

@threejs kewl!

Фото профиля Nandan Priyadarshi
Nandan Priyadarshi15 дней назад

Tried a cloth sim in three.js last year and blew the frame budget the moment I added text. Feeding letters into a GPGPU solver is the move I missed — keep the solver dumb, put the letters in as pressure. Balloon mode is the demo that actually explains the tech.

Фото профиля River Visual
River Visual14 дней назад

@threejs We made Hybrid Path Tracing Real-time in Web GL and Web GPU, lets connect!

Фото профиля Shader Development Studio
Shader Development Studio14 дней назад

@threejs Absolutely! Write a dm!

Фото профиля River Visual
River Visual14 дней назад

@threejs Actually we need follow each other to dm.

Фото профиля Shader Development Studio
Shader Development Studio14 дней назад

@threejs Followed

Фото профиля The Versions Music
The Versions Music15 дней назад

@threejs nice! ive been wanting a balloon font! where can i try it?

Фото профиля Brjan | AI Builder
Brjan | AI Builder15 дней назад

@threejs how does the cloth solver handle different materials or weights in the simulation?

Фото профиля Andrii Solokh
Andrii Solokh15 дней назад

@threejs Is it available to play with?

Фото профиля Shader Development Studio
Shader Development Studio15 дней назад

@threejs Soon! Working on a new version that is a more optimized and a bit cooler. Will release it later today probably

Фото профиля misterfalcon
misterfalcon15 дней назад

@threejs this is awesome. great work!

Фото профиля Shader Development Studio
Shader Development Studio14 дней назад

@threejs Thanks!!

Фото профиля Kimi Nguyen
Kimi Nguyen15 дней назад

@threejs a balloon simulator could open up fun possibilities for interactive experiences

Похожие видео