Using a Switch TOP to have different transition styles?

Hi, I’m new to Touchdesigner, but I’ve played around with it for a few hours and got the basics down.
In one of my projects, I used a black-and-white video to mask out a transition between two Movie File In TOPS using Comps, Chroma Keys, Levels, and Over TOPS. It worked for a bit, but when I tried different methods to use it repeatedly, it swallowed up most of my GPU power.
Instead, I’ve been using the Switch TOP to do a simple cross-fade transition between TOPS, and it works fine, but I want more.
Is there a way to do a similar transition effect to the Switch TOP but with more complex effects, preferably one that doesn’t use up most of my GPU power?

Hi @Mijjy,

usually it’s about optimizing your networks - one thing when you describe using masks - have a look at the Matte TOP - maybe that operator already can simplify things a bit.

For more information on how operators work, make sure to check the OP Snippets - very useful tricks and techniques hiding in there.

cheers
Markus

Your post and a little free time inspired me to make a shader that will take a third input as a modulation map, allowing you to quickly create wipes and more complex crossfades by exploiting the built-in TOPs like Noise and Ramp. Here’s a tox with example maps:

base_map_modulated_mix.tox (22.6 KB)

1 Like