Min Scalar

From Terragen Documentation from Planetside Software
Revision as of 05:51, 4 February 2022 by Redmaw (talk | contribs) (Updated descriptions and added example images.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Min Scalar


Overview[edit]

The Min Scalar node allows you to clamp, or restrict, the values of the colour or scalar coming into the Main Input to the value specified in Input 2. If the Main Input value is greater than Input 2’s value, it will be lowered to Input 2’s value.


In the example below, an EXR image containing vector data is assigned to the Main Input of the Min Scalar node. Visually, the green pixels represent data above a value of 0 in the Y axis, whereas the magenta pixels indicate a blend of positive and negative values lying on the X and Z axis. When enabled, the Min Scalar node lowers any values of the Main Input which are greater than the value assigned to its Input 2 setting, to that value.

    The Min Scalar node lowers any values that are less than the value assigned to its Input 2, to that value.


Settings:

  • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Min Scalar nodes in a project.
  • Enable: When checked, the node is active and values from the Main Input which are greater than the value from Input 2, are lowered to that amount. When unchecked, the Main Input value is passed through the node.



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.