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
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
Joshua Newnham Joshua Newnham
Author Profile Icon Joshua Newnham
Joshua Newnham
Arrow right icon
View More author details
Toc

Creating our first Mixed Reality scene

HoloLens works seamlessly with Unity. With minimal changes to the camera, we can quickly design, build, and deploy MR applications; we'll build one right now (albeit a very simple one).

Select the Main Camera in the Scene1 window of the Hierarchy panel and make the following changes in the Inspector panel:

  1. Set the Position of X as 0, Y as 0, and Z as 0.

  2. Select Solid Color for the Clear Flags field and set the Background color to black; black renders as transparent in HoloLens.
  3. Set the Clipping Planes | Near as 0.85 and Far as 10. Here, the value of 0.85 is a recommendation from Microsoft as spatial mapping is currently effective between the range of 0.85 meters and 4 meters, where 1 unit in Unity represents 1 meter in the physical world.

The following screenshot...

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