Length to Scalar

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
Length to Scalar
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:


Node Network view using the output from the Length to scalar to displace the surface terrain.
Node Network view using the output from the Length to scalar to displace the surface terrain.
Render showing the displacement caused by the value of the Length to scalar node.
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.