Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Simple GPU Cloth Sim

Helpful techniques for working with TouchDesigner. Answers only, no questions.

Re: Simple GPU Cloth Sim

Postby greenpattern » Sun Jun 24, 2018 1:00 pm

Have I overstepped on some VIP conversation here?
Would be cool if more than 5 people can operate this patch.
Do you need commercial version to run this?
We could watch so many tutorials whereas, fiddling with this insane patch is a bit more straight to the point I find personally. And its most beautiful thing I ever saw done in Touchdesigner so far , not kidding. If its top secret info , I can understand, no worries.
User avatar
greenpattern
 
Posts: 228
Joined: Tue Dec 01, 2015 3:05 pm
Location: Edinburgh Scotland, but I'm french

Re: Simple GPU Cloth Sim

Postby vinz99 » Sun Jun 24, 2018 10:32 pm

Salut,

This file was originally created in 2010 with TD077, so probably needs a little update ;)
I'd recommend looking into upgrading the shaders from glsl 1.2 to 3.3 and see how that goes.
Appears to work fine with TD088 if you want to play with it.

Cheers
vinz99
 
Posts: 372
Joined: Wed Apr 15, 2009 10:34 am

Re: Simple GPU Cloth Sim

Postby greenpattern » Mon Jun 25, 2018 8:56 am

Salut Vincent. felicitations

Glad someone's alive here.
Ok no quick fix for this one, I see.
On day touch designer will totally fusion with GLSL I'm sure of that.
for the moment buffers and opening ports is a bit messy for me specially without good example.
David made a cool example with 4 buffers shader toys, we need more like that.

Ok I will take look at things from glsl1.2 to 3.3 thx for tips. good luck
User avatar
greenpattern
 
Posts: 228
Joined: Tue Dec 01, 2015 3:05 pm
Location: Edinburgh Scotland, but I'm french

Re: Simple GPU Cloth Sim

Postby timgerritsen » Mon Jun 25, 2018 3:49 pm

Amazing work vincent!! (8 years ago :D)
I've updated the renderer a bit so it works in 099 as well.

Cheers,
Tim
Attachments
gpucloth.tox
(12.33 KiB) Downloaded 228 times
timgerritsen
 
Posts: 67
Joined: Sun Jan 24, 2016 6:57 am

Re: Simple GPU Cloth Sim

Postby greenpattern » Tue Jun 26, 2018 2:26 pm

Tim u rock! I was hitting my head against screen here thinking, shit if it was incompatibility due to differences between glsl1.2 and 3 would it not show up in ''info'' that sort or thing.
What did you do to get it to work?
User avatar
greenpattern
 
Posts: 228
Joined: Tue Dec 01, 2015 3:05 pm
Location: Edinburgh Scotland, but I'm french

Re: Simple GPU Cloth Sim

Postby timgerritsen » Tue Jun 26, 2018 7:48 pm

it looked like the render shader was based on an old phong shader of touchdesigner (not sure, before my time :)). So I exported a new phong shader and copy/pasted the parts that they renewed (TDLightning, matrices, etc.)

If you want, you can also copy/paste the cloth specific code to an exported PBR material, to make it even more funky :D
timgerritsen
 
Posts: 67
Joined: Sun Jan 24, 2016 6:57 am

Previous

Return to Techniques

Who is online

Users browsing this forum: No registered users and 3 guests