9.5.2

Table Of Contents
1088 CHAPTER 22
XPRESSO EDITOR 1089
If the Switch port is enabled, the result is reversed. A value of 1 becomes a value of 0, and vice versa.
If Switch is enabled and then the value of one of the other ports changes, the result is once again
affected — the result always depends on the port that was last enabled. For example, if the On port
was the last port enabled, the result will always be 1; if the last port enabled was the Off port, the
result will always be 0. Note that disabling a port has no inuence on the result. It is only the enabling
of these ports that causes the node to change its output.
Freeze
The Freeze node is like an electronic switch. If a value of 0 is passed to the node’s Switch port (or if
you disable the Switch option in the Attribute manager), the input value is passed straight through
to the output, i.e. the switch is closed. If a value of 1 arrives at the Switch port — or if you enable the
Switch option in the Attribute manager — the switch is frozen and the node continues to output the
same value it had at time of freezing until you close the switch once more.
For example, if the node’s output value at the time of freezing was 27, the node will continue to output
27 until closed once more.
As with most other nodes, set the Freeze node’s data type in the Attribute manager.
Color Temperature
All materials glow when heated to a certain temperature. For example, the sun has a surface
temperature of about 5500 Kelvin, i.e. almost white, but with a slight tinge of yellow. Such color
values can be converted to RGB values using the Color Temperature node.