Kochanek–Bartels spline: Difference between revisions
Appearance
Content deleted Content added
→External links: fix template usage |
Rescuing 1 sources and tagging 0 as dead. #IABot (v1.3) |
||
Line 53: | Line 53: | ||
== External links == |
== External links == |
||
*{{cite web |
*{{cite web |
||
| |
|url=http://www.shaneaherne.com/research/splines.html |
||
| |
|title=Kochanek and Bartels Splines |
||
| |
|accessdate=2009-04-15 |
||
| |
|author=Shane Aherne |
||
| |
|date= |
||
| |
|work=Motion Capture — exploring the past, present and future |
||
| |
|publisher= |
||
|deadurl=yes |
|||
|archiveurl=https://web.archive.org/web/20070705165751/http://www.shaneaherne.com/research/splines.html |
|||
|archivedate=2007-07-05 |
|||
|df= |
|||
}} |
}} |
||
Revision as of 08:23, 7 May 2017
![](http://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Kochanek_bartels_spline.svg/350px-Kochanek_bartels_spline.svg.png)
In mathematics, a Kochanek–Bartels spline or Kochanek–Bartels curve is a cubic Hermite spline with tension, bias, and continuity parameters defined to change the behavior of the tangents.
Given n + 1 knots,
- p0, ..., pn,
to be interpolated with n cubic Hermite curve segments, for each curve we have a starting point pi and an ending point pi+1 with starting tangent di and ending tangent di+1 defined by
where...
t | tension | Changes the length of the tangent vector | |
b | bias | Primarily changes the direction of the tangent vector | |
c | continuity | Changes the sharpness in change between tangents |
Setting each parameter to zero would give a Catmull–Rom spline.
The source code found here of Steve Noskowicz in 1996 actually describes the impact that each of these values has on the drawn curve:
Tension | T = +1→ Tight | T = −1→ Round | |
Bias | B = +1→ Post Shoot | B = −1→ Pre shoot | |
Continuity | C = +1→ Inverted corners | C = −1→ Box corners |
The code includes matrix summary needed to generate these splines in a BASIC dialect.
External links
- Shane Aherne. "Kochanek and Bartels Splines". Motion Capture — exploring the past, present and future. Archived from the original on 2007-07-05. Retrieved 2009-04-15.
{{cite web}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help)
- Doris H. U. Kochanek, Richard H. Bartels. "Interpolating splines with local tension, continuity, and bias control". SIGGRAPH '84 Proceedings of the 11th annual conference on Computer graphics and interactive techniques. ACM. pp. 33–41. Retrieved 2014-09-23.