Book Description

Develop and deploy augmented reality apps using Vuforia SDK and Unity 3D

  • Deploy full augmented reality experiences on iOS and Android
  • Build a fully-functional augmented reality game and deploy it on iOS and Android
  • Achieve better trackable performance for a robust experience
  • Understand the prefabs and components that make up Vuforia SDK
  • Explore the Unity environment to maximize your game development experience

In Detail

While augmented reality has been around for years, it has never reached its full potential. Now, the vast majority of people are walking around with powerful smartphones that are perfectly suited to house the AR experience. This is the reason why the technology has become as popular as it is now. Augmented reality can deliver a level of immersion that is unrivalled by any other method of development, as it blends our reality with overlaid computer generated data.

Developing AR Games for iOS and Android is a well-structured guide that introduces you to the augmented reality world using a step-by-step approach. It will help you understand how to create powerful AR apps using Unity as well as how to create immersive experiences for users.

Developing AR Games for iOS and Android examines the structures of Vuforia and Unity and how they work together to create augmented reality. The book will introduce you to the structure of the Unity environment and how Vuforia facilitates creating AR apps.You will also see how easy it is to build a whole world in Unity’s Editor. You will go through the process of using Vuforia prefabs like the AR camera and Image Target in Unity, where you can build the AR experience in a what-you-see-is-what-you-get fashion.

In Developing AR Games for iOS and Android, you will learn both basic and advanced techniques that can be applied to achieve truly immersive AR apps and then how to deploy them on iOS and Android devices.

Table of Contents

  1. Developing AR Games for iOS and Android
    1. Table of Contents
    2. Developing AR Games for iOS and Android
    3. Credits
    4. About the Authors
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. What is Augmented Reality?
      1. Definition of augmented reality
        1. The forms of augmented reality
      2. Smartphones and augmented reality
      3. Immersion factor for delivering content
      4. Vuforia SDK and how it helps in delivering the AR experience
      5. Unity 3D and how it fits with Vuforia
      6. Summary
    9. 2. Setting Up the Environment
      1. Downloading and installing Unity 3D
      2. Downloading and installing Vuforia
      3. Vuforia sample projects
      4. Starting a Unity project
        1. Unity scenes
        2. Importing packages in Unity
          1. Unity scene files
          2. Trackable files
      5. Build settings
        1. Deploying for Android
        2. Deploying for iOS
      6. Summary
    10. 3. Understanding Vuforia
      1. Creating a Unity project with Vuforia
      2. Vuforia prefabs
        1. Importing and attaching 3D objects
        2. Parenting in Unity objects
      3. Summary
    11. 4. Trackables and Tracking
      1. What are trackables for image targets?
      2. Creating image targets
      3. Trackable score
      4. What decides trackable score?
        1. Features definition
        2. Enhancing score by enhancing contrast
        3. Feature distribution on image targets
        4. How to enhance distribution of features
        5. Patterns in image targets
      5. Exporting datasets to Unity
      6. Summary
    12. 5. Advanced Augmented Reality
      1. Augmented reality games
      2. Unity as a game engine
        1. Setting up the environment
      3. The Whack-A-Mole game
        1. Creating the ground for moles
      4. The Whack-A-Mole model
        1. Adding colliders to the scene
      5. Creating the ball for the ball gun
        1. Setting global gravity settings
      6. Adding audio sources
      7. Scripting the ball gun
      8. Vuforia trackable event handler
      9. Adding a Particles prefab
      10. Scripting the mole character
      11. Mask shader
      12. Summary
    13. Index