Это видео недоступно.
Сожалеем об этом.
Easy Optimization Tricks in TouchDesigner - Tutorial
HTML-код
- Опубликовано: 3 окт 2021
- Get access to 200+ hours of TouchDesigner video training, a private Facebook group where Elburz and Matthew Ragan answer all your questions, and twice-monthly group coaching/mastermind calls here: iihq.tv/Trial
If you’re a TouchDesigner Beginner, check out our TouchDesigner Tutorial Series! We teach you all the basics of how to use TouchDesigner, including mouse controls, hotkeys, parameters, the operator families, and more: interactiveimm...
Optimization can be challenging for many TouchDesigner developers, but it doesn't always have to be. There are some easy tricks and techniques you can keep in your back pocket that will help you get a higher FPS out of your project without too much heavy lifting.
More TouchDesigner tips and tricks: interactiveimm...
Working on a huge project, i was desperate until i viewed this. THANK YOU SO MUCH
Really glad to hear it! Thanks for watching :)
the f-string thing at the end was gold!
Those are possibly my favourite new Python feature!! So easy to make strings quickly!
Ah wish I knew that thing about the switch last week! Great video thanks
The last optimization tip is a gem! Hopefully this functionality will be builtin in TD someday.
i do this just by changing my null to "selective" type of cooking . i don´t know if it is the same result though
@@andresactis7435 Came here to say this. It should have the exact same result
Thanks! It's a nice one to keep in the back pocket!
@@spencersterling1565 You could use selective cooking, but often times I find if I can be in control of a specific process, I prefer that to relying too much on behind-the-scenes magic. Both could work but I've never been a huge fan of Selective Cooking, although a few of my peers swear by it :)
Can we get some more network/project optimization videos?
amazing- you saved my career literally
Glad to hear it was helpful :)
Hi, if I want to have a slider in my project, that makes my texture very blurry, how would I do this to make it smooth and efficient? Pre shrink goes up in steps, so that makes it not smooth. :)
Unfortunately, the pre-shrink parameter can't be adjusted smoothly, so an option here would be to crossfade between an unfiltered and a blurred version of the texture. Hope that helps!
amazing
Thanks!
Having a bit of problems in setting the script up, it should work on mac as well right?
Is that the Python script at around 11 minutes? That one should work, if you're having issues double check everything is typed in exactly as my example although you might need to change your operator names based on your project. What kind of error are you seeing printed in the textport?
I tried out the very helpful trick with the switchchop for a network with multiple heavy scenes inside comps. Sadly they still seem to render everything despite the cables not appearing to cook... I have the viewers turned off but in the performance monitor they still take up a lot of ressources. Any ideas? Thanks for your content!
Edit: to be more exact I'd need a way to completely turn off a comp using a midi controller while in perform mode...
It's possible to turn off a COMP's Cooking flag with Python via op('COMP Name').allowCooking = False, but you'll likely see frame drops whenever you start or stop cooking, so this is generally not a recommended technique.
One important thing to consider is that different types of content might require a slightly different approach to optimization. Is the content found within the COMPs mostly 3D renders, 2D or both? Are you playing back videos?
A reference worth checking out is the sceneChanger component which you can find in the Palette -> Tools, which accomplishes a similar outcome and is optimized for high performance.
@@TheInteractiveImmersiveHQ very useful insights, thank you so much!!
good stuff here!!
Thanks for watching :)
so wait you tellin me every touchdesigner is some kind of chef cause we cookin stuff? woah, awesome
Nailed it!
The switch top doest stop unused inputs from cooking. Does anyone know that i do wrong?
This can happen when the viewer for the operators connected to the unused input are turned on. If you click the “Viewer” button in the top left of those nodes, they should then stop cooking. Hope that helps!
@@TheInteractiveImmersiveHQ Oh my god I thought I was going insane. I was doing exactly what you were doing with the switch and it looked for all the world like all inputs were still cooking until I saw this comment and turned off the viewers. Thank you!!!!
hey mate, can you please copy your simple code here, I would really much appreciate it, as vj suffering with cooking.
Do you mean the code that is in the last trick? If so, you can put the code from the comment below into the valueChange function:
update_op = op('constant3').par
target_param = f'value{int(channel.index)}'
setattr(update_op, target_param, val)
@@TheInteractiveImmersiveHQ This is great! Is there an easy way to copy the channel names as well?
update_op = op('constantOSC').par
target_param = f'value{int(channel.index)}'
target_name = f'name{int(channel.index)}'
setattr(update_op, target_param, val)
setattr(update_op, target_name, channel.name)
@@sildereuver If you plug your CHOP into a Constant CHOP and then in the parameters of the Constant CHOP there's a button called Snap which will copy all the inputs to the Constant CHOP including the names of the channels.