Hello, Augmented World!

大綱

Introduction

Defining AR

Introducing ARKit

Template App

  • It’s time to dive right into ARKit programming by starting with the ARKit app template that Xcode provides.

Intro to SceneKit

  • A look at SceneKit and some key concepts, including 3D coordinates, aligning those coordinates with the real world, SceneKit geometries, and SceneKit’s node graph.

Your First SceneKit Shape

  • 設定sceneview

  • 在座標圓心畫個藍色球

Shiny Objects

  • You just drew a dull object. Now you’ll make it shiny, and learn about diffuse and specular reflection while doing so.

  • 畫一個正方體

Challenge: Draw a Shiny Green Pyramid

  • You know how to draw a sphere, and make it shiny and blue. Can you draw a shiny green pyramid?

Earth

  • Let's turn that shiny blue sphere into our home planet by covering it with a photo of the Earth’s surface.

  • 將中心的藍色圓球換成地球的圖片

Challenge: Cat On a Plane

  • Take what you’ve learned from the previous lesson and draw a flat surface with a cat picture on it.

  • 畫平面

Euler Angles

  • They’re pronounced “oiler”, not “yoo-ler”, and they’re how you can tilt objects at jaunty angles.

  • 畫個紅色甜甜圈

Challenge: Tilt the Cat

  • Now that you know about Euler angles, apply them to that cat picture.

  • 畫個有貓的圖面

Actions

  • Actions are objects that make changes to SceneKit objects. They can move objects, rotate them, grow and shrink them, change their appearance and more. Learn how to use them to put a little spin on the Earth!

  • 讓地球旋轉的action

Beyond Shapes

  • All this time, you’ve been drawing simple shapes using SceneKit geometries. Let’s draw something fancier.

  • 讀取太空梭3D物件,並繞地球進行旋轉

Conclusion

  • You’ve just completed a crash course in SceneKit and written some basic AR app. Let's review where you are and see what comes next.

Last updated