db&w documentation wiki

finest software | finest docs

Site Tools


tools:multiswitcher

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:multiswitcher [2019/04/21 15:39] lightwolftools:multiswitcher [2019/04/30 11:31] (current) lightwolf
Line 1: Line 1:
-====== Scalar/Vector/Material Multi-Switcher (WiP) ======+====== Scalar/Vector/Material Multi-Switcher ======
  
 The Multi-Switcher nodes allow for switching between multiple inputs depending on an index value. The Multi-Switcher nodes allow for switching between multiple inputs depending on an index value.
 +
 +You can add as many inputs as you'd like to by connecting outputs to the **new** input. The name of the created input is the same as the input it's been connected to.
 +
 +While there are only three nodes for different connection types, they are compatible with other connection types as well.
 +
 +The Scalar node can also be used for integer connections.
 +
 +The Vector node can also be used for colour connections.
 +
 +{{:tools:multi-switcher_gui.png|}}
  
 ===== Controls ===== ===== Controls =====
Line 25: Line 35:
  
   * **Blank** The output will be blank.   * **Blank** The output will be blank.
-  * **Repeat** The list of images will be repeated  +  * **Repeat** The input index will be repeated  
-  * **Mirror** The list of images will be mirrored +  * **Mirror** The input index will be mirrored 
-  * **Hold** The first image in the list will be used+  * **Hold** The first or last input will be used
 ==== Post Behaviour ==== ==== Post Behaviour ====
  
-This defines how the index is interpreted if it's above 1 or above the number of images in the list (Depending on the **Relative**/**Absolute** switch).+This defines how the index is interpreted if it's above 1 or above the number of inputs (Depending on the **Relative**/**Absolute** switch).
  
   * **Blank** The output will be blank.   * **Blank** The output will be blank.
-  * **Repeat** The list of images will be repeated  +  * **Repeat** The input index will be repeated  
-  * **Mirror** The list of images will be mirrored +  * **Mirror** The input index will be mirrored 
-  * **Hold** The last image in the list will be used+  * **Hold** The first or last input will be used 
 + 
 +===== Known Issues ===== 
 + 
 +Renaming an input will not show the change in the node editor until you click in the node editor to force a refresh. This is an issue with LW that's also present in native nodes, such as the Compound Node. 
 + 
 +---- 
 +We'd like to thank Antti Järvelä from the LightWave 3D development team for helping with the code to mix materials.
  
  
 +[[https://www.patreon.com/dbw|{{  ::become_a_patron_button.png?nolink|}}]]
 +This is the plugin of the month for April 2019, made possible by the finest patrons on [[https://www.patreon.com/dbw|Patreon]].
tools/multiswitcher.txt · Last modified: 2019/04/30 11:31 by lightwolf