# Difference between revisions of "Exp Colour"

Line 1: | Line 1: | ||

− | |||

− | |||

− | |||

[[Image:drex_module_87_image_0.png|485pxpx|Exp Colour]] | [[Image:drex_module_87_image_0.png|485pxpx|Exp Colour]] | ||

'''Node Description & Purpose: '''<br /> The Exp family of nodes output the exponential value of the '''Input''' value. The exponential value is the mathematical constant ''e'' raised to the power of the '''Input''' value i.e. ''e'' to the power of '''Input'''. ''e'' has a value of approximately 2.7182818.<br /><br /> For colours the calculation is done on a component-wise basis, for example: <br /><br /> Output.red = ''e'' '''to the power of''' Input.red<br /> Output.green = ''e'' '''to the power of''' Input.green<br /> Output.blue = ''e'' '''to the power of''' 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 Exp family of nodes output the exponential value of the '''Input''' value. The exponential value is the mathematical constant ''e'' raised to the power of the '''Input''' value i.e. ''e'' to the power of '''Input'''. ''e'' has a value of approximately 2.7182818.<br /><br /> For colours the calculation is done on a component-wise basis, for example: <br /><br /> Output.red = ''e'' '''to the power of''' Input.red<br /> Output.green = ''e'' '''to the power of''' Input.green<br /> Output.blue = ''e'' '''to the power of''' Input.blue<br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> These nodes have no other settings apart from the Input node. | ||

− | |||

<!-- imported from file: module_87.html--> | <!-- imported from file: module_87.html--> | ||

+ | |||

+ | [[Category:Power| ]] |

## Revision as of 01:33, 18 May 2011

**Node Description & Purpose: **

The Exp family of nodes output the exponential value of the **Input** value. The exponential value is the mathematical constant *e* raised to the power of the **Input** value i.e. *e* to the power of **Input**. *e* has a value of approximately 2.7182818.

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

Output.red = *e* **to the power of** Input.red

Output.green = *e* **to the power of** Input.green

Output.blue = *e* **to the power of** 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.