db&w documentation wiki

finest software | finest docs

User Tools

Site Tools


tools:multiswitcher

This is an old revision of the document!


Scalar/Vector/Material Multi-Switcher (WiP)

The Multi-Switcher nodes allow for switching between multiple inputs depending on an index value.

Controls

Index

This defines which of the inputs is being used to compute the output. Usually the index is driven by a value connected to the nodal index input.

Interpolate

If enabled, indices that result in a value between two inputs will not pick the first respective input, but interpolate between this and the next input value.

Relative / Absolute

This defines how the Index is interpreted.

  • Relative The index should be between 0.0 and 1.0 which will correspond to the start and the end of the inputs. This is irrespective of the amount of inputs.
  • Absolute The index number will be taken as is. I.e. if the index number is 5, the 6th input will be used (this is because the index is 0 based. I.e. is the index is 0, the first input is used).

Pre Behaviour

This defines how the index is interpreted if it's below zero.

  • Blank The output will be blank.
  • Repeat The list of images will be repeated
  • Mirror The list of images will be mirrored
  • Hold The first image in the list will be used

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).

  • Blank The output will be blank.
  • Repeat The list of images will be repeated
  • Mirror The list of images will be mirrored
  • Hold The last image in the list will be used
tools/multiswitcher.1555853996.txt.gz · Last modified: by lightwolf