Houdini 12 Expression functions

Fits a number in the 0-1 range.

Usage

fit10(num, newmin, newmax)

Return a number between newmin and newmax that is relative to num in the range between 1 and 0. If the value is outside the 1 and 0 it will be clamped to the new range.

Examples

fit(.3,5,20)=15.5

On this page

Replaced by

Related topics