Book description
Explore the world of augmented reality development with the latest features of Unity and step-by-step tutorial-style examples with easy-to-understand explanations
Key Features
- Build functional and interactive augmented reality applications using the Unity 3D game engine
- Learn to use Unity's XR and AR components, including AR Foundation and other standard Unity features
- Implement common AR application user experiences needed to build engaging applications
Book Description
Augmented reality applications allow people to interact meaningfully with the real world through digitally enhanced content.
The book starts by helping you set up for AR development, installing the Unity 3D game engine, required packages, and other tools to develop for Android (ARCore) and/or iOS (ARKit) mobile devices. Then we jump right into the building and running AR scenes, learning about AR Foundation components, other Unity features, C# coding, troubleshooting, and testing. We create a framework for building AR applications that manages user interaction modes, user interface panels, and AR onboarding graphics that you will save as a template for reuse in other projects in this book. Using this framework, you will build multiple projects, starting with a virtual photo gallery that lets you place your favorite framed photos on your real-world walls, and interactively edit these virtual objects. Other projects include an educational image tracking app for exploring the solar system, and a fun selfie app to put masks and accessories on your face. The book provides practical advice and best practices that will have you up and running quickly.
By the end of this AR book, you will be able to build your own AR applications, engaging your users in new and innovative ways.
What you will learn
- Discover Unity engine features for building AR applications and games
- Get up to speed with Unity AR Foundation components and the Unity API
- Build a variety of AR projects using best practices and important AR user experiences
- Understand the core concepts of augmented reality technology and development for real-world projects
- Set up your system for AR development and learn to improve your development workflow
- Create an AR user framework with interaction modes and UI, saved as a template for new projects
Who this book is for
This augmented reality book is for game developers interested in adding AR capabilities to their games and apps. The book assumes beginner-level knowledge of Unity development and C# programming, familiarity with 3D graphics, and experience in using existing AR applications. Beginner-level experience in developing mobile applications will be helpful to get the most out of this AR Unity book.
Table of contents
- Augmented Reality with Unity AR Foundation
- Contributors
- About the author
- About the reviewers
- Preface
- Section 1 – Getting Started with Augmented Reality
- Chapter 1: Setting Up for AR Development
- Chapter 2: Your First AR Scene
- Chapter 3: Improving the Developer Workflow
- Section 2 – A Reusable AR User Framework
-
Chapter 4: Creating an AR User Framework
- Technical requirements
- Understanding AR interaction flow
- Installing prerequisite assets
- Starting with a new scene
- Creating the UI canvas and panels
- Creating the UI controller
- Creating an Interaction Controller mode
- Creating the interaction modes behavior
- Testing it out
- Using the Unity onboarding UX assets
- Creating a scene template for new scenes
- Summary
- Chapter 5: Using the AR User Framework
- Section 3 – Building More AR Projects
- Chapter 6: Gallery: Building an AR App
- Chapter 7: Gallery: Editing Virtual Objects
-
Chapter 8: Planets: Tracking Images
- Technical requirements
- Understanding AR image tracking
- Specifying the Planets project
- Getting started
- Tracking reference images
- Configuring the user interaction modes and UI
- Creating and instantiating a virtual Earth prefab
- Building the app's Main-mode
- Expanding the project with multiple planets
- Making a responsive UI
- Summary
-
Chapter 9: Selfies: Making Funny Faces
- Technical requirements
- Understanding face tracking
- Getting started
- Configuring a new AR scene for face tracking
- Tracking the face pose with 3D heads
- Building the Main mode and menu
- Attaching 3D Accessories
- Making dynamic face meshes with a variety of materials
- Using eye tracking (ARKit)
- Attaching stickers to face regions (ARCore)
- Tracking expressive face blend shapes (ARKit)
- Summary
- Why subscribe?
- Other Books You May Enjoy
Product information
- Title: Augmented Reality with Unity AR Foundation
- Author(s):
- Release date: August 2021
- Publisher(s): Packt Publishing
- ISBN: 9781838982591
You might also like
video
Unity Android — Build Eight Mobile Games with Unity and C#
For game developers, the Android Play Store is no longer an evolving market but an established …
book
Unity Game Development Cookbook
Discover how to use the Unity game engine to its full potential for both 3D and …
book
Mind-Melding Unity and Blender for 3D Game Development
Add Blender to your Unity game development projects to unlock new possibilities and decrease your dependency …
book
Hands-On Unity 2021 Game Development - Second Edition
Achieve mesmerizing game experiences using the latest Unity 2021 features by following a practical approach to …