Graphics Reference
In-Depth Information
3.5
3
2.5
2
1.5
1
0.5
0
0
0.1
0.2
0.3
0.4
0.5
t
0.6
0.7
0.8
0.9
1
Fig. 9.4.
Bernstein interpolation between the values 1 and 3.
3.5
3
2.5
2
1.5
1
0.5
0
0
0.1
0.2
0.3
0.4
0.5
t
0.6
0.7
0.8
0.9
1
Fig. 9.5.
Bernstein interpolation between values 1 and 3 with
V
c
=3.
3.5
3
2.5
2
1.5
1
0.5
0
123456
t
7
8
9
10
11
Fig. 9.6.
Bernstein interpolation between values 1 and 3 for different values of
V
c
.
For example, if
V
c
= 3 we obtain the graph shown in Figure 9.5, which is
totally different from Figure 9.4. As Bezier observed, the value of
V
c
provides
an excellent mechanism for determining the shape of the curve between two
values. Figure 9.6 shows a variety of graphs for different values of
V
c
.Avery
interesting effect occurs when the value of
V
c
is set midway between
V
1
and
V
2
. For example, when
V
1
=1and
V
2
=3and
V
c
= 2, we obtain linear
interpolation between
V
1
and
V
2
, as shown in Figure 9.7.