Hi, I’m extremely new to Touch Designer (using it for projection mapping) and I’ve been watching tutorials but I was wondering if there’s a way to make it so that a button changes the video input between cameras?
Do you just want to switch between inputs? Here’s a basic example using a Movie File In Top and a Video Device In Top. The non-obvious part is the Python expression in the Switch Top:
op('button1').panel.state. That toggles between 0 and 1 depending on the state of the button, and so it selects the 0th or 1st input. If you wanted to switch between several movies, you could use a Slider Comp instead.
button_switch.toe (4.1 KB)
Hello, Yes it would be possible but we need more informations about your settings, which cameras? which video interface? The easiest way would be to use a switch Top linked to your button and choosing between the two camera signals.