Hi Guys,
I need a little python help here.
here is what i want to do.
id like to have a button that could scroll through some preset rgb values in lets say a dat. then id like to take those values and apply them to a constant. ive tried to figure this out but am getting lost
here’s a different a bit more general solution which could be useful. This one is using the available Presets component in Palette.
- create a Base comp, rightclick, Customize Component, add a new Custom parameter page “Colors” and add two custom parameters, both type RGB.
- Zoom into your Base Comp, and now drag the Presets component from palette here.(it’s under Techniques)
- On the Presets COMP, go to parameter page “Setup” and Pulse the “Initialize” button.
- zoom out from your Base COMP and see two new custom parameter pages, one Colors and one Presets.
- set colors, save them as presets, and recall them.
example attached.
custom_parameters_presets.toe (24.1 KB)
sounds great but i need to be able to bank through this with one click from a controller that has no mouse function
here’s an extension with a button, every click it goes to the next preset.
How does it work:
-everytime the button is clicked, one is added to the number in the count CHOP,
-The count CHOP reads the number of presets, and limits its maximum to that
-The current preset is set to the list of all possible presets, with the current number in the count chop as indicator which item in that list we want
-when the number in the count CHP changes, that triggers the CHOP execute DAT, which pulses the recallpreset button.
custom_parameters_presets-buttonlooppresets.toe (25.7 KB)