Scalar to Colour: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m Added example images. |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div style="float:right; border-style:solid; padding:20px"><categorytree mode=pages hideroot=off>Convert</categorytree></div> | |||
[[File:ScalarToColour_00_GUI.png|none|470px|Scalar to Colour]] | |||
[[Category:Convert | ==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

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:
![]() |
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.

