fluidSetInterpMethod

fluidSetInterpMethod — Set interpolation method for channel in Fluid Engine

Syntax

fluidSetInterpMethod ienginenum, ichannelnum, iInterpMethod

Description

Set interpolation method for channel in Fluid Engine. Lower order interpolation methods will render faster at lower fidelity while higher order interpolation methods will render slower at higher fidelity. Default interpolation for a channel is 4th order interpolation.

Initialization

ienginenum -- engine number assigned from fluidEngine

ichannelnum -- which channel number to use for the preset in the given fluidEngine

iInterpMethod -- interpolation method, can be any of the following

  • 0 -- No Interpolation

  • 1 -- Linear Interpolation

  • 4 -- 4th Order Interpolation (Default)

  • 7 -- 7th Order Interpolation (Highest)

See Also

fluidEngine

Credits

Author: Steven Yi

New in version 5.07