# Difference between revisions of "X to Scalar"

Line 1: | Line 1: | ||

− | |||

− | |||

− | |||

[[Image:drex_module_103_image_0.png|485pxpx|X to Scalar]] | [[Image:drex_module_103_image_0.png|485pxpx|X to Scalar]] | ||

'''Node Description & Purpose: '''<br /> The X/Y/Z to scalar nodes all take a vector as input and output the respective vector component as a scalar. For example, the X to scalar node will output the X value of the input vector.<br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> This node has no other settings apart from the Input node. | '''Node Description & Purpose: '''<br /> The X/Y/Z to scalar nodes all take a vector as input and output the respective vector component as a scalar. For example, the X to scalar node will output the X value of the input vector.<br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> This node has no other settings apart from the Input node. | ||

− | |||

<!-- imported from file: module_103.html--> | <!-- imported from file: module_103.html--> | ||

+ | |||

+ | [[Category:Convert| ]] |

## Revision as of 01:11, 18 May 2011

**Node Description & Purpose: **

The X/Y/Z to scalar nodes all take a vector as input and output the respective vector component as a scalar. For example, the X to scalar node will output the X value of the input vector.**Node Type: ** Function**Settings: **

This node has no other settings apart from the Input node.

A scalar is a single number. 1, 200.45, -45, -0.2 are all examples of scalar values.

A vector is a set of three scalars, normally representing X, Y and Z coordinates. It also commonly represents rotation, where the values are pitch, heading and bank.

A single object or device in the node network which generates or modifies data and may accept input data or create output data or both, depending on its function. Nodes usually have their own settings which control the data they create or how they modify data passing through them. Nodes are connected together in a network to perform work in a network-based user interface. In Terragen 2 nodes are connected together to describe a scene.