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.
Author(s): Wallace Wang
Edition: 1
Publisher: Apress
Year: 2019
Language: English
Commentary: True PDF
Pages: 489
Tags: Image Processing; Image Analysis; Apple; iOS; Swift; Graphics; ARKit; Augmented Reality
Front Matter ....Pages i-xi
Understanding Augmented Reality and ARKit (Wallace Wang)....Pages 1-17
Getting to Know ARKit (Wallace Wang)....Pages 19-48
World Tracking (Wallace Wang)....Pages 49-78
Working with Shapes (Wallace Wang)....Pages 79-112
Working with Lights (Wallace Wang)....Pages 113-143
Positioning Objects (Wallace Wang)....Pages 145-162
Rotating Objects (Wallace Wang)....Pages 163-180
Drawing on the Screen (Wallace Wang)....Pages 181-203
Adding Touch Gestures to Augmented Reality (Wallace Wang)....Pages 205-238
Interacting with Augmented Reality (Wallace Wang)....Pages 239-260
Plane Detection (Wallace Wang)....Pages 261-297
Physics on Virtual Objects (Wallace Wang)....Pages 299-332
Interacting with the Real World (Wallace Wang)....Pages 333-363
Image Detection (Wallace Wang)....Pages 365-390
Displaying Video and Virtual Models (Wallace Wang)....Pages 391-406
Image Tracking and Object Detection (Wallace Wang)....Pages 407-436
Persistence (Wallace Wang)....Pages 437-460
Back Matter ....Pages 461-489