Kochanek–Bartels spline

Kochanek–Bartels spline

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, ..., p"n",

to be interpolated with "n" cubic Hermite curve segments, for each curve we have a starting point p"i" and an ending point p"i"+1 with starting tangent d"i" and ending tangent s"i"+1 defined by

:mathbf{s}_i = frac{(1-t)(1+b)(1-c)}{2}(mathbf{p}_i-mathbf{p}_{i-1}) + frac{(1-t)(1-b)(1+c)}{2}(mathbf{p}_{i+1}-mathbf{p}_{i})

:mathbf{d}_i = frac{(1-t)(1+b)(1+c)}{2}(mathbf{p}_i-mathbf{p}_{i-1}) + frac{(1-t)(1-b)(1-c)}{2}(mathbf{p}_{i+1}-mathbf{p}_{i})where "t" is the tension, "b" is the bias, and "c" is the continuity parameter.

The tension parameter, "t", changes the length of the tangent vector. The bias parameter, "b", primarily changes the direction of the tangent vector. The continuity parameter, "c", changes the sharpness in change between tangents.

Setting each parameter to zero would give a Catmull-Rom spline.

The [http://news.povray.org/povray.binaries.tutorials/attachment/%3CXns91B880592482seed7@povray.org%3E/Splines.bas.txt 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 actually generate these splines in a BASIC dialect. Actually it is Microsoft Quick Basic v1.0 for the Mac (Steve.N).

Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Kubisch Hermitescher Spline — In dem mathematischen Teilgebiet der Numerik wird unter einem kubisch hermiteschen Spline (auch cSpline genannt) ein Spline verstanden der zwischen n Kontrollpunkten interpoliert. Die Kontrollpunkte sind durch n − 1 Segmente verbunden, die aus… …   Deutsch Wikipedia

  • Cubic Hermite spline — In the mathematical subfield of numerical analysis a cubic Hermite spline (also called cspline), named in honor of Charles Hermite, is a third degree spline with each polynomial of the spline in Hermite form. The Hermite form consists of two… …   Wikipedia

  • List of numerical analysis topics — This is a list of numerical analysis topics, by Wikipedia page. Contents 1 General 2 Error 3 Elementary and special functions 4 Numerical linear algebra …   Wikipedia

  • IMSL — International Mathematics and Statistics Library Développeur Visual Numerics Type Analyse Numérique et Statistique IMSL C …   Wikipédia en Français

  • IMSL Bibliothèques Numériques — International Mathematics and Statistics Library Développeur Visual Numerics Type Analyse Numérique et Statistique IMSL C …   Wikipédia en Français

  • International Mathematics and Statistics Library — Développeur Visual Numerics Type Analyse Numérique et Statistique IMSL C …   Wikipédia en Français

  • Interpolation (computer programming) — In the context of computer animation, interpolation refers to the use of (usually) piecewise polynomial interpolation to draw images semi automatically. For all applications of this type, a set of key points is defined by the graphic artist.… …   Wikipedia

  • List of mathematics articles (K) — NOTOC K K approximation of k hitting set K ary tree K core K edge connected graph K equivalence K factor error K finite K function K homology K means algorithm K medoids K minimum spanning tree K Poincaré algebra K Poincaré group K set (geometry) …   Wikipedia

  • 3D-Modell — Geometrische Modellierung, auch Computer Aided Geometric Design (CAGD) genannt, bezeichnet die computergestützte Beschreibung der Form geometrischer Objekte. Sie beschäftigt sich sowohl mit der Beschreibung von zweidimensionalen Kurven als auch… …   Deutsch Wikipedia

  • CAGD — Geometrische Modellierung, auch Computer Aided Geometric Design (CAGD) genannt, bezeichnet die computergestützte Beschreibung der Form geometrischer Objekte. Sie beschäftigt sich sowohl mit der Beschreibung von zweidimensionalen Kurven als auch… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”