


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



[rules out Bézier] (^1) • with C continuity
[Hermite: lots of tweaking]
This is a common situation in animationWe start with the given set of points
define tangent ,^ ,^
n^
i^ i^ si
0
p^ p^
r^ p^
p
!
s^ =^ ½ and we can derive a spline equation More generally, we can use any tension parameter
−3 −2 s 2 3
− 0 2 0
i i i i
u^ u^
u^ u
p p
p^
p p^ −3 − 2 3
− 0 1
i i i i s^
s u^ u^
u^ u^ s^
s^ s
s s^ s^ s^
p p s
p^
p p
et al^ the knots were always control points Lack of interpolation isn’t a big problem for interactive design^ • but it’s hard to predict curve just based on points coordinates
,^ ,^ p p! n 0 −3 − 2 3
− 1 4 1
i i i i
u^ u^
u^ u
p p
p^
p p
Non-negative functions^ • implies convex hull property (^ ) b u 1
(^ ) b u 3 (^ ) b u 4 (^ ) b u 2
(^ ) (^
) (^
) (^ ) b u^ u (^ ) b u^ u^ (^ ) (^ )
u b^ u^
u^ u^ u b^ u^ u
3 1 3
2 2
3 2 (^1) = 1− (^61) = (^3 )
i^ i^
i^ i b^ u^ b
u^ b^
u^ b^ u 1 −3^2
−2^3
−1^4 +^ +
p^ p
p^
p
G^ find equivalent^1
Gfor other spline^2 1 1 2
T^ T u M G^ u M G^ −1^2 2
0 3
1 0
2 3
3 (^1 0 0 0) » º
p^
p p^
p r^
p r^
p
u^ between 0 and 1
i^
i^ i^
i α
α α−
1−^
1− ≈^ ·^
≈^ · ′ =^
+^ + ∆^ ¸^
∆^ ¸ 2
2 «^ ¹^
«^ ¹ v^
v^ v^
v (^1 1 1) weights [ ] 4 2 4
1
2
3
4
Subdivision Level
k^ steps are linear combinations of previous points • can therefore write subdivision step as a matrix operation
k^ k^ k i i k i i
n^ n x^ y n^ n
x^ y x^ y^
x^ y x^ y
x^ y x^ y
−1^ − 1 1
1 1 2 2
(^2 2) − 2 +1^ 2 +1^2
= »^
º …^
»^ »^
º …^
»^ …^
» …^
»^ …^
…^
»^ …^
» …^
»^ …^
» …^
»^ ¬^
¼ …^
» ¬^
p^ S^ p # # S ¼
#^ # #^ #
v^^ i − i v i + v v^ i^ ′ v^ i