Group Group Group Group Group Group Group Group Group Group Shape Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group
Skip to Content
  • iii. Dedications
  • More
    • NewsletterNewsletter
    • ForumsForums
Sign In
Create a free account
  • Search
  • Notebook
  • Customise
Pro

Apple Augmented Reality by Tutorials

Second Edition Swift 5.4, iOS 15, Xcode 13

Before You Begin

Section 0: 5 chapters
  • i. What You Need
  • ii. Book Source Code & Forums
  • iii. Dedications
  • iv. About the Team
  • v. Introduction
    • How To Read This Book

Section I: Reality Composer

Section 1: 5 chapters
  • 1. AR Quick Start
    • 1.1 Creating an AR Project with Xcode
    • 1.2 Exploring the Project
    • 1.3 Asking for Camera Permission
    • 1.4 Adding Custom Assets
    • 1.5 Presenting the Custom Scene
    • 1.6 Setting Up the UI
    • 1.7 Adding Tank Animations
    • 1.8 Parenting Entities
    • 1.9 Adding Turret Animations
    • 1.10 Final Touches
    • 1.11 Key Points
  • 2. AR Quick Look
    • 2.1 What is AR Quick Look?
    • 2.2 AR Quick Look Features
    • 2.3 AR Quick Look Limitations
    • 2.4 Experiencing AR Quick Look
    • 2.5 AR Quick Look for Web
    • 2.6 AR Quick Look for Apps
    • 2.7 Key Points
    • 2.8 Where To Go From Here?
  • 3. Reality Composer & Reality Files
    • 3.1 What is Reality Composer?
    • 3.2 Reality Composer Features
    • 3.3 Reality Composer’s Limitations
    • 3.4 Creating Reality Composer Projects
    • 3.5 Exploring the UI
    • 3.6 Adding Scenes
    • 3.7 Navigating Scenes
    • 3.8 Adding Objects
    • 3.9 Adjusting Object Transforms
    • 3.10 Adjusting Object Properties
    • 3.11 Enabling Physics
    • 3.12 Playing Scenes
    • 3.13 What Are Reality Files?
    • 3.14 Key Points
  • 4. USDZ Files & USD Python Tools
    • 4.1 What is USD?
    • 4.2 What is USDZ?
    • 4.3 USDZ Tools
    • 4.4 Reviewing the Project
    • 4.5 Exporting 3D Models
    • 4.6 Converting 3D Models to USDZ
    • 4.7 Converting USDZ to USDA
    • 4.8 Inspecting and Validating USDZ
    • 4.9 Importing USDZ Assets
    • 4.10 Key Points
    • 4.11 Where To Go From Here?
  • 5. Reality Converter & PBR Materials
    • 5.1 What is Reality Converter?
    • 5.2 Adding a 3D Model
    • 5.3 PBR Materials
    • 5.4 Environment
    • 5.5 Properties
    • 5.6 Sharing
    • 5.7 Exporting USDZ
    • 5.8 Key Points

Section II: Reality Composer & Image Tracking

Section 2: 2 chapters
  • 6. Image Anchors
    • 6.1 What Are Image Anchors?
    • 6.2 Creating an Image Anchor Project
    • 6.3 Adding an Image
    • 6.4 Adding 3D Text
    • 6.5 Completing the Scene
    • 6.6 Editing on iOS
    • 6.7 Key Points
  • 7. Behaviors, Triggers & Actions
    • 7.1 What Are Behaviors?
    • 7.2 What Are Triggers?
    • 7.3 What Are Actions?
    • 7.4 Adding a Behavior Preset
    • 7.5 Adding Action Sequences
    • 7.6 Adding Custom Behaviors
    • 7.7 Duplicating Behaviors
    • 7.8 Challenge Yourself
    • 7.9 Key Points

Section III: Reality Composer & Object Tracking

Section 3: 1 chapter
  • 8. Object Anchors
    • 8.1 Crafting a Toy Truck
    • 8.2 What Are Object Anchors?
    • 8.3 Installing the 3D Object Scanner
    • 8.4 Preparing for 3D Object Scanning
    • 8.5 Scanning 3D Objects
    • 8.6 Testing and Improving 3D Scans
    • 8.7 Exporting AR Objects
    • 8.8 Creating Object Anchors
    • 8.9 Key Points

Section IV: RealityKit & Face Tracking

Section 4: 3 chapters
  • 9. RealityKit
    • 9.1 What is RealityKit?
    • 9.2 Creating a RealityKit Project
    • 9.3 RealityKit API Components
    • 9.4 Building the UI with SwiftUI
    • 9.5 Taking Selfies
    • 9.6 Key Points
    • 9.7 Where To Go From Here?
  • 10. Face Anchors
    • 10.1 What Are Face Anchors?
    • 10.2 Creating Face Anchors
    • 10.3 Creating Multiple Scenes
    • 10.4 Code Generation
    • 10.5 Fixing the Project
    • 10.6 Switching to the Front-Facing Camera
    • 10.7 Switching Between Multiple Scenes
    • 10.8 Testing the App
    • 10.9 Manually Removing Anchors
    • 10.10 Key Points
  • 11. Facial Blend Shapes
    • 11.1 What Are Facial Blend Shapes?
    • 11.2 Building the Robot
    • 11.3 Adding the New Robot Scene
    • 11.4 Using the ARSessionDelegate Protocol
    • 11.5 Adding ARDelegateHandler
    • 11.6 Handling ARSession Updates
    • 11.7 Tracking Blinking Eyes
    • 11.8 Tracking Eyebrows
    • 11.9 Tracking the Jaw
    • 11.10 Positioning with Quaternions
    • 11.11 Updating the Eyelids
    • 11.12 Updating the Jaw
    • 11.13 Adding Lasers
    • 11.14 Sending & Receiving Notifications
    • 11.15 Key Points

Section V: ARKit & SpriteKit

Section 5: 3 chapters
  • 12. ARKit
    • 12.1 What is ARKit?
    • 12.2 ARKit-powered App Examples
    • 12.3 ARKit’s Features
    • 12.4 ARKit’s Limitations
    • 12.5 ARKit Resources
    • 12.6 Key Points
  • 13. ARKit & SpriteKit
    • 13.1 What is SpriteKit?
    • 13.2 Creating a SpriteKit AR Project
    • 13.3 Exploring the Project
    • 13.4 ARSKView & ARSession
    • 13.5 Creating a Heads-Up Display (HUD)
    • 13.6 Adding Game State
    • 13.7 Creating a Spawn Point
    • 13.8 ARSKViewDelegate
    • 13.9 Adding a Spawn Point
    • 13.10 Handling Problems with the AR Session
    • 13.11 Key Points
  • 14. Raycasting & Physics
    • 14.1 Spawning Emojis
    • 14.2 Enabling Physics
    • 14.3 Force
    • 14.4 Torque
    • 14.5 Actions
    • 14.6 Understanding 2D Raycasting
    • 14.7 Handling Touches
    • 14.8 Adding Finishing Touches
    • 14.9 Key Points

Section VI: ARKit & SceneKit

Section 6: 2 chapters
  • 15. ARKit & SceneKit
    • 15.1 What is SceneKit?
    • 15.2 Creating a SceneKit AR Project
    • 15.3 Exploring the Project
    • 15.4 Loading & Exploring the Starter Project
    • 15.5 App State Management
    • 15.6 Basic Scene Management
    • 15.7 AR Session Management
    • 15.8 AR Coaching Overlay
    • 15.9 Key Points
  • 16. Focus Nodes & Billboards
    • 16.1 Importing 3D Assets
    • 16.2 Focus Nodes
    • 16.3 Adding Billboard Constraints
    • 16.4 Creating the Scene
    • 16.5 Adding a Shadow Catcher
    • 16.6 Loading the Scene
    • 16.7 Presenting the Scene
    • 16.8 Adding Interaction
    • 16.9 Enabling Statistics & Debugging (Optional)
    • 16.10 Adding the Final Touches
    • 16.11 Key Points

Section VII: ECS & Collaborative Experiences (Bonus Section)

Section 7: 1 chapter
  • 17. ECS & Collaborative Experiences
    • 17.1 Exploring the Project
    • 17.2 Creating the AR View
    • 17.3 What is ECS?
    • 17.4 Creating the Game Board
    • 17.5 Placing Content
    • 17.6 Collaborative Experiences
    • 17.7 Configuring RealityKit for Collaboration
    • 17.8 Requesting Network Permissions
    • 17.9 Managing Ownership
    • 17.10 Removing Anchors
    • 17.11 Key Points

Section VIII: Creating 3D Models With Object Capture (Bonus Section))

Section 8: 2 chapters
  • 18. Creating 3D Models With Object Capture
    • 18.1 What is Photogrammetry?
    • 18.2 Preparing for Object Capture
    • 18.3 Taking Photos
    • 18.4 Creating a Photogrammetry App
    • 18.5 Introducing PhotoCatch
    • 18.6 Key Points
  • 19. Conclusion
Home iOS & Swift Books Apple Augmented Reality by Tutorials

iii
Dedications Written by Chris Language

“To my wife Corné and my daughter Marizé. Thank you for your patience, support, belief, and most of all, your love. Everything I do, I do for you.”

— Chris Language

iv. About the Team ii. Book Source Code & Forums

Have a technical question? Want to report a bug? You can ask questions and report bugs to the book authors in our official book forum here.

© 2022 Razeware LLC