Difference between revisions of "Interpolation"
Jump to navigation
Jump to search
m |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{LSL Header}} | {{LSL Header}} | ||
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 == | == Interpolation Library == | ||
* [[Interpolation/Linear|Linear Interpolation]] | Linear Interpolation | ||
* [[Interpolation/Cosine|Cosine Interpolation]] | * [[Interpolation/Linear/Float|Float]] | ||
* [[Interpolation/Cubic|Cubic | * [[Interpolation/Linear/Vector|Vector]] | ||
* [[Interpolation/Catmull-Rom | * [[Interpolation/Linear/Rotation|Rotation]] | ||
* [[Interpolation/Hermite| | * List of [[Interpolation/Linear/Vectors|Vectors]] | ||
* [[Interpolation/Rescale| | |||
* [[Interpolation/ | |||
* [[Interpolation/ | Cosine Interpolation | ||
* [[Interpolation/Cosine/Float|Float]] | |||
* [[Interpolation/Cosine/Vector|Vector]] | |||
* [[Interpolation/Cosine/Rotation|Rotation]] | |||
Cubic Interpolation | |||
* [[Interpolation/Cubic/Float|Float]] | |||
* [[Interpolation/Cubic/Vector|Vector]] | |||
* [[Interpolation/Cubic/Rotation|Rotation]] | |||
Catmull-Rom Cubic Interpolation | |||
* [[Interpolation/Catmull-Rom/Float|Float]] | |||
Hermite Interpolation | |||
* [[Interpolation/Hermite/Float|Float]] | |||
* [[Interpolation/Hermite/Vector|Vector]] | |||
Spline Interpolation | |||
* List of [[Interpolation/Spline/Vectors|Vectors]] | |||
Rescale | |||
* [[Interpolation/Rescale/Float|Float]] | |||
* [[Interpolation/Rescale/FloatFixed|Float Fixed]] | |||
Target | |||
* [[Interpolation/Target/Float|Float]] |
Latest revision as of 12:10, 16 September 2011
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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
Spline Interpolation
- List of Vectors
Rescale
Target