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
Microsoft HoloLens By Example

You're reading from   Microsoft HoloLens By Example Create immersive Augmented Reality experiences

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher Packt
ISBN-13 9781787126268
Length 406 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
 Newnham Newnham
Author Profile Icon Newnham
Newnham
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Enhancing Reality FREE CHAPTER 2. Tagging the World Using DirectX 3. Assistant Item Finder Using DirectX 4. Building Paper Trash Ball in Unity 5. Building Paper Trash Ball Using Holotoolkit in Unity 6. Interacting with Holograms Using Unity 7. Collaboration with HoloLens Using Unity 8. Developing a Multiplayer Game Using Unity 9. Deploying Your Apps to the HoloLens Device and Emulator

Mapping our environment


As discussed in Chapter 1Enhancing Reality, spatial mapping is the process of scanning and mapping the physical environment, making it digitally accessible. Having access to the physical environment allows us to create experiences that better integrate with the real world, by creating a greater illusion of realism or utility through understanding the user's context better. In this chapter, we are interested in creating a more immersive experience by merging the virtual and real worlds.

Here, we will learn how to scan and visualize the environment and then use this mapping to place our bin onto a suitable surface, a place where one would expect to find a bin in the real world--on the floor.

Unity provides two ways we can perform spatial mapping; the first uses prebuild components and the second uses the low-level APIs from the UnityEngine.VR.WSA namespace. In the subsequent sections, we will explore both approaches, starting with the low-level APIs.

Just before jumping...

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 £13.99/month. Cancel anytime
Visually different images