FansOfAll
Josef Pelz
Josef Pelz

patreon


T3D | Version 1.6

I'm excited to share with you T3D Version 1.6! There are some minor bug fixes, but most importantly, there are two new major components joining the T3D family: volumeT3D for volumetric rendering and sopToT3D to convert any geometry (SOP, GEO, FBX) into a T3D.

T3D | Version 1.6

Comments

Hello Youssef, The file is a .tox, so a component for TouchDesigner, not a .toe file which is a TouchDesigner project. You want to drag and drop the .tox file into a running TouchDesigner project (into the network editor)

Josef Pelz

Hi Josef! I just joined your Patreon. I tried your .tox file, but it doesn't work in the 2021.15800 version and the latest 2023.120000 version either. It shows me this error in loading "Error loading network. File may be truncated". Do I need another file or what? When it opens I have two bases, one "Perform" there is no network inside of it, and another "Local" with a small network. Any idea how to fix it? Thank you

Youssef El Idrissi

if u mean text dat for sdf glsl its: uniform vec4 uColor; uniform vec4 uBG; uniform mat4 mTransform; uniform float uPreMult; uniform float uSoftness; uniform int uOutput; uniform float uOffset; vec4 color = vec4(uColor.rgb*mix(1.0,uColor.a,uPreMult),uColor.a); vec4 bg = vec4(uBG.rgb*mix(1.0,uBG.a,uPreMult),uBG.a); ivec3 res = ivec3(uTDOutputInfo.res.zw,uTDOutputInfo.depth.y); layout (local_size_x = 8, local_size_y = 8, local_size_z = 8) in; void main() { if (step(gl_GlobalInvocationID,res-1.0)!=vec3(1.0)){return;} vec3 uv = (gl_GlobalInvocationID+0.5)/vec3(res); vec4 UV = mTransform*vec4(uv-0.5,1.0); uv = UV.xyz/UV.w; vec4 c = vec4(SDF(uv)-uOffset); if(uOutput==1){ c = mix(bg,color,smoothstep(-uSoftness,uSoftness,-c.x)); } imageStore(mTDComputeOutputs[0], ivec3(gl_GlobalInvocationID), c); } also i have kinda same error for glsl multi (inside composite comp), its 'ERROR: /project1/sdf1/composite1/prefit:1: 'prefit' : function already has a body'

lich1257

What touch version are you using?

Josef Pelz

Hi! Josef, I have just joined your membership for T3D! But when I drag T3D into TD, there are several errors in GLSL TOP: "ERROR: /project1/add1/prefit:1: 'prefit' : function already has a body ERROR: 1 compilation errors. No code generated." Do you have any idea what is going on here?

陆晨 席

Hey, Increasing T3D‘s resolution will result in higher quality renders at the cost of performance. You can use the optimizations parameters of the volumeT3d to increase the performance again. Depending on your scene and viewing angle, you could consider to reduce the z resolution of T3D (e.g. for relatively flat scenes)

Josef Pelz

hi josef! Do you have a recommendation on how to best export the renders? What resolution do you recommend for t3D and render? I am using a vertical format where I have 96x256x256 in t3d and 1080x1920 in render, does it help me to continue raising the resolution in t3d? My PC is having a hard time now but I could use the one from the studio which is better, greetings!

Bruno Tripodi

Can you post the text from the fat that you’re using for the SDF?

Josef Pelz

hi! i have an issue with sdf like this (im trying to bring my shadertoy model and there i have no errors). also its not matter what version of plugin i use :( (ERROR: /project1/SDF1:6: 'SDF' : function already has a body)

lich1257

You want your input T3D to be smooth. Either by using for example the softness parameters on something like the sphereT3D or by blurring the input with a blurT3D. Ideally you use a pixel format with at least 16 bit. On the surface itself you want the threshold parameter to have a reasonable value (not =0 or =1 in most cases)

Josef Pelz

hi. volumes are really fantastic, a dream coming true! thanks but I have to ask you about surface, because i'm really unable to achieve a smooth form in any way. It's alway voxely. may you please explain an example like reaction diffusion what pixel format you use to set? or whats the trick. thanks a lot

vento


More Creators