Book Description

Explore how to use ARKit to create iOS apps and learn the basics of augmented reality while diving into ARKit specific topics. This book reveals how augmented reality allows you to view the screen on an iOS device, aim the camera at a nearby scene, and view both the real items in that scene as well as a graphic image overlaid on to that scene. 

You’ll start by accessing the camera and teaching your app to track the world around its device. You'll then see how to position nodes and create augmented reality shapes and textures. Next you’ll have your creations interact with their environment by programming workable physics, detecting planes, measuring distance, and applying virtual force. Finally you’ll learn how to hit test and troubleshoot your applications to ensure they interact with the real world around them seamlessly.

ARKit is Apple’s software framework for creating augmented reality apps on iOS devices such as the iPhone and iPad. Unlike virtual reality that creates an entirely artificial world for the user to view and explore, Beginning ARKit for iPhone and iPad will show you how augmented reality places artificial items in an actual scene displayed by an iOS device’s camera.  

What You’ll Learn

  • Access the camera
  • Use ARKit’s hit testing for tracked geometry
  • Apply and combine real world and virtual physics

Who This Book Is For

Programmers familiar with the basics of Swift programming who want to dive into developing iOS applications with Swift.

Table of Contents

  1. Cover
  2. Front Matter
  3. 1. Understanding Augmented Reality and ARKit
  4. 2. Getting to Know ARKit
  5. 3. World Tracking
  6. 4. Working with Shapes
  7. 5. Working with Lights
  8. 6. Positioning Objects
  9. 7. Rotating Objects
  10. 8. Drawing on the Screen
  11. 9. Adding Touch Gestures to Augmented Reality
  12. 10. Interacting with Augmented Reality
  13. 11. Plane Detection
  14. 12. Physics on Virtual Objects
  15. 13. Interacting with the Real World
  16. 14. Image Detection
  17. 15. Displaying Video and Virtual Models
  18. 16. Image Tracking and Object Detection
  19. 17. Persistence
  20. Back Matter