O'Reilly logo

DirectX 11.1 Game Programming by Pooya Eimandar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Turn on the camera

The camera is one of the most elementary components of each 3D application, so in this section, we are going to turn it on.

The camera is responsible for showing the viewport of the user, and a 3D scene might have many cameras; there are many types of cameras that are introduced depending on the genre of each game, such as a first person, third person, and the other types. In this section, we are going to discuss three types of cameras–the base camera which is known as the fixed camera, the first person camera, and third person cameras, which can be inherited from the base camera.

Base camera

Prior to getting your hands dirty with the code, it is more important to understand what the basic properties of a camera are. The view and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required