Book Image

Microsoft HoloLens Developer???s Guide

By : Dennis Vroegop
Book Image

Microsoft HoloLens Developer???s Guide

By: Dennis Vroegop

Overview of this book

HoloLens, Microsoft’s innovative augmented reality headset, overlaps holograms into a user’s vision of their environment. Your ideas are closer to becoming real when you can create and work with holograms in relation to the world around you. If you are dreaming beyond virtual worlds, beyond screens, beyond pixels, and want to take a big leap in the world of augmented reality, then this is the book you want. Starting off with brainstorming and the design process, you will take your first steps in creating your application for HoloLens. You will learn to add gestures and write an app that responds to verbal commands before gradually moving on creating sounds in the app and placing them in a 3D space. You will then communicate between devices in the boundaries of the UWP model.
Table of Contents (16 chapters)
Title Page
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Sharing world coordinates


So far, we have been sending random data back and forth. This is great; this means you can have users interact with each other's devices over the network. Imagine we have an app that has an option that toggles the state of a hologram. If one user toggles the state, we can send a message to the other user so that her hologram does the same.

However, what we have not done yet is share coordinates. If we want to place a hologram in the center of a table, then it would make sense if both users saw that object in the same location.

Of course, this only works if the users are in the same area. If they are remote, then you cannot do this. Remember the remark I made when we talked about loading spatial anchors, this can go wrong if the HoloLens does not recognize the room. The same goes for sharing anchors. You can share your anchors but there is no guarantee the receiving device actually understands this. You have to make sure your code handles this.

How would we do this...