Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Augmented Reality for Developers

You're reading from   Augmented Reality for Developers Build practical augmented reality applications with Unity, ARCore, ARKit, and Vuforia

Arrow left icon
Product type Paperback
Published in Oct 2017
Publisher Packt
ISBN-13 9781787286436
Length 548 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Jonathan Linowes Jonathan Linowes
Author Profile Icon Jonathan Linowes
Jonathan Linowes
Krystian Babilinski Krystian Babilinski
Author Profile Icon Krystian Babilinski
Krystian Babilinski
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Augment Your World FREE CHAPTER 2. Setting Up Your System 3. Building Your App 4. Augmented Business Cards 5. AR Solar System 6. How to Change a Flat Tire 7. Augmenting the Instruction Manual 8. Room Decoration with AR 9. Poke the Ball Game

Building and running


In this section, we'll quickly step through the process of building the project for Android, iOS, and HoloLens devices. And, we'll see how to build it using AR Toolkit, instead of Vuforia.

Exporting the SolarSystem package

If you are considering building for more than one platform, you may want to save SolarSystem as a prefab and then export it as a Unity package to reuse in a different project:

  1. In Hierarchy, select the SolarSystem object and drag it onto the project window's Assets/SolarSystem/Prefabs folder.
  2. Right-click on the SolarSystem folder and select Export Package....
  3. Uncheck Include Dependencies.
  4. Uncheck the PlanetMarkerHandler.cs script since it specifically has Vuforia dependencies.
  5. Export it.

Now if you create a new project or scene, such as for HoloLens or AR Toolkit, you can drag the entire SolarSystem prefab into that scene.

Building for Android devices – Vuforia

Well, this is a short section. We have already set up the project for Android and Vuforia in the beginning...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime