Professional Documents
Culture Documents
Lecture 8 Synthetic Curves
Lecture 8 Synthetic Curves
Lecture 8 Synthetic Curves
(Reparameterization &
Bézier Curve)
Reparametrization
• For example: u ∈ [0, 1] (p(u)) v[1, 10] (q(v))
• Linear Mapping v = au + b
dv = a.du
qi = pi
qj = pj
• qv = dq/dv = (dq/du).(du/dv) = qu.1/a
u j − ui
q =
v
.p u
v j − vi
• Truncation
• Extension
• Subdivision 2
Analytical Curves in terms of
PC Curve
• Line (in terms of PC curve):
p u0 = (p1 − p 0 )
p1u = (p1 − p 0 )
4
Bézier Curve
• Defined by a set of data points
• Data points: used to control the shape of the
resulting curves
• Credited to P. Bézier of the French car firm Regie
Renault
• Developed about 1962 and used in his software
system called UNISURF
• UNISURF: used to define the outer panels of
several Renault cars
• Also independently developed by P. deCasteljau of
French car company Citroen (about 1959)
5
Bézier Curve
7
Bézier Curve
P2
P1
P3 u=1
9
Bézier Curve
11
Bézier Curve
• For (n+1) control points curve is defined by:
n
p( u ) = p B
i =0
i i , n (u ) ,0 u 1
i n −i
• Bernstein polynomial i , n
B (u ) = C ( n, i )u (1 − u )
where C(n,i) is the binomial coefficient and i → 0, …, n
12
Bézier Curve
• On expanding curve equation, we get
13
Cubic Bézier Curve
At u = 0 : p u = 3(p1-p 0 ) p2
u = 1 : p u = 3(p 3-p 2 )
• deCastaljau Algo
15
Characteristics of Bézier Curve
Based on properties of Bernstein polynomials
1.Curve passes through P0 and Pn if we substitute u = 0
and u = 1 in equation
2.Curve is tangent to the first and last segments of the
characteristic polygon
3.rth derivatives at the starting and ending points are:
n! r
( −1)r −i C ( r , i ) Pi , 0 u 1
r
P ( 0) =
( n − r )! i = 0
n! r
r
P (1) = ( −1)i C ( r , i ) Pn −i , 0 u 1
( n − r )! i = 0
17
Characteristics of Bézier Curve
5. Interpolation polynomial Bi,n(u) has a max value of
C(n,i)(i/n)i(1-i/n)n-i occurring at u = i/n (from dBi,n/du =
0)
Each control point is most influential on the curve
shape at u = i /n
Magnitude of each Bernstein
B 3
polynomials proportional to
3
B 3
control points influence the
0 3
B
2 shape of the curve
B13 For a cubic Bézier Curve,
P0, P1, P2, and P3 are most
influential when u = 0, 1/3,
2/3, and 1, respectively 18
Characteristics of Bézier Curve
6.Curve shape can be modified by
• Changing one/more vertices of its polygon (Figure 1)
OR
• Keeping the polygon fixed and specifying multiple
coincident points at a vertex (Figure 2) – higher the
multiplicity (larger number of points at a
geometrical position), the more the curve is pulled
P’2 P1 , P2 , P3 P4
P1 P2
(Figure 1) (Figure 2)
P0 P3
P0 P5 19
Characteristics of Bézier Curve
B
i =0
i , n (u ) =1