Mask Switch [RvTools]:
The Mask Switch [RvTools] node is designed to facilitate the dynamic selection between two mask inputs based on a specified condition. This node is particularly useful in scenarios where you need to toggle between different mask layers or configurations during the creative process. By providing a simple mechanism to switch between two inputs, it enhances flexibility and control over the mask application, allowing you to experiment with different visual outcomes without manually adjusting the inputs each time. This capability is essential for AI artists who wish to streamline their workflow and focus on the creative aspects of their projects.
Mask Switch [RvTools] Input Parameters:
Input
The Input parameter is an integer that determines which mask input will be selected and returned by the node. It accepts values of either 1 or 2, with a default value of 1. When set to 1, the node outputs the first mask input (input1), and when set to 2, it outputs the second mask input (input2). This parameter is crucial for controlling the node's behavior and allows you to easily switch between different mask configurations.
input1
The input1 parameter is an optional mask input that the node can select based on the Input parameter. It is a required input when the Input parameter is set to 1, meaning that the node will output this mask if selected. This parameter allows you to provide the first mask option for the node to choose from.
input2
The input2 parameter is another optional mask input that the node can select based on the Input parameter. It is a required input when the Input parameter is set to 2, meaning that the node will output this mask if selected. This parameter allows you to provide the second mask option for the node to choose from.
Mask Switch [RvTools] Output Parameters:
mask
The mask output parameter is the result of the node's execution, which is the selected mask based on the Input parameter. This output is crucial as it determines the mask that will be used in subsequent processes or nodes. The ability to dynamically switch between masks allows for greater flexibility and experimentation in your creative workflow.
Mask Switch [RvTools] Usage Tips:
- Use the
Inputparameter to quickly toggle between different mask configurations, allowing you to compare and contrast their effects without manually changing inputs. - Ensure that both
input1andinput2are properly configured and available, as the node requires these inputs to function correctly when selected.
Mask Switch [RvTools] Common Errors and Solutions:
Missing input1 or input2
- Explanation: This error occurs when the node is set to select a mask input that has not been provided.
- Solution: Ensure that both
input1andinput2are connected and available for selection based on theInputparameter.
Invalid Input value
- Explanation: This error arises when the
Inputparameter is set to a value outside the allowed range of 1 or 2. - Solution: Adjust the
Inputparameter to either 1 or 2 to ensure the node functions correctly.
