Exercise 15.3.14 (Page 1042):
This shows the intersection of the cone
with
the right circular cylinder
.
The figure will be drawn in four stages, with a the viewing cube
defined as ,
the viewer angle with the x-axis as 45 degrees and the view
angle with the z-axis as 60 degrees.
Stage 1:
The cone is parameterized as
.
The "backside" of the surface is plotted for
(s-resolution is 32) and for
(t-resolution
24) and is shown to the right. |
|
|
|
Stage 2:
The cylinder is parameterized as
and is plotted for
(s-resolution
is 1) and for
(t-resolution
32). The surface is plotted without erasing the previous
plot and is shown to the right. |
|
|
|
|