Difference between revisions of "Interpolation"

From Second Life Wiki
Jump to navigation Jump to search
Line 55: Line 55:
Rescale
Rescale
* [[Interpolation/Rescale/Float|Float]]
* [[Interpolation/Rescale/Float|Float]]
* [[Interpolation/Rescale/FloatFixed|Float Fixed]]




Target
Target
* [[Interpolation/Target/Float|Float]]
* [[Interpolation/Target/Float|Float]]

Revision as of 04:16, 14 September 2011

Interpolation is a way of constructing new data points within a range of known data points.

The range of applications is varied, but here in SL it can most directly be used for animating and/or moving prims or linksets via any attribute you can creatively make use of.

Attributes:

  • Prim/Object Position
  • Prim/Object Rotation
  • Texture Scale/Offsets
  • or you can just simply interpolate internal values

Potential applications:

  • Movement
  • Animation
  • User Interfaces
  • Graphics
  • Games

There are many different types of interpolation, which may exhibit different preferred or controllable behaviour.


Interpolation Library

Linear Interpolation


Cosine Interpolation


Cubic Interpolation


Catmull-Rom Cubic Interpolation


Hermite Interpolation


Rescale


Target