[Cin] ChromakeyHSV menu much improved

Georgy Salnikov sge at nmr.nioch.nsc.ru
Mon Jun 10 19:21:19 CEST 2024


On Sun, 9 Jun 2024, Andrea paz wrote:

> The patch works perfectly, as always with your work. The two plugins

Here is another patch to Chroma key (Avid) to be applied after the first
one.

I noticed that the button 'Reset' at the bottom of the plugin's dialog looks
lonely, and added four more buttons to it: Store, Recall, Exchange, Undo.
All buttons work globally on the whole parameter set. They work as follows
(similarly to a pocket calculator):

Store: stores the complete current parameter set in memory.
Recall: sets all the parameters to the values, memorized previously by 'Store'.
Exchange: swaps current values and Store'd values of the parameters.
Undo: restores all the parameters to the undo'ed values.
Reset: reset to default values, as earlier.

Each time the ChromaKey dialog is opened, the 'Store' values are cleared and
reset to default. Therefore, if you press 'Recall' having not pressed
'Store' beforehand, it will do the same as 'Reset'. Each time the dialog is
closed, the 'Store' values are forgotten (reset to defaults). As long as the
dialog remains opened, 'Store' values remain intact, even if the current
timeline position changes.

The operations on distinct parameters (turning sliders etc.) do not update
the 'Undo' values. The following operations update values for subsequent
'Undo':

Global Recall, Exchange, Reset buttons (but not the buttons.which reset
individual parameters).
Opening the dialog.
Moving current position in the timeline.

The information and the patch are uploaded to the same BT 662.

Now I invite to test these new toys:)
_______________________________________________________________________________

Georgy Salnikov
NMR Group
Novosibirsk Institute of Organic Chemistry
Lavrentjeva, 9, 630090 Novosibirsk, Russia
Phone   +7-383-3307864
Email   sge at nmr.nioch.nsc.ru
_______________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cgg-avid2.diff.gz
Type: application/octet-stream
Size: 3910 bytes
Desc: 
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240611/fc45a3c3/attachment.obj>


More information about the Cin mailing list