Graphics Programs Reference
In-Depth Information
Figure 5.71
Relocate the lattice
to the cylinder.
5. Deselect the lattice base, and go to Component mode for the lattice. Select the appro-
priate points, and shape the lattice so the middle of the lattice fits into the cylinder
(see Figure 5.72).
6. Select the sphere, and move it back and forth through the pipe and lattice. Notice
how it squeezes to fit through. If you look closely, you'll see that the sphere starts to
squeeze a little before it enters the pipe. You'll also see parts of the sphere sticking out
of the very ends of the pipe. This effect, in which geometry passes through itself or
another surface, is called interpenetration . You can avoid this by using a more highly
segmented sphere and lattice. If you try this exercise with a lower-segmented sphere
and/or lattice, you'll notice the interpenetrations even more. Figure 5.73 shows the
balloon squeezing through the pipe.
In a similar fashion, you can create a lattice along a curve path and have an object
travel through it. You'll try this in Chapter 8.
Search WWH ::




Custom Search