Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Optimization for multi-layered compositions

Still a little green? Ask your beginner's questions here

Optimization for multi-layered compositions

Postby mhzareei » Tue Jan 23, 2018 6:06 pm

Hello, I'm just wondering if there is an easy way to have a network of multiple Bases, and have only one of them "enabled" at a time? Say, like in a given VJ setup, your overall network/composition is divided into sub-networks/compositions, each of which have their own network of CHOPs and TOPS and can output a TOP. Also imagine that at the root layer, using a select TOP, you can decide which sub-composition to send to your output. My understanding is that all the rendering/CPU-dependant/GPU occupying processes inside the other sub-Bases (which are not enabled or sent to the output at a given time) will keep going, leading to GPU and/or GPU bottlenecks. Is that correct? If that's the case, is there a way, to only have one base at a time "turned on" to save CPU and GPU?
Thank you for your help.
mhzareei
 
Posts: 12
Joined: Wed Dec 13, 2017 4:59 pm

Re: Optimization for multi-layered compositions

Postby nettoyeur » Tue Jan 23, 2018 9:19 pm

That is incorrect. Touchdesigner is a pull-based system, which means only the nodes cook which contribute to the current output, or whos output you are currently watching. A common misconception with cooking in TouchDesigner is that cooking starts upstream and moves downstream, but this is not the case.

So if you're using a Switch TOP or Select TOP, you're also shutting down all parts of the network whos output is not requested at this time. Watch the green lines between the nodes, when they animate they're cooking.

Read wiki page What Causes Cooking
Idzard Kwadijk | freelance TouchDesigner consultant | LinkedIn
Checkout ChopChopChop.org - the TouchDesigner marketplace!
nettoyeur
 
Posts: 919
Joined: Mon Oct 15, 2012 12:00 pm
Location: Amsterdam, The Netherlands

Re: Optimization for multi-layered compositions

Postby mhzareei » Wed Jan 24, 2018 5:01 pm

Oh great! Thanks for the information. That's great to know. Much appreciated!
mhzareei
 
Posts: 12
Joined: Wed Dec 13, 2017 4:59 pm

Re: Optimization for multi-layered compositions

Postby elburz » Thu Jan 25, 2018 1:52 pm

Make sure the blending button is off on Switch TOPs btw, otherwise they will still cook all inputs. Only a hard switch doesn't cook non-visible ops. One trick is to script the on state of the blending button as you need to transition between scenes, and then turn it off once the transition is over.
--
Elburz Sorkhabi
Creative + Technology
nVoid Art-Tech Limited
http://nvoid.com
elburz
 
Posts: 1994
Joined: Fri Jun 01, 2012 6:55 pm
Location: Toronto, Canada


Return to Beginners

Who is online

Users browsing this forum: No registered users and 8 guests