tuttleofx / TuttleOFX

Tuttle OFX is a library to connect and batch operations with OpenFx plugins. It comes with a set of plugins that allows you to batch process on movies and file sequences.
www.TuttleOFX.org
Other
177 stars 64 forks source link

Improve MathOperator parameters #317

Open mfe opened 10 years ago

mfe commented 10 years ago

Right now, it's not very clear that rgb / rgba modes are global modes relying on master value only.

Default values are not well set too. red_channel, green_channel, blue_channel, alpha_channel should be true only when a modif on them is wanted (see red, green, blue, alpha values).

Find a better way to handle all of this.

        operation                : Choice         
                    --> plus                
                     -  multiply            
                     -  pow                 
                     -  sqrt                
                     -  log                 
                     -  ln                  
          Operator selection mode.
    type                     : Choice         
                    --> rgba                
                     -  rgb                 
                     -  split               
          Operator selection mode.
    master                   : Double         1  [-1 --> 1]
    red                      : Double         1  [-1 --> 1]
    green                    : Double         1  [-1 --> 1]
    blue                     : Double         1  [-1 --> 1]
    alpha                    : Double         1  [-1 --> 1]
    red_channel              : Boolean        1
    green_channel            : Boolean        1
    blue_channel             : Boolean        1
    alpha_channel            : Boolean        1
fcastan commented 10 years ago

And add documentation to each param (and tooltip).