Constant Vector

From Terragen Documentation from Planetside Software
Jump to: navigation, search


Constant Colour


Overview[edit]

The Constant family of nodes allows you to create colour, vector, or scalar values, which may be used as input for other nodes. Scalar values consist of a single number or magnitude, while vector and colour values are made up of several components, such as the values that make up the red, green, and blue channel of a particular colour.

Like all nodes in Terragen, the output from a Constant node can be used as input to multiple nodes. For example, you can create one Constant scalar node and connect its output to as many inputs as you need.

    The output of a Constant node may be used as input to multiple nodes.


Settings:

  • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Constant Vector nodes in a project.
  • Enable: When checked, the node is active and the vector values defined by its settings below are output. When unchecked the values assigned to its Main Input, if any, are passed through, otherwise a value of 0 is passed through.
  • Vector: This setting allows you to define the three components that make up the vector value


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 scalar is a single number. 1, 200.45, -45, -0.2 are all examples of scalar values.

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.