Scalar to Colour: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
jrfconvert import
 
Redmaw (talk | contribs)
m Added example images.
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:IMPORT]]
<div style="float:right; border-style:solid; padding:20px"><categorytree mode=pages hideroot=off>Convert</categorytree></div>
='''Scalar to Colour'''=


[[Image:drex_module_97_image_0.png|485pxpx|Scalar to Colour]]
[[File:ScalarToColour_00_GUI.png|none|470px|Scalar to Colour]]
__NOTOC__
 
<!-- imported from file: module_97.html-->
 
==Overview==
The Scalar to colour node converts the Input scalar into a colour. This conversion happens according to the node input type conversion rules which are described in the [[Node Input Type Conversion]] documentation.
 
When converting a scalar to a colour, each component of the colour is simply set to the value of the scalar:
<ul>
colour.red becomes scalar <br /n>
colour.green becomes scalar  <br /n>
colour.blue becomes scalar  <br /n>
</ul>
 
 
{|
|-
| [[File:ScalarToColour_01_NodeNetwork.jpg|none|800px|Node network view of Smooth voronoi scalar function node assigned to Scalar to colour node, then displaced.]]
|-
| [[File:ScalarToColour_02_Render.jpg|none|800px|Render showing Smooth voronoi scalar function assigned to Scalar to colour node, then displaced.]]
|}
 
 
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 Scalar to Colour 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]]

Latest revision as of 23:45, 16 March 2022

Scalar to Colour
Scalar to Colour


Overview

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


When converting a scalar to a colour, each component of the colour is simply set to the value of the scalar:


Node network view of Smooth voronoi scalar function node assigned to Scalar to colour node, then displaced.
Node network view of Smooth voronoi scalar function node assigned to Scalar to colour node, then displaced.
Render showing Smooth voronoi scalar function assigned to Scalar to colour node, then displaced.
Render showing Smooth voronoi scalar function assigned to Scalar to colour node, then displaced.


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 Scalar to Colour 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.