Arbitrary and Standard parameter connection
- October 28, 2022
- 1 reply
- 608 views
Thanks gods I sorted it out - how the Hue/Saturation works.
Video is attached.
So the sliders "Saturation" and "Lightness" just creating a key through USER_CHANGED_PARAM.
The keys added just to arbitrary param - "Channel Control".
After playing or randomly choosing frames on timeline you can see how arb param "Channel Control" is updating but not the sliders.
Sliders takes their updated values just on updating the whole Effects panel through UI_UPDATE hook.
Advantage of this approach is obvious - you can use the standard assets like sliders/color picker/checkbox....
Disadvantages are also clear - not interactive updates values and - more important for animation - inability to change or animate just one slider -- the key will be added for both ones. The one key for the whole arb data. And you are not able to freely change the Lightness, for example, if Saturation is already animated.
The way to solve that isues could be attempt to create the custom sliders in arb param scope and separate the animations. Like attach the different streams or so.... Not sure it is possible.
Is there any other ways/ideas?
