Difference between revisions of "Square Scalar"

From Terragen Documentation from Planetside Software
Jump to: navigation, search
(Conformed layout & updated GUI image.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:IMPORT]]
+
<div style="float:right; border-style:solid; padding:20px"><categorytree mode=pages hideroot=off>Power</categorytree></div>
='''Square Scalar'''=
 
  
[[Image:drex_module_84_image_0.png|485pxpx|Square Scalar]]
 
  
'''Node Description & Purpose: '''<br /> The Square family of nodes outputs the '''Input''' value squared, i.e. '''Input''' to the power of 2 or '''Input''' multiplied by '''Input'''. <br /><br /> For colours the calculation is done on a component-wise basis, for example: <br /><br /> Output.red = Input.red '''multiplied by''' Input.red<br /> Output.green = Input.green '''multiplied by''' Input.green<br /> Output.blue = Input.blue '''multiplied by''' Input.blue<br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> These nodes have no other settings apart from the Input node.
+
[[File:SquareScalar_00_GUI.png|none|470px|Square Scalar]]
  
__NOTOC__
+
 
<!-- imported from file: module_84.html-->
+
== Overview ==
 +
The Square family of nodes outputs the '''Input''' value squared, i.e. '''Input''' to the power of 2 or '''Input''' multiplied by '''Input'''.
 +
 
 +
 
 +
For colours the calculation is done on a component-wise basis, for example:
 +
 
 +
 
 +
Output.red = Input.red '''multiplied by''' Input.red <br /n>
 +
Output.green = Input.green '''multiplied by''' Input.green <br /n>
 +
Output.blue = Input.blue '''multiplied by''' Input.blue <br /n>
 +
 
 +
 
 +
These nodes have no other settings apart from the Main input node.
 +
 
 +
 
 +
'''Settings:'''
 +
*'''Name: '''This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Square scalar nodes in a project.
 +
*'''Enable:''' When checked, the node is active, and when unchecked the node is ignored.
 +
 
 +
 
 +
<br /n>
 +
 
 +
 
 +
 
 +
[[Category:Power]]

Latest revision as of 21:09, 5 April 2022


Square Scalar


Overview[edit]

The Square family of nodes outputs the Input value squared, i.e. Input to the power of 2 or Input multiplied by Input.


For colours the calculation is done on a component-wise basis, for example:


Output.red = Input.red multiplied by Input.red
Output.green = Input.green multiplied by Input.green
Output.blue = Input.blue multiplied by Input.blue


These nodes have no other settings apart from the Main input node.


Settings:

  • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Square scalar nodes in a project.
  • Enable: When checked, the node is active, and when unchecked the node is ignored.



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.

A scalar is a single number. 1, 200.45, -45, -0.2 are all examples of scalar values.