Length to Scalar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m Added example images. |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div style="float:right; border-style:solid; padding:20px"><categorytree mode=pages hideroot=off>Convert</categorytree></div> | |||
= | |||
[[ | [[File:Length2Scalar_00_GUI.png|none|470px|Length to Scalar]] | ||
==Overview== | |||
< | The Length to scalar node calculates the length, or magnitude, of the Input vector and then outputs the length as a scalar. The length is calculated using the following formula: | ||
<ul> | |||
scalar becomes square root of( vector.x x vector.x + vector.y x vector.y + vector.z x vector.z ) | |||
</ul> | |||
{| | |||
|- | |||
| [[File:Length2Scalar_01_NodeNetwork.jpg|none|800px|Node Network view using the output from the Length to scalar to displace the surface terrain.]] | |||
|- | |||
| [[File:Length2Scalar_02_Render.jpg|none|800px|Render showing the displacement caused by the value of the Length to scalar node.]] | |||
|} | |||
This node has no other settings apart from the Input node. | |||
'''Settings:''' | |||
*'''Name:''' This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Length to Scalar nodes in a project. | |||
*'''Enable:''' When checked, the node is active and the conversion operation will take place. When unchecked the values assigned to its Main Input, if any, are passed through, otherwise a value of 0 is passed through. | |||
<br /n> | |||
[[Category:Convert]] | |||
Latest revision as of 22:30, 18 March 2022

Overview
The Length to scalar node calculates the length, or magnitude, of the Input vector and then outputs the length as a scalar. The length is calculated using the following formula:
![]() |
This node has no other settings apart from the Input node.
Settings:
- Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Length to Scalar nodes in a project.
- Enable: When checked, the node is active and the conversion operation will take place. When unchecked the values assigned to its Main Input, if any, are passed through, otherwise a value of 0 is passed through.

