Houdini 21.0 Nodes APEX nodes

Efit

Takes a value in one range and shifts it to a new range.

On this page
Since 21.0

Takes val, relative to range (srcmin, srcmax), and shifts it to the corresponding value in range (destmin, destmax). This node does not clamp val to range (srcmin, srcmax) before shifting. For example, if val > srcmax, then result > destmax.

If you want the value to be clamped before shifting, use Fit.

Inputs

val: Float

The value to shift to the new range.

srcmin: Float

The lower end of the input range.

srcmax: Float

The upper end of the input range.

destmin: Float

The lower end of the new range.

destmax: Float

The upper end of the new range.

Outputs

result: Float

The result of shifting val to the new range.

See also

APEX nodes