9.5.2

Table Of Contents
1112 CHAPTER 22
XPRESSO EDITOR 1113
Clamp
This node clamps the input to a range of values and outputs the result. Input values that are within
the range are passed directly through to the output. Input values outside the range are clamped to
the lower limit or upper limit of the range, whichever limit is nearer. For example, suppose you’ve
dened a range from 5 to 12. Input values of 1, 8 and 15 will result in output values of 5, 8 and 12
respectively.
The Clamp node has many uses. For example, you might use the node to restrict an objects movement
to a particular volume of 3D space or period of time. Choose the node’s data type in the Attribute
manager.
Colorspace
One use of the Colorspace node is to nd out how bright an RGB color is. Convert the RGB value to HSV;
the V value gives you the color’s brightness.
Colors in CINEMA 4D can be dened using any of several different colorspaces. This node enables
you to convert a color value from one colorspace to another. Choose the type of conversion in the
Attribute manager.
If RGB From 0 To 255 is enabled, the components of RGB colors will be in the range of 0 to 255 instead
of the normal range of 0.0 to 1.0. If Hue 0.0 To 360.0 is enabled, hue values are given in degrees
instead of radians.
Cross Product