YOUR ACCOUNT

Remapper (Color Control to Angle)

This remapper belongs to an obsolete component and its use in filters is not recommended. Use the recent version of the component.

This remapper lets you specify how the Color control affects the target angle input. The remapper is visible only when Use Remapping is turned on in the properties of the Color control component. For more information on how remapping works, see Remappers.

The remapper works as follows. First, it performs a linear interpolation between its Minimum and Maximum angles, where the interpolation coefficient is defined by the grayscale level of the color provided by the Color control (the grayscale level is calculated by averaging its R, G and B channels). Then the remapper adds the value of its Offset parameter to the result of the interpolation. If the resulting angle is greater than 360 degrees, it is 'wrapped' back into the range of 0 to 360. After that, the result is sent to the target angle input.

This remapper always has a connection warning displayed near it – this is because controlling angle inputs with Color components produces non-intuitive filter controls and therefore is not recommended. Select the Connection Warning in the Filter Editor to see which control component would be more suitable for this situation.

Minimum and Maximum

These parameters define the range of values for the target angle input. Note that the resulting target value can exceed this range due to the addition of Offset, so if you need to keep the target angle strictly within the specified range, use the Offset of 0.

Offset

Defines the angle offset. Offset is added to the resulting value of the remapper after it was calculated using the Minimum and Maximum values. If the result exceeds 360 degrees, it is 'wrapped' back into the range of 0 to 360. Offset is useful for controlling multiple angle inputs simultaneously – see the CrossBlur filter included with Filter Forge.