Graphics Reference
In-Depth Information
}
@end
Figure 5.10 Our rotated view again, now with a perspective transform applied
The Vanishing Point
When drawn in perspective, objects get smaller as they move away from the camera. As
they move even farther , they eventually shrink to a point. All distant objects eventually
converge on a single vanishing point.
In real life, the vanishing point is always in the center of your view (see Figure 5.11), and
generally, to create a realistic perspective effect in your app, the vanishing point should be
in the center of the screen, or at least the center of the view that contains all of your 3D
objects.
Search WWH ::




Custom Search