Cinema 4D Cinema 4D Prime XPresso XPresso Nodes Calculate (Group)
Function available in CINEMA 4D Prime, Visualize, Broadcast, Studio & BodyPaint 3D

RangeMapper Operator

Basic Node Parameter

RangeMapper Operator

This node remaps a value from one range to another. For example, suppose the height of an object should control a light’s brightness using a set driven key. When the object is at 0 m, the light’s brightness should be 0%. When the object is at 2 m, the brightness should be 100%. Using the Range Mapper node, the object’s height can be remapped from the range 0 to 2 m to the range 0 to 100%. In this case, a height of, say, 1.5 m would be remapped to 75%.

The node has four inputs that define the input range and the output range: Input Lower and Input Upper define the input range; Output Lower and Output Upper define the output range. The Input port defines the value that should be remapped. In addition, several options control input values that are out of range.