Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
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
 Linowes Linowes
Author Profile Icon Linowes
Linowes
 Babilinski Babilinski
Author Profile Icon Babilinski
Babilinski
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
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 with ARToolkit


Each of the platform variations in this chapter have been using the Vuforia VR toolkit. If you prefer the free open source ARToolkit you can implement the project using the following steps.

In this section, we will use open source ARToolkit in Unity on a Window 10 development machine and targeting an Android device. This is mostly a step-by-step walk-through. If you want a better explanation please refer back to the previous corresponding section and the ARToolkit section in Chapter 2, Setting Up Your System.

Setting up the project

Let's jump right in:

  1. Create a new 3D project in Unity, named BusinessCardART.
  2. Import the ARToolkit asset package (for example, ARUnity5-5.3.2.unitypackage) using Assets | Import Package | Custom Package....

Create the AR Controller object.

  1. Add an empty object using GameObject | Create Empty named AR Controller.
  2. Click Add Component and add ARController to it.
  3. Make sure the component script's Video Options' Layer attribute is set to AR Background...
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 $15.99/month. Cancel anytime
Visually different images