Switch Cameras with different buttons

Hello everyone
I have this idea for my A/V performance to switch my camera view immedietlty by buttons

Here I have 3 button toggle downs on midi or 3 keyboardIn Chops

what I want is merge this 3 chops channels to one OP(null_cam) with one channel to do this :

when I press key 1 on my keyboard the chop null_cam channel be 1
pressing key 2 the chop null_cam be 2

key 3 —> 3

in render Top on camera parameter I want to write some script like this maybe??? =‘cam’ + op(‘nul_cam’)[‘chan1’]

I don’ know how to merge the channels , I thought about logic chops but it didn’t help!!

Any idea how can I merge the buttons to one channel?

Q by sorooush khazaei

You can approach this a number of different ways -

Scripting

You can change the path to your camera by changing the camera par with a chop execute script - when you click your button it would swap the path with a bit of python.

CamerBlend COMP

The camera blend COMP can be used to blend between different cameras smoothly, or with hard cuts. That approach could be accomplished with just ops.

2 Likes

Thank you so much cameraBlend was a great solution for my project. and I should work more on my python to script out what I want to do in this situation!