Houdini 21.0 Nodes Dynamics nodes

Gas Remap dynamics node

Fits a scalar volume field to a new range.

On this page
Since 21.0

Overview

The Gas Remap DOP is a microsolver used in building larger fluid simulations. The Fluid Solver and Smoke Solver DOPs allow microsolvers to be added before or after the main solver step to extend or tweak the simulation. Alternatively, advanced users may attempt to build an entire new solver out of microsolvers.

The Gas Remap DOP shifts and scales a scalar volume field to fit a new range. A ramp can be used to further customize the mapping. By default, the resulted new range is written back to the same field, optionally you can provide a new field name.

Parameters

Remap

Input Min

The lowest value in the input to map from.

Input Max

The highest value in the input to map from.

Output Min

The new minimum value in the output to map to.

Output Max

The new maximum value in the output to map to.

Out of Range Values

How to transform values outside the given input range.

Roll Cyclically

Repeat the ramp endlessly forward and backward.

Clamp to Edge Value

Use the first value in the ramp for values less than the range, and the last value in the ramp for values greater than the range.

Linearly Extrapolate

Linearly extrapolate output range, ignoring the ramp.

Use Ramp

Use a ramp for more precise control of the mapping.

Remap

Modify this ramp to use a custom remapping instead of just a linear remap.

Use Control Field

When turned on, the output field is scaled by the control field.

Control Field

The name of the field to use to affect the output field.

Control Range

Remaps (normalizes) the Control Field values based on the specified minimum and maximum. The output is used for scaling is always in a range of 0 to 1.

Remap Control Field

Allows the Control Ramp to change how the control field should scale the output field between the minimum and maximum values of Control Range.

Control Field Ramp

This ramp controls how the output field is mapped between the minimum and maximum values of Control Range.

Use Bound Control

When turned on, the output field is scaled along one of the following directions.

Direction

Sets the direction along which to scale the output field.

Bound Range

The minimum and maximum bounds along the set axis, in which the scale will remap to the range of 0 to 1.

Bound Control Ramp

This ramp controls how the output field is mapped between the minimum and maximum values of Bound Range.

Bindings

Source Field

The name of the field to remap. This is a single scalar field.

Destination Field

The name of the field to remap. If it is not the same as Source Field, the field has to exists, otherwise the Source Field will be overwritten.

Advanced

Use OpenCL

Use the OpenCL device to accelerate computations.

See also

Dynamics nodes