Camera and projection

Once the shape and color of the 3D objects have been defined, there's still a major factor that will affect the way they look on the screen: the camera. The camera is responsible for mapping the 3D points, lines, and surfaces to the 2D image plane, which is usually our screen. If the camera isn't configured correctly, we may not see our objects at all. The process of mapping from the 3D world to the 2D image plane is called projection.

There are two different commonly used projection methods in the field of CG: orthographic projection and perspective projection. Let's go over them now:

  • Orthographic projection is a process that maps everything in a cuboid (that is, a rectangular volume) to a standard cube. For more information ...

Get Hands-On Generative Adversarial Networks with PyTorch 1.x now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.