Difference between revisions of "Convert"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (link to subsections)
m
Line 1: Line 1:
 
Right-clicking on a value in the Parameters dialog brings up a context menu which has a sub-menu called "Convert".  The "Convert" menu allows you to specify that the parameter should be controlled automatically in various ways.  Depending on the type of the parameter the Convert menu will contain different options.
 
Right-clicking on a value in the Parameters dialog brings up a context menu which has a sub-menu called "Convert".  The "Convert" menu allows you to specify that the parameter should be controlled automatically in various ways.  Depending on the type of the parameter the Convert menu will contain different options.
  
Real values can be converted to [[Convert#linear|linear]], [[Convert#reference|reference]], [[Convert#scale|scale]], [[Convert#sine|sine]], and [[Convert#subtract|subtract]] types.
+
To convert the value back to its original type, select "Disconnect" from its context menu.
  
 
Angle values can be converted to [[Convert#linear|linear]], [[Convert#reference|reference]], [[Convert#scale|scale]], and [[Convert#subtract|subtract]] types.
 
Angle values can be converted to [[Convert#linear|linear]], [[Convert#reference|reference]], [[Convert#scale|scale]], and [[Convert#subtract|subtract]] types.
  
Integer values can be converted to [[Convert#reference|reference]], [[Convert#scale|scale]], and [[Convert#subtract|subtract]] types.
+
Bool values can only be converted to the [[Convert#reference|reference]] type.
  
 
Color values can be converted to [[Convert#composite|composite]], [[Convert#radial_composite|radial_composite]], [[Convert#reference|reference]], [[Convert#scale|scale]], and [[Convert#subtract|subtract]] types.
 
Color values can be converted to [[Convert#composite|composite]], [[Convert#radial_composite|radial_composite]], [[Convert#reference|reference]], [[Convert#scale|scale]], and [[Convert#subtract|subtract]] types.
  
== linear ==
+
Integer values can be converted to [[Convert#reference|reference]], [[Convert#scale|scale]], and [[Convert#subtract|subtract]] types.
  
Converting a parameter to be 'linear' adds two real-valued sub-parameters "Rate" and "Offset" for controlling the parameter's value.
+
Real values can be converted to [[Convert#linear|linear]], [[Convert#reference|reference]], [[Convert#scale|scale]], [[Convert#sine|sine]], and [[Convert#subtract|subtract]] types.
  
The parameter's value will change linearly over time, start with the value specified by "Offset" at time zero, and increasing by the value specified by "Rate" every second.
+
Vector values can be converted to [[Convert#composite|composite]], [[Convert#linear|linear]], [[Convert#radial_composite|radial_composite]], [[Convert#reference|reference]], [[Convert#scale|scale]], [[Convert#segcalctangent|segcalctangent]], [[Convert#segcalcvertex|segcalcvertex]], and [[Convert#subtract|subtract]] types.
  
 
== composite ==
 
== composite ==
  
 
Converting a parameter to "composite" adds four real-valued sub-parameters called "Red", "Green", "Blue", and "Alpha".
 
Converting a parameter to "composite" adds four real-valued sub-parameters called "Red", "Green", "Blue", and "Alpha".
 +
 +
== linear ==
 +
 +
Converting a parameter to be 'linear' adds two real-valued sub-parameters "Rate" and "Offset" for controlling the parameter's value.
 +
 +
The parameter's value will change linearly over time, start with the value specified by "Offset" at time zero, and increasing by the value specified by "Rate" every second.
  
 
== radial_composite ==
 
== radial_composite ==
Line 30: Line 36:
  
 
Converting a parameter to "scale" adds two real-valued sub-parameters called "Link" and "Scalar".
 
Converting a parameter to "scale" adds two real-valued sub-parameters called "Link" and "Scalar".
 +
 +
== segcalctangent ==
 +
 +
Converting a parameter to "segcalctangent" adds two sub-parameters called "Segment" and "Amount".  "Segment" is a composite type containing two vertices and two tangents.  "Amount" is a real value.
 +
 +
== segcalcvertex ==
 +
 +
Converting a parameter to "segcalcvertex" adds two sub-parameters called "Segment" and "Amount".  "Segment" is a composite type containing two vertices and two tangents.  "Amount" is a real value.
  
 
== sine ==
 
== sine ==

Revision as of 15:09, 5 September 2007

Languages Language: 

English • română


Right-clicking on a value in the Parameters dialog brings up a context menu which has a sub-menu called "Convert". The "Convert" menu allows you to specify that the parameter should be controlled automatically in various ways. Depending on the type of the parameter the Convert menu will contain different options.

To convert the value back to its original type, select "Disconnect" from its context menu.

Angle values can be converted to linear, reference, scale, and subtract types.

Bool values can only be converted to the reference type.

Color values can be converted to composite, radial_composite, reference, scale, and subtract types.

Integer values can be converted to reference, scale, and subtract types.

Real values can be converted to linear, reference, scale, sine, and subtract types.

Vector values can be converted to composite, linear, radial_composite, reference, scale, segcalctangent, segcalcvertex, and subtract types.

composite

Converting a parameter to "composite" adds four real-valued sub-parameters called "Red", "Green", "Blue", and "Alpha".

linear

Converting a parameter to be 'linear' adds two real-valued sub-parameters "Rate" and "Offset" for controlling the parameter's value.

The parameter's value will change linearly over time, start with the value specified by "Offset" at time zero, and increasing by the value specified by "Rate" every second.

radial_composite

Converting a parameter to "radial_composite" adds four sub-parameters called "Luma", "Saturation", "Hue", and "Alpha". "Hue" is an angle value and the other three are real values.

reference

Converting a parameter to "reference" adds a single real-valued sub-parameter called "Link".

scale

Converting a parameter to "scale" adds two real-valued sub-parameters called "Link" and "Scalar".

segcalctangent

Converting a parameter to "segcalctangent" adds two sub-parameters called "Segment" and "Amount". "Segment" is a composite type containing two vertices and two tangents. "Amount" is a real value.

segcalcvertex

Converting a parameter to "segcalcvertex" adds two sub-parameters called "Segment" and "Amount". "Segment" is a composite type containing two vertices and two tangents. "Amount" is a real value.

sine

Converting a parameter to "sine" adds two sub-parameters: a angle value called "Angle" and a real-valued value called "Amplitude".

subtract

Converting a parameter to "subtract" adds three real-valued sub-parameters called "LHS", "RHS", and "Scalar".


Languages Language: 

English • română