Difference between revisions of "Square Colour"

From Terragen Documentation from Planetside Software
Jump to: navigation, search
Line 5: Line 5:
 
<!-- imported from file: module_83.html-->
 
<!-- imported from file: module_83.html-->
  
[[Category:Power| ]]
+
[[Category:Power]]

Revision as of 18:39, 1 June 2011

Square Colour

Node Description & Purpose:
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

Node Type: Function

Settings:
These nodes have no other settings apart from the Input node.

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.