Computer Graphics (CSE 4103)
Computer Graphics (CSE 4103)
University of Dhaka
Lecture 17
Representing Curves
Parametric Cubic Curves
Parametric cubic curves are of the following form:
where,
Parametric Cubic Curves
The derivative of the curve is tangent vector, which is given by:
Two types of continuity are defined for parametric curves: Geometric continuity
(Gn) and Parametric continuity (Cn)
The different cubic polynomials are called blending functions and are
given by B = T. M.
Hermite Curve
Hence,
P2 P2
P3
P4
P1 P1
P4
P3
Bezier Curve
Bezier Curve
Bernstein Polynomial
Bezier Curve
Q(t) = (1-t)3 P1 + 3t(1-t)2 P2 + 3t2(1-t) P3 + t3 P4
[t3 t2 t 1] -1 3 -3 1 P1
3 -6 3 0 P2
-3 3 0 0 P3
1 0 0 0 P4
Bezier Curve
Q(t) = (1-t)3 P1 + 3t(1-t)2 P2 + 3t2(1-t) P3 + t3 P4