db&w documentation wiki

finest software | finest docs

User Tools

Site Tools


tools:bool_compare

This is an old revision of the document!


Boolean Comparison (preliminary)

This node compares to values using various different operators and returns the result as a true/false value.

User Interface controls

Pass-through

If the Boolean input is connected, this control is available. When enabled, the node will not perform any computations, the Boolean input will be passed directly to the Boolean output.

Value A =

This determines the source for the first value to be used in the comparison.

The options are:

  • Integer A An integer value. This can either be defined by the Integer A input on the node, or the Input A control within the user interface.
  • Scalar A An scalar (float) value. This can either be defined by the Scalar A input on the node, or the Scalar A control within the user interface. It can also be animated
  • Vector A.x The first component of the vector connected to the Vector A input.
  • Vector A.y The second component of the vector connected to the Vector A input.
  • Vector A.z The third component of the vector connected to the Vector A input.
  • Length of Vector A The length of the vector connected to the Vector A input.

Value B =

This determines the source for the second value to be used in the comparison. The options are identical to the ones for Value A.

Result =

This pop-up defines the operator to be used for the comparison:

  • A = B returns true if A is equal to B
  • A != B returns true if A is not equal to B
  • A >= B returns true of A is greater or equal than B
  • A > B returns true if A is greater than B
  • A ⇐ B returns true if A is smaller or equal to B
  • A < B returns true if A is small than B
  • A ~ B returns true if A is approximately equal to B - this should be used for scalar/vector comparisons only.
  • A !~ B returns true if A is approximately not equal to B - this should be used for scalar/vector comparisons only.
tools/bool_compare.1548173508.txt.gz · Last modified: 2019/01/22 17:11 by lightwolf