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
Explore 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
Augmented Reality for Developers
Augmented Reality for Developers

Augmented Reality for Developers: Build practical augmented reality applications with Unity, ARCore, ARKit, and Vuforia

eBook
€8.99 €32.99
Paperback
€41.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Augmented Reality for Developers

Setting Up Your System

Over the next two chapters, we are going to help set up your computer for augmented reality development. This chapter will focus on getting your Windows or macOS system ready for Unity development and installing various AR tool kits. The next chapter will focus on how to build and deploy project builds to specific AR devices. Also, we will use this opportunity to introduce you to the Unity development platform, including a little tour of the editor user interface and other key features of Unity.

If you are an experienced developer and are already using Unity, then you may be able to just skim through sections of this chapter, or even skip them altogether. Choose the topics that are relevant to you and your environment.

In this chapter we will cover the following topics:

  • Installing and using Unity
  • Using cameras in AR
  • Installing and using Vuforia
  • Installing...

Installing Unity

All of the projects in this book will be built using the Unity 3D game engine. Unity is a powerful, cross-platform 3D environment with a user-friendly development editor. It consists of an amalgamation of various modules for managing and rendering 3D objects, lighting, physics, animations, audio, and more. It is also widely used for developing 2D games; however, the only 2D-specific features we will use in a project are the screen-space user interface (UI). Each of the Unity modules has a programmer interface, or API, with a rich set of classes and functions, so the entire system can be accessed through scripts written in the C# programming language.

Unity provides a range of subscription and licensing options. For more details, see https://store.unity.com/. The basic Personal version is free to download and use, and is great for AR development. In fact, the Personal...

Introduction to Unity

When opening Unity, you are given the choices to start a new project, open an existing project, or watch a getting started video, as shown here:

To get started, let's create a new 3D project. Name it AR_is_Awesome or whatever you'd like as shown ahead:

Fill in the name for your project and verify that the folder location is what you want. Ensure that 3D is selected. There is no need to select any extra asset packages at this time. Click on Create Project.

Exploring the Unity Editor

Your new project opens in the Unity Editor, as shown here in its default layout:

The Unity Editor consists of a number of non-overlapping windows, or panels, that may be subdivided into panes. Here's a brief...

Using Cameras in AR

One more object we haven't discussed yet that is essential for any Unity application is the Camera. Unity developers may often add a Main Camera to their project scene and not give it much more thought. But in AR, the camera is especially important.

Cameras are devices that capture and display the virtual world for the player. For rendering computer graphics, the camera's Pose (position and rotation transform), its rectangular Viewport and Field of View (FOV) together define how much of the scene is visible and rendered on the screen. The camera Pose is where the camera is pointing. The Viewport is like a rectangular window that we're looking through; anything outside the Viewport is clipped and not drawn. The Field of View defines the viewing angle. In regular video games, developers enjoy the option to modify any of these options to give the...

Getting and using Vuforia

Now that you have Unity up and running on your development machine, the next step is to get the AR SDK imported into your Unity project. This section describes the Vuforia toolkit. If you do not want to use Vuforia, you can skip to the next section on getting and using ARToolkit.

Vuforia with Unity supports building AR applications for various platforms, including:

  • Android smartphones and tablets, using Windows or macOS
  • iOS iPhones and iPads, using macOS only
  • Windows 10 devices, including HoloLens, via UWP-Universal Windows Platform

The current list of devices supported can be found at https://www.vuforia.com/Devices.

In deciding to use Vuforia, please be aware of its licensing terms and pricing policy. This is commercial software. It is free to download and develop in your projects, but there are usage and distribution limitations in the free version...

Getting and using ARToolkit

This section describes the ARToolkit SDK for augmented reality development (http://artoolkit.org/). If you don't want to use ARToolkit, you can skip this section.

ARToolkit is an open source software project. It is free to use both for the development and the distribution of your apps that use it. Unlike Vuforia, there are no license fees. As an open source project, the source code is available to anyone who wants to use it, read it, and even extend it. ARToolkit is owned by DAQRI, a prominent AR industry leader, and is free to use under a LGPL v3.0 license (see http://archive.artoolkit.org/artoolkit-licensing).

If you distribute an app built with ARToolkit, it needs to include an acknowledgement and license notice, for example, in an about box. ARToolkit has the distinction of being perhaps the first and continuously supported open source AR SDK...

Installing Unity


All of the projects in this book will be built using the Unity 3D game engine. Unity is a powerful, cross-platform 3D environment with a user-friendly development editor. It consists of an amalgamation of various modules for managing and rendering 3D objects, lighting, physics, animations, audio, and more. It is also widely used for developing 2D games; however, the only 2D-specific features we will use in a project are the screen-space user interface (UI). Each of the Unity modules has a programmer interface, or API, with a rich set of classes and functions, so the entire system can be accessed through scripts written in the C# programming language.

Unity provides a range of subscription and licensing options. For more details, see https://store.unity.com/. The basic Personal version is free to download and use, and is great for AR development. In fact, the Personal version has all the same features of the paid versions! You need to go to a paid version only if your product...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Create unique AR applications from scratch, from beginning to end, with step-by-step tutorials
  • Use Unity 3D to efficiently create AR apps for Android, iOS, and Windows platforms
  • Use Vuforia, ARTookKit, Windows Mixed Reality, and Apple ARKit to build AR projects for a variety of markets
  • Learn best practices in AR user experience, software design patterns, and 3D graphics

Description

Augmented Reality brings with it a set of challenges that are unseen and unheard of for traditional web and mobile developers. This book is your gateway to Augmented Reality development—not a theoretical showpiece for your bookshelf, but a handbook you will keep by your desk while coding and architecting your first AR app and for years to come. The book opens with an introduction to Augmented Reality, including markets, technologies, and development tools. You will begin by setting up your development machine for Android, iOS, and Windows development, learning the basics of using Unity and the Vuforia AR platform as well as the open source ARToolKit and Microsoft Mixed Reality Toolkit. You will also receive an introduction to Apple's ARKit and Google's ARCore! You will then focus on building AR applications, exploring a variety of recognition targeting methods. You will go through multiple complete projects illustrating key market sectors including business marketing, education, industrial training, and gaming. By the end of the book, you will have gained the necessary knowledge to make quality content appropriate for a range of AR devices, platforms, and intended uses.

Who is this book for?

The ideal target audience for this book is developers who have some experience in mobile development, either Android or iOS. Some broad web development experience would also be beneficial.

What you will learn

  • ? Build Augmented Reality applications through a step-by-step, tutorial-style project approach
  • ? Use the Unity 3D game engine with the Vuforia AR platform, open source ARToolKit, Microsoft s Mixed Reality Toolkit, Apple ARKit, and Google ARCore, via the C# programming language
  • ? Implement practical demo applications of AR including education, games, business marketing, and industrial training
  • ? Employ a variety of AR recognition modes, including target images, markers, objects, and spatial mapping
  • ? Target a variety of AR devices including phones, tablets, and wearable smartglasses, for Android, iOS, and Windows HoloLens
  • ? Develop expertise with Unity 3D graphics, UIs, physics, and event systems
  • ? Explore and utilize AR best practices and software design patterns

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Oct 09, 2017
Length: 548 pages
Edition : 1st
Language : English
ISBN-13 : 9781787288041
Vendor :
Unity Technologies
Category :
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Oct 09, 2017
Length: 548 pages
Edition : 1st
Language : English
ISBN-13 : 9781787288041
Vendor :
Unity Technologies
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 111.97
Virtual Reality Blueprints
€32.99
Augmented Reality for Developers
€41.99
Augmented Reality Game Development
€36.99
Total 111.97 Stars icon
Banner background image

Table of Contents

9 Chapters
Augment Your World Chevron down icon Chevron up icon
Setting Up Your System Chevron down icon Chevron up icon
Building Your App Chevron down icon Chevron up icon
Augmented Business Cards Chevron down icon Chevron up icon
AR Solar System Chevron down icon Chevron up icon
How to Change a Flat Tire Chevron down icon Chevron up icon
Augmenting the Instruction Manual Chevron down icon Chevron up icon
Room Decoration with AR Chevron down icon Chevron up icon
Poke the Ball Game Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.7
(7 Ratings)
5 star 57.1%
4 star 0%
3 star 14.3%
2 star 14.3%
1 star 14.3%
Filter icon Filter
Top Reviews

Filter reviews by




Cliente de Amazon Jun 19, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book has a lot of examples that can be downloaded from the Internet, is useful for those trying to learn how to use Unity to create Augmented Reality applications.
Amazon Verified review Amazon
Oswaldo May 16, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Excellent product.
Amazon Verified review Amazon
Amazon カスタマー Feb 10, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A great book for beginners in the fieldWorth the buy
Amazon Verified review Amazon
Okenna Jan 21, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Thoroughly impressed with this text! It is a perfect reference and book to jump into if you’re looking to gain some understanding about AR and the budding technologies that are currently being built around it.
Amazon Verified review Amazon
lalumoreno Nov 22, 2018
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
Good contents and practical examples. Source code can be downloaded easily. Bad think is that the whole book is printed in black and white like copies, then the image quality is very low. I didn't expect that from this kind of resource.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.