Difference between revisions of "Constant Scalar"

From Terragen Documentation from Planetside Software
Jump to: navigation, search
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:IMPORT]]
 
='''Constant Scalar'''=
 
 
 
[[Image:drex_module_21_image_0.png|485pxpx|Constant Scalar]]
 
[[Image:drex_module_21_image_0.png|485pxpx|Constant Scalar]]
  
 
'''Node Description & Purpose: '''<br /> The Constant family of nodes let you create values of one of the three main types Terragen 2 uses - scalar numbers, a vector of numbers with several components and colours, respectively. They can then be used to input particular values into other nodes.<br /><br /> A Constant node can input the same value into more than one node at a time, or in other words it can have multiple connections from its output to the inputs of other nodes. This means that if you find you are wanting to input the scalar value 0 into a number of nodes you can create just one Constant scalar and hook its output up to every input that needs that value.<br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> All nodes in this family do one one thing - they let you set some sort of value which is then output from the node. A Constant scalar lets you set the value for one number. A Constant vector lets you set values for the three components of vector. A Constant colour lets you choose a colour.
 
'''Node Description & Purpose: '''<br /> The Constant family of nodes let you create values of one of the three main types Terragen 2 uses - scalar numbers, a vector of numbers with several components and colours, respectively. They can then be used to input particular values into other nodes.<br /><br /> A Constant node can input the same value into more than one node at a time, or in other words it can have multiple connections from its output to the inputs of other nodes. This means that if you find you are wanting to input the scalar value 0 into a number of nodes you can create just one Constant scalar and hook its output up to every input that needs that value.<br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> All nodes in this family do one one thing - they let you set some sort of value which is then output from the node. A Constant scalar lets you set the value for one number. A Constant vector lets you set values for the three components of vector. A Constant colour lets you choose a colour.
  
__NOTOC__
 
 
<!-- imported from file: module_21.html-->
 
<!-- imported from file: module_21.html-->
 +
 +
[[Category:Constant]]

Revision as of 18:27, 1 June 2011

Constant Scalar

Node Description & Purpose:
The Constant family of nodes let you create values of one of the three main types Terragen 2 uses - scalar numbers, a vector of numbers with several components and colours, respectively. They can then be used to input particular values into other nodes.

A Constant node can input the same value into more than one node at a time, or in other words it can have multiple connections from its output to the inputs of other nodes. This means that if you find you are wanting to input the scalar value 0 into a number of nodes you can create just one Constant scalar and hook its output up to every input that needs that value.

Node Type: Function

Settings:
All nodes in this family do one one thing - they let you set some sort of value which is then output from the node. A Constant scalar lets you set the value for one number. A Constant vector lets you set values for the three components of vector. A Constant colour lets you choose a colour.

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.