Build Vector

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
Build Vector
Build Vector


Overview

The Build family of nodes allow you to construct colours or vectors. They let you input scalar values for each component. For the Build colour node you can input Red, Green and Blue values. For the Build vector node you can input X, Y and Z values.

The value from the Input node is used as the basis for building the new value. If you do not attach a node to one of the other inputs (Red/Green/Blue or X/Y/Z) then the value for that component is taken from the corresponding component of the Input node value. Here is an example, using a vector:

Input.x is 100
Input.y is 200
Input.z is 300

X scalar input is 500
Z scalar input is -400

The output vector will look like this:

Output.x is 500
Output.y is 200
Output.z is -400

As there is no scalar input for the Y component the y value from the input vector is used. Here is a diagram of the example above:


Settings:

  • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Build vector 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.
  • X input: The X channel becomes the X or red value provided from the shader or function nodes assigned to this setting. If left unassigned, the value provided from the Main Input’s X or red channel is used.
  • Y input: The Y channel becomes the Y or green value provided from the shader or function nodes assigned to this setting. If left unassigned, the value provided from the Main Input’s Y or green channel is used.
  • Z input: The Z channel becomes the Z or blue value provided from the shader or function nodes assigned to this setting. If left unassigned, the value provided from the Main Input’s Z or blue channel is used.