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
HoloLens Beginner???s Guide

You're reading from   HoloLens Beginner???s Guide Join the AR revolution with HoloLens

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781786464729
Length 376 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Jason M. Odom Jason M. Odom
Author Profile Icon Jason M. Odom
Jason M. Odom
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface Welcome to the New World FREE CHAPTER HoloWorld I am in Control User-Friendly Interface Now That Is How It Should Sound Not So Blank Spaces The Tools of the Trade Share What You Have Got Putting It All Together Fixing Problems

Spatial Mapping in practice


Here, we will put the Spatial Mapping prefab into our application and set up the Spatial Mapping model that we imported in the preceding section. This will allow us to see Spatial Mapping at work inside the Unity Editor without having to go back and forth to the HoloLens.

In your Project View, go to the HoloToolkit | Spatial Mapping | Prefabs directory and click on the Spatial Mapping prefab and drag it to the Hierarchy view and release it.

Spatial Mapping can be broken down into two primary parts:

  • Spatial Surface Observer: This component allows us access to the Spatial Mapping surface information created by the HoloLens sensor array. 
  • Spatial Surface: The surface information or mesh data that is created by the sensor array on the HoloLens. Simply put, this is a collection of all the surfaces that can be seen by the HoloLens, converted into triangles.

If you look at the Inspector now, you should see a Game Object with three main components: the Spatial Mapping Observer...

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 ₹800/month. Cancel anytime