Difference between revisions of "Log Colour"

From Terragen Documentation from Planetside Software
Jump to: navigation, search
(Conformed layout & updated GUI image.)
 
Line 1: Line 1:
[[Image:drex_module_89_image_0.png|485pxpx|Log Colour]]
+
<div style="float:right; border-style:solid; padding:20px"><categorytree mode=pages hideroot=off>Power</categorytree></div>
  
'''Node Description & Purpose: '''<br /> The Exp family of nodes output the natural logarithm value of the '''Input''' value.<br /><br /> For colours the calculation is done on a component-wise basis, for example: <br /><br /> Output.red = '''log of''' Input.red<br /> Output.green = '''log of''' Input.green<br /> Output.blue = '''log 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_89.html-->
+
[[File:LogColour_00_GUI.png|none|470px|Log Colour]]
 +
 
 +
 
 +
== Overview ==
 +
The Log family of nodes output the natural logarithm value of the shader or function nodes assigned to the Main Input.
 +
 
 +
 
 +
For colours the calculation is done on a component-wise basis, for example:
 +
 
 +
 
 +
Output.red = '''log of''' Input.red <br /n>
 +
Output.green = '''log of''' Input.green <br /n>
 +
Output.blue = '''log of''' Input.blue <br /n>
 +
 
 +
 
 +
These nodes have no other settings apart from the Input node.
 +
 
 +
 
 +
'''Settings:'''
 +
*'''Name:''' This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Log colour nodes in a project.
 +
*'''Enable:''' When checked, the node is active, and when unchecked the node is ignored.
 +
 
 +
 
 +
<br /n>
 +
 
  
 
[[Category:Power]]
 
[[Category:Power]]

Latest revision as of 20:21, 5 April 2022


Log Colour


Overview[edit]

The Log family of nodes output the natural logarithm value of the shader or function nodes assigned to the Main Input.


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


Output.red = log of Input.red
Output.green = log of Input.green
Output.blue = log of Input.blue


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


Settings:

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



A shader is a program or set of instructions used in 3D computer graphics to determine the final surface properties of an object or image. This can include arbitrarily complex descriptions of light absorption and diffusion, texture mapping, reflection and refraction, shadowing, surface displacement and post-processing effects. In Terragen 2 shaders are used to construct and modify almost every element of a scene.

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.