3D Graphics with Metal

Apr 9 2019 · Video Course (3 hrs, 12 mins) · Advanced

In this course you'll get an introduction to computer graphics using Metal on the GPU. You'll render 3D models and even write a simple game using your very own game engine.

5/5 4 Ratings · Leave a Rating

Version

  • Swift 4, iOS 12, Xcode 10

Introduction to Metal Rendering

Introduction

4:01 Free

Let's review what you'll be learning in this part of the course, and why it's important.

1

Initialize Metal

4:45 Free

Learn how to initialize Metal in Swift.

2

Practice setting up the Metal code to initialize your app.

3

Learn about the graphics pipeline

4

Shaders

6:52

Write shaders to position a triangle

5

Perform a challenge to render a quad using the GPU.

6

Set up Metal buffers to hold your data in a format the GPU can read.

7

Get better performance with indexed drawing.

8

Vertex descriptors give your data formats flexibility. Learn how to use them in this video.

9

3D Models

4:25

Examine a 3D model train in Blender.

10

Import and render a 3D model train.

11

Add color to your 3D renders.

12

Conclusion

1:58

Let's review where you are with your Metal skills and see what's next.

13

Rendering in 3D

Let's review what you'll be learning in this part of the course, and why it's important.

14

Learn how to use matrices to position your 3D model.

15

Find out what coordinate are and how you use them.

16

Render with perspective using a projection matrix.

17

Cameras

6:59

Write a camera class to control viewing of your scene.

18

Normals

5:50

Discover what surface normals are, and why they are useful.

19

Light your model with diffuse lighting and global ambience.

20

Learn how to make your models shiny.

21

Learn about transform hierarchies and what a scene graph is.

22

Abstract your game code away from Metal code and create a game scene.

23

Conclusion

1:11

Let's review where you are with your Metal skills and see what's next.

24

Materials and Textures

Let's review what you'll be learning in this part of the course, and why it's important.

25

Materials

6:56

Find out what materials are and how you can render your model as the artist intended.

26

UV Maps

4:08

Learn about what UV maps are and examine them in Blender.

27

Learn how to load texture coordinates into your vertex descriptors.

28

Textures

5:37

Learn about Metal textures and how to render 3D models with an image texture.

29

Discover how to render models that may or may not have textures.

30

Find out how to re-use geometry for duplicate model rendering.

31

Instancing

6:38

Render one hundred trees with buttery smoothness.

32

Render one hundred trains complete with textures.

33

Conclusion

0:49

Let's review where you are with your Metal skills and see what's next.

34

Make a Game

Let's review what you'll be learning in this part of the course, and why it's important.

35

Find out what game you'll make, and also discover model bounding boxes.

36

Add all your models to the game scene ready to play.

37

Collisions

4:34

Learn how to bounce a ball with collisions.

38

Make your game playable with keyboard interaction.

39

Learn how to add sound effects and background music to your game.

40

Game Over

4:45

Transition between game scenes when you win or lose the game.

41

Add a 3D model to the game over scene.

42

Conclusion

1:52

Let's review what we learned throughout the course.

43

Who is this for?

This course is for developers interested in understanding low-level computer graphics while achieving high performance in rendering 3D scenes. You’ll need to be comfortable with Xcode and Swift and be prepared to understand some math at a conceptual level.

Covered concepts

  • The Metal Pipeline
  • 3D Models
  • Coordinate Spaces
  • Lighting
  • Materials and Textures
  • Making a game

Contributors

Comments