Viz Artist
Version 3.10 | Published May 03, 2018 ©
Control Parameter
The Control Parameter plug-in works with function plug-ins, and is a very flexible plug-in that can be used to control properties that are not exposed in a specific plug-in, and requires some knowledge in the Viz Artist command language. The parameter to control must be identified by its command path relative to the container the plug-in is located at. To find the correct command path, open the Show Commands window (button in the lower left corner in Viz Artist) and make changes to the parameter to control. The command path will then be shown among the commands. For instance if the value to be changed is the alpha value in an alpha editor the command window will show the following:
receive <-
1
SCENE*noname*TREE*#
805
*ALPHA*ALPHA SET
99.0
>
#805 is the internal name for the container and the part needed to expose the alpha parameter (ALPHA * ALPHA). The SET part is added by the plug-in. To expose the alpha parameter for a container write ALPHA * ALPHA in the Parameter section in the plug-in and then set the correct data type which in this case is “Float”.
Another example would be to use Control Parameter to expose and control additional values like controlling both Pie Max and Max Value. These parameters are dependent on each other, but both values are not exposed unless the Control Parameter is used. Adjusting the Pie Max value gives the following:
receive <
5679
SCENE*noname*TREE*#
378
*FUNCTION*PieValues*DATA GET>
In this case the FUNCTION*PieValues*DATA is the parameter that will expose the object property Pie Max such that it can be controlled through a template.
Note: This plug-in is located in: Built Ins -> Container plug-ins -> Control
This section contains information on the following topics:
Control Parameter Properties
-
Parameter: Sets the parameter path to the property to enable control for.
-
Input Value: Shows the current input value
-
Data Type: Sets correct data type depending on the type of parameter to enable control for.
-
Normalize: Enables normalization options, to normalize the input range for the Viz Trio user.
-
Minimum Input: Sets the minimum allowed input value.
-
Maximum Input: Sets the maximum allowed input value.
-
Minimum Value: Sets the minimum value, which will be set relative to the minimum input value.
-
Maximum Value: Sets the maximum value, which will be set relative to the maximum input value.
-
Prefix: Adds a prefix to all values that are sent to the renderer. This can be used to show specific text or it can be used to add a path to an object pool for instance.
-
Control Parent: When enabled, the parent container is controlled instead.
See Also