9. Introduction to 3D Drawing

The key to growth is the introduction of higher dimensions of consciousness into our awareness.—Lao Tzu

Every introduction to Metal starts with rendering a 2D shape composed of triangles. It’s a good way to present the moving parts of a framework to make an image appear on the screen. When you go from a contrived 2D project to a real-world 3D project, you introduce complexity that is inherent to all 3D projects, regardless of framework. This chapter introduces you to concepts you need to understand when you jump from two dimensions to three.

Model-View-Projection Transformations

An important aspect of 3D graphics is being able to represent an object in space in relation to a camera. If you think about this in the ...

Get Metal Programming Guide: Tutorial and Reference via Swift 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.