Game Development Reference
Pin effect comes in handy often. The Corner Pin effect is almost
identical to the Bezier Warp effect, except that here, there are no
extra tangents. All that we can adjust with the Corner Pin effect
are the four corner points. And that's all there is to the entire
effect. But because of its simplicity, it's quite easy to use.
Most of the time, when people use the Corner Pin effect, it is
to use another image to replace a billboard, a window, or some
other rectangular object. Because of the way that Corner Pin
distorts a layer, it can be used to distort layers to look like they
exist in 3D space. Why not just use a 3D layer? Personally speak-
ing, I prefer Corner Pin for many tasks because it's much easier to
adjust the four pins of the Corner Pin effect than to get a 3D layer
to animate in 3D space exactly the way you want it to.
We're going to use the Corner Pin.aep project for this effect.
In the Monitor comp, we'll use the Corner Pin effect to recreate
another common Corner Pin task—using another layer to replace
the screen of a computer monitor (Fig. 7.11).
Figure 7.11 The Monitor layer.
We're going to replace this screen
with another layer.
We want to apply the Corner Pin effect but not to the Monitor
layer. We don't want the monitor to distort at all. Turn on the vis-
ibility of the adobe-pumpkin layer. This is an embarrassing photo
of me (yet another one), with a pumpkin I carved for Halloween.
No, this image was not faked in Photoshop. I am really nerdy
enough to hand carve the Adobe logo into a pumpkin on a day
when everyone else is out eating candy and going to parties.
Apply the Corner Pin effect to the adobe-pumpkin layer. As
with other effects, when the effect is selected in the Effect Controls
panel, you can see its effect control points in the Composition