Abs Colour: Difference between revisions
Jump to navigation
Jump to search
jrfconvert import |
No edit summary |
||
| Line 4: | Line 4: | ||
[[Image:drex_module_63_image_0.png|485pxpx|Abs Colour]] | [[Image:drex_module_63_image_0.png|485pxpx|Abs Colour]] | ||
__NOTOC__ | __NOTOC__ | ||
'''Node Description & Purpose:''' | |||
The Abs family of nodes allow you to find the absolute value of the colour/scalar/vector coming into the Input. The absolute value of a number is its value regardless of whether it is positive or negative. In practice, this means the absolute value is always a positive number. For example: | |||
The absolute value of 4 is 4 | |||
The absolute value -2 is 2 | |||
The absolute value of 0 is 0 | |||
This function works in a component-wise fashion for colours and vectors, so using vectors as an example : | |||
( 2.1, -6, 4 ) becomes ( 2.1, 6, 4 ) | |||
( -10, -3, -2 ) becomes ( 10, 3, 2 ) | |||
'''Node Type:''' Function | |||
'''Settings:''' | |||
This node has no other settings apart from the Input node. | |||
Revision as of 03:44, 11 July 2010
Abs Colour
Node Description & Purpose:
The Abs family of nodes allow you to find the absolute value of the colour/scalar/vector coming into the Input. The absolute value of a number is its value regardless of whether it is positive or negative. In practice, this means the absolute value is always a positive number. For example:
The absolute value of 4 is 4 The absolute value -2 is 2 The absolute value of 0 is 0
This function works in a component-wise fashion for colours and vectors, so using vectors as an example :
( 2.1, -6, 4 ) becomes ( 2.1, 6, 4 ) ( -10, -3, -2 ) becomes ( 10, 3, 2 )
Node Type: Function
Settings: This node has no other settings apart from the Input node.
