# Difference between revisions of "Power Scalar"

From Terragen Documentation from Planetside Software

Line 1: | Line 1: | ||

− | |||

− | |||

− | |||

[[Image:drex_module_82_image_0.png|485pxpx|Power Scalar]] | [[Image:drex_module_82_image_0.png|485pxpx|Power Scalar]] | ||

'''Node Description & Purpose: '''<br /> The Power family of nodes output the '''Input''' value raised to the power of the '''Input 2''' value:<br /><br /> Output = Input '''to the power of''' Input 2<br /><br /> For colours the calculation is done on a component-wise basis, for example: <br /><br /> Output.red = Input.red '''to the power of''' Input 2.red<br /> Output.green = Input.green '''to the power of''' Input 2.green<br /> Output.blue = Input.blue '''to the power of''' Input 2.blue<br /><br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> These nodes just have one other setting, which lets you choose a node for '''Input 2'''. | '''Node Description & Purpose: '''<br /> The Power family of nodes output the '''Input''' value raised to the power of the '''Input 2''' value:<br /><br /> Output = Input '''to the power of''' Input 2<br /><br /> For colours the calculation is done on a component-wise basis, for example: <br /><br /> Output.red = Input.red '''to the power of''' Input 2.red<br /> Output.green = Input.green '''to the power of''' Input 2.green<br /> Output.blue = Input.blue '''to the power of''' Input 2.blue<br /><br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> These nodes just have one other setting, which lets you choose a node for '''Input 2'''. | ||

− | |||

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

+ | |||

+ | [[Category:Power| ]] |

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

**Node Description & Purpose: **

The Power family of nodes output the **Input** value raised to the power of the **Input 2** value:

Output = Input **to the power of** Input 2

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

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

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

Output.blue = Input.blue **to the power of** Input 2.blue**Node Type: ** Function**Settings: **

These nodes just have one other setting, which lets you choose a node for **Input 2**.