Transformation Gate Node
The Transformation Gate can be connected to several pegs, or any node that outputs a geometric transformation, and dynamically select which one of these nodes controls its child element. For example, it is possible to connect two pegs to the Transformation Gate, and have the first peg transform the child element of the Transformation Gate for the first half of the scene, then the second peg transform the child element for the second half of the scene.
The Transformation Gate is also able to make an interpolation between two of the input transformations, and apply this combined transformation to its child.
Connection
The Transformation-Gate can be connected to as many nodes that output as transformation, such as Pegs, Quadmaps or other Constraint nodes, as needed.
In the Node view, the colour of the input ports indicate which ports are active. The lightest input port is the target gate, which is the gate from which the transformation applied to the child element is sourced. The darkest input port is the default gate. The other ports are ignored.
If the Active parameter of the node is set to any value between 0 and 100, the shade difference between the target gate and default gate will fade. This indicates that the transformations going through the target gate and default gate are combined to create the transformation applied to the child element.
Optionally, a Transformation-Gate node can also be connected to a Constraint-Switch node, which can be used to multiply the Active parameter of the Transformation-Gate and override its Target Gate parameter.
Properties
Parameter | Description |
Active |
The percentage of the transformation sent to the target gate that is applied to the child element. If set to 100, only the transformation sent through the target gate will be applied. If set to 0, only the transformation sent through the default gate will be applied. If set to any value between 0 and 100, an interpolation of the transformations sent through the target gate and the default gate will be generated and applied to the child element. |
Local Target Gate |
The index of the input port referred to as the target gate. The input ports are numbered starting from 0. In the node view, they are ordered from right to left. Set this parameter to 0 to make the rightmost input port the target gate, to 1 to make the second rightmost port the target gate, etc. NOTE If the Transformation Gate is connected to a Constraint Switch, the Target Gate parameter of the Constraint Switch will override this value.
|
Default Gate |
The index of the input port referred to as the default gate. The input ports are numbered starting from 0. In the node view, they are ordered from right to left. Set this parameter to 0 to make the rightmost input port the target gate, to 1 to make the second rightmost port the target gate, etc. |