Difference between revisions of "Negate Vector"

From Terragen Documentation from Planetside Software
Jump to: navigation, search
(jrfconvert import)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:IMPORT]]
+
[[Image:drex_module_55_image_0.png|485pxpx|Negate Vector]]
='''Negate Vector'''=
+
 
 +
'''Node Description & Purpose: '''<br /> The Negate family of nodes takes the Input value and flips its sign. That is to say, if the Input is a positive number it will become a negative number. If the Input value is a negative number it will become a positive number. Here's some examples:<br /><br /> 2.6 '''becomes''' -2.6<br /> -3 '''becomes''' 3<br /><br /> For colours and vectors the negation is done on a component-wise basis, so using vectors as an example :<br /><br /> ( 2.1, -6, 4 ) '''becomes''' ( -2.1, 6, -4 )<br /> ( -10, 3, -2 ) '''becomes''' ( 10, -3, 2 )<br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> These nodes have no other settings apart from the Input node.
  
[[Image:drex_module_55_image_0.png|485pxpx|Negate Vector]]
 
__NOTOC__
 
 
<!-- imported from file: module_55.html-->
 
<!-- imported from file: module_55.html-->
 +
 +
[[Category:Inverse]]

Revision as of 18:35, 1 June 2011

Negate Vector

Node Description & Purpose:
The Negate family of nodes takes the Input value and flips its sign. That is to say, if the Input is a positive number it will become a negative number. If the Input value is a negative number it will become a positive number. Here's some examples:

2.6 becomes -2.6
-3 becomes 3

For colours and vectors the negation is done on a component-wise basis, so using vectors as an example :

( 2.1, -6, 4 ) becomes ( -2.1, 6, -4 )
( -10, 3, -2 ) becomes ( 10, -3, 2 )

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.