10. Advanced 3D Drawing
Insanity: doing the same thing over and over again and expecting different results.—Albert Einstein
So far in this book, you have rendered only a single object, and you may be feeling a bit daunted. If you have a full 3D project, such as the Zen Garden project that debuted with Metal, you may be thinking you’d have to add millions of lines of code to get a project that complex working. Don’t worry—Metal has you covered. This chapter introduces you to the concepts you need to understand to create large and complex 3D scenes.
Constructing a Hierarchical World with Scene Graphs
When you have thousands of objects in a scene, the first thing you must decide is how you will organize them. The most manageable way to organize ...
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.