SEARCH
TOOLBOX
LANGUAGES
TextureInterpolation

TextureInterpolation

From SOFAWiki

Jump to: navigation, search

This engine create texture coordinate in 1D according to an imput state vector.

Coordinate can be interpolated either from min and max value of input states (default behavior) or on a manual define scale.

Contents

Input Data's

  • input_states
Input array of state values.
  • input_coordinates
Input array of coordinates values (not mandatory).


Output Data's

  • output_coordinates
Output array of texture coordinates.

Additional parameters

For manual scale:

  • min_value
Minimum value of state value for interpolation.
  • max_value
Maximum value of state value for interpolation.
  • manual_scale
Compute texture interpolation on manually scale defined above


Examples

examples/Components/engine/TextureInterpolation.scn