Game Development Reference
In-Depth Information
Figure 8.13 Picking casts a ray from the near to far plane and selects an object
that intersects with the line segment.
Summary
The camera is a core component of any 3D game. You potentially might use lots
of different types of cameras, and this chapter covered implementations of many
of them. A first-person camera gives an immersive view from the eye of a char-
acter. A follow camera might be used to chase behind a car or a player. An orbit-
ing camera rotates around a specific target, and a spline camera might be used for
cutscenes. Finally, many games might need to implement picking in order to allow
the player to click on and select objects.
Review Questions
1 . What does field of view represent? What issues can arise out of a narrow
field of view?
Search WWH ::




Custom Search