Colour to Vector: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
No edit summary
Redmaw (talk | contribs)
m Added example images.
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Image:drex_module_108_image_0.png|485pxpx|Colour to Vector]]
<div style="float:right; border-style:solid; padding:20px"><categorytree mode=pages hideroot=off>Convert</categorytree></div>


'''Node Description & Purpose: '''<br /> The Colour to vector node converts the Input colour into a vector. This conversion happens according to the node input type conversion rules which are described in [[Node Input Type Conversion]].
[[File:Colour2Vector_00_GUI.png|none|470px|Colour to Vector]]


'''Node Type: ''' Function


'''Settings: '''<br /> This node has no other settings apart from the Input node.
== Overview ==
The Colour to vector node converts the Input colour into a vector. This conversion happens according to the node input type conversion rules which are described in the [[Node Input Type Conversion]] documentation.
 
When converting a colour to a vector, a piecewise component copy is done:
<ul>
vector.x becomes colour.red <br /n>
vector.y becomes colour.green <br /n>
vector.z becomes colour.blue <br /n>
</ul>
 
 
{|
|-
| [[File:Colour2Vector_01_NodeNetwork.jpg|none|800px|Node network view of Smooth voronoi colour function node assigned to a Colour to vector node, then displaced with Vector displacement shader.]]
|-
| [[File:Colour2Vector_02_Render.jpg|none|800px|Render showing Smooth voronoi colour function assigned to a Colour to vector node, then displaced with Vector displacement shader.]]
|}
 
 
This node has 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 Colour to Vector nodes in a project.
*'''Enable:''' When checked, the node is active and the conversion operation will take place. When unchecked the values assigned to its Main Input, if any, are passed through, otherwise a value of 0 is passed through.
 
 
<br /n>
 


[[Category:Convert]]
[[Category:Convert]]

Latest revision as of 23:02, 16 March 2022

Colour to Vector
Colour to Vector


Overview

The Colour to vector node converts the Input colour into a vector. This conversion happens according to the node input type conversion rules which are described in the Node Input Type Conversion documentation.


When converting a colour to a vector, a piecewise component copy is done:


Node network view of Smooth voronoi colour function node assigned to a Colour to vector node, then displaced with Vector displacement shader.
Node network view of Smooth voronoi colour function node assigned to a Colour to vector node, then displaced with Vector displacement shader.
Render showing Smooth voronoi colour function assigned to a Colour to vector node, then displaced with Vector displacement shader.
Render showing Smooth voronoi colour function assigned to a Colour to vector node, then displaced with Vector displacement shader.


This node has 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 Colour to Vector nodes in a project.
  • Enable: When checked, the node is active and the conversion operation will take place. When unchecked the values assigned to its Main Input, if any, are passed through, otherwise a value of 0 is passed through.