Constant Vector: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
No edit summary
Redmaw (talk | contribs)
Updated descriptions and added example images.
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Image:drex_module_22_image_0.png|485pxpx|Constant Vector]]
<div style="float:right; border-style:solid; padding:20px"><categorytree mode=pages hideroot=off>Constant</categorytree></div>


'''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.


<!-- imported from file: module_22.html-->
[[File:ConstantVector_00_GUI.png|none|470px|Constant Colour]]


[[Category:Constant: ]]
 
== Overview ==
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.
<ul>
[[File: ConstantFamily_OutputExample.jpg|none|800px|The output of a Constant node may be used as input to multiple nodes.]]
</ul>
 
 
'''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
 
<br/n>
 
 
[[Category:Constant]]

Latest revision as of 20:59, 4 February 2022


Constant Colour
Constant Colour


Overview

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.
    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