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.
- Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Constant Scalar nodes in a project.
- Enable: When checked, the node is active and the scalar value defined by its settings below is output. When unchecked the values assigned to its Main Input, if any, are passed through, otherwise a value of 0 is passed through.
- Scalar: This setting defines the scalar value by entering a numerical amount or via the slider. The slider may also be used as a master control to raise or lower the chosen scalar 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.