Difference between revisions of "Square Colour"

From Terragen Documentation from Planetside Software
Jump to: navigation, search
Line 1: Line 1:
[[Category:IMPORT]]
 
='''Square Colour'''=
 
 
 
[[Image:drex_module_83_image_0.png|485pxpx|Square Colour]]
 
[[Image:drex_module_83_image_0.png|485pxpx|Square Colour]]
  
 
'''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.
 
'''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.
  
__NOTOC__
 
 
<!-- imported from file: module_83.html-->
 
<!-- imported from file: module_83.html-->
 +
 +
[[Category:Power| ]]

Revision as of 01:34, 18 May 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.