SlideShare a Scribd company logo
www.cameronvetter.com 1
Augmented
Reality
Let’s Make Some
Holograms!
Goal of this Presentation
www.cameronvetter.com 2
Learn AR Terminology
Build an Application
See Some
Code
See Lot’s of
Examples
www.cameronvetter.com
About Me Senior Software Architect
www.cameronvetter.com
@PoshPorcupine
Presentation Roadmap
www.cameronvetter.com 4
Holograms
Persistence
Control
Real World Understanding
Spatial Mapping
Plane Finding
Spatial Understanding
Gaze
Cursor
Gestures
Voice
Billboarding
Placement
Physics
World Anchors
Holographic Lens
1268 x 720 Per Eye
3 Waveguide Lenses Per Eye
Intel Atom CPU
X5-Z8100 1.4 GHZ
2GB Ram
Holographic Processing Unit
Custom build Microsoft GPU
Sensors
4 Environment Cameras
1 Depth Camera
1 Video Camera
4 Microphones
1 Light Sensor
What is the HoloLens?
www.cameronvetter.com 05
Development Tools
www.cameronvetter.com 6
Visual Studio 2015 Update 3
Windows 10 SDK
Unity 3d HoloLens Technical Preview
HoloLens Emulator
HoloToolkit / HoloToolkit-Unity
Real World
Understanding
www.cameronvetter.com 7
World Coordinate System
1 Unit = 1 Meter
User Start is Origin
X=0, Y=0, Z=0
Hidden Triangles
Called the Spatial Mesh
Spatial Anchors
Attach Hologram to Reference Points
in the Spatial Map
Spatial Mapping
www.cameronvetter.com 08
Room Mesh
Visualized with Solids in the
Illustration
Physics
Holograms and Real World interact
with each other through Game
Engine Physics
Occlusion
Works Both Ways
Plane Finding
Ability to Find Planes in the Real
World
What do we get?
www.cameronvetter.com 09
Uses Spatial Map
Spatial Map Data used to find Planes
Type of Planes
Walls
Floor
Ceiling
Horizontal Surfaces
Other
Skipping this Topic
We now have Spatial Understanding
Plane Finding
www.cameronvetter.com 010
World Understanding
More Detail than Spatial Map
Topology Queries
Simple Surface and Spatial Queries
Object Placement Solver
Constraint Based Placement of
Object Sets
Shape Queries
Look for Real World Shape Matching
Custom Shape by the User
Spatial Understanding
www.cameronvetter.com 011
Demos
www.cameronvetter.com
Spatial
Mapping
Spatial
Understanding
Holograms
www.cameronvetter.com 13
Body Locked
Tags Along with the Display
Display Locked
Positionally Locked to the Display
Use Sparingly
Clinginess is Frustrating for Users
Breaks Illusion
Holograms are Intended to Blend,
Not Overlay
Billboarding
www.cameronvetter.com 014
Relative to Origin
Origin is Starting Position, Not
Current Position
Relative to Real World
Must take into Account, Real World
Objects
Spatial Understanding
Used to Accurately Place Objects
with Object Placement Solver
Plane Finding
Used to Quickly Find Ceiling, Tables,
Walls, and Other Surfaces
Placement
www.cameronvetter.com 015
Tracks World State
Real World Objects and Holograms
Placement Types
OnFloor, OnWall, OnCeiling,
OnShape, OnEdge,
OnFloorAndCeiling, RandomInAir,
InMidAir, UnderFurnitureEdge
Placement Constraint
NearPoint, NearWall,
AwayFromOtherObjects,
AwayFromPoint
Placement Rules
AwayFromPosition, AwayFromWalls,
AwayFromOtherObjects
Object Placement Solver
www.cameronvetter.com 016
Unity Engine Provided
Add a RigidBody to Any Hologram to
Make it Observe Game Engine
Physics
Spatial Map Collider
Each Plane in the Spatial Mesh
Receives a Unity Collider
Not the Other Way
Real World Objects are not Impacted
by Holograms
Real World Impact
Holograms are Impacted by Real
World
Physics
www.cameronvetter.com 017
Demos
www.cameronvetter.com
Placement
Solver
Physics
Control
www.cameronvetter.com 19
Detects Using Raycast
Raycast from User’s Eyes to Unity
Collider
Primary Interaction
Looking At Holograms is the Primary
Way to Interact with Holograms
Real World has Colliders
Remember During Spatial Mapping
the Real World is given Colliders
Invisible Objects
Any Holograms missing a Collider
are not Selectable with Gaze
Gaze
www.cameronvetter.com 020
Center of View
Display Locked to Center of View
Requires Gaze
Cursor Depends on Gaze, Expect
Both to be in Every Project
Stick with Standard Cursor
Use Microsoft Provided Cursors
Unless you Have a Good Reason to
Customize, TIP: You Don’t
Selection
Primarily used for Selection
Confirmation in Conjunction with
Gaze and Gestures
Cursor
www.cameronvetter.com 021
The Cursor
Bloom
Task Switch / Start Menu
Air Tap
Similar to Primary Mouse Button
Manipulation
Typically Used to Move or Drag
Items
Hold
Similar to Right Clicking
Gestures
www.cameronvetter.com 022
Auxiliary Controls
The Real Right Click
Use Windows 10 Speech
Standard Engine Built into Windows
System Level Commands
Select == Air Tap
Face Me
Bigger
Smaller
Concise Commands
Too Long is Hard to Remember
Too Short is Hard to Differentiate
Voice Input
www.cameronvetter.com 023
Demos
www.cameronvetter.com
Gaze / Cursor Voice Input
Persistence
www.cameronvetter.com 25
Frame of Reference
Requires Stationary Frame of
Reference all Anchors are Tracked
Relative to
Attaches Hologram
Hologram is Attached to Frame of
Reference, Remains Stationary as
Coordinate System Changes
Persistable
HoloToolkit has built in Serializer
Separate Coordinate System
Anchor has own Coordinate System,
adjusts as World Coordinate System
changes to Keep Hologram in Place
Spatial Anchors
www.cameronvetter.com 026
Unity Specific for AR
Not Hololens Specific, Unity Specific
Uses Spatial Anchor
World Anchor is a Wrapped Spatial
Anchor
Persist Between Sessions
Survives App Restarts
Unity Anchor Store
World Anchors are Managed by
Unity Engine
World Anchors
www.cameronvetter.com 027
LIVE DEMO!!!
www.cameronvetter.com 28
01
02
03
04
05
06
Place Holograms
Map the Room
Use A Gesture
Shadows
Voice Commands
Physics
In Summary
www.cameronvetter.com 29
Holograms
Persistence
Control
Real World Understanding
Spatial Mapping
Plane Finding
Spatial Understanding
Gaze
Cursor
Gestures
Voice
Billboarding
Placement
Physics
World Anchors
www.cameronvetter.com 30
www.cameronvetter.com
cameron@cameronvetter.co
m
@poshporcupine
Any Questions?

More Related Content

PPTX
Augmented Reality - Let’s Make Some Holograms! (UXD Version)
PPTX
Augmented reality for the Enterprise
PPTX
Developing Virtual Reality Application using Google Cardboard
PDF
PDF
Matteo Valoriani - How Augment your Reality: different perspective on the Rea...
PPTX
02 unity 3_d_part_1
PDF
Fps tutorial 1
PDF
Fps tutorial 2
Augmented Reality - Let’s Make Some Holograms! (UXD Version)
Augmented reality for the Enterprise
Developing Virtual Reality Application using Google Cardboard
Matteo Valoriani - How Augment your Reality: different perspective on the Rea...
02 unity 3_d_part_1
Fps tutorial 1
Fps tutorial 2

Similar to Augmented Reality - Let’s Make Some Holgrams! (Developer Version) (20)

PDF
Immerge yourself in a new Reality
PDF
Immerge yourself in a new Reality - Alessandro Pozone - Codemotion Rome 2018
PDF
[Paper Presentation] FoveAR: Combining an Optically See-Through Near-Eye Disp...
PDF
How Augment your Reality: Different perspective on the Reality / Virtuality C...
PPTX
Hihihihihihihivivivirtual reality.ppt.pptx
PDF
Алексей Рыбаков (Senior Engineer,Technical Evangelist DataArt )
PDF
HoloLens.pdf
DOCX
Holography
PDF
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
PPTX
Hacking for salone: drone races
PDF
Introduction to development
PPTX
Building the Matrix: Your First VR App (SVCC 2016)
PPTX
vodQA Pune (2019) - Augmented reality overview and testing challenges
PPTX
Augmented reality for consumer devices
PPTX
IoT Day Italy - Mixed Reality & IoT
PPTX
eng.pptx
PPTX
Virtual_Reality_New.pptx
PDF
Virtual Reality
PDF
On-device Motion Tracking for Immersive VR
Immerge yourself in a new Reality
Immerge yourself in a new Reality - Alessandro Pozone - Codemotion Rome 2018
[Paper Presentation] FoveAR: Combining an Optically See-Through Near-Eye Disp...
How Augment your Reality: Different perspective on the Reality / Virtuality C...
Hihihihihihihivivivirtual reality.ppt.pptx
Алексей Рыбаков (Senior Engineer,Technical Evangelist DataArt )
HoloLens.pdf
Holography
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
Hacking for salone: drone races
Introduction to development
Building the Matrix: Your First VR App (SVCC 2016)
vodQA Pune (2019) - Augmented reality overview and testing challenges
Augmented reality for consumer devices
IoT Day Italy - Mixed Reality & IoT
eng.pptx
Virtual_Reality_New.pptx
Virtual Reality
On-device Motion Tracking for Immersive VR
Ad

More from Cameron Vetter (10)

PPTX
Why do most machine learning projects never make it to production
PPTX
Ml.net machine learning for .net developers!
PPTX
Cloud First Architecture
PDF
Mixed reality the second generation is all about ux
PPTX
Global ai night sept 2019 - Milwaukee
PPTX
Integrating Machine Learning Capabilities into your team
PPTX
Azure Notebooks - Jupyter for the Cloud
PPTX
An Introduction to Artificial Neural Networks
PPTX
Azure Batch AI for Neural Networks
PPTX
Using a Service Bus for Microservice Communication
Why do most machine learning projects never make it to production
Ml.net machine learning for .net developers!
Cloud First Architecture
Mixed reality the second generation is all about ux
Global ai night sept 2019 - Milwaukee
Integrating Machine Learning Capabilities into your team
Azure Notebooks - Jupyter for the Cloud
An Introduction to Artificial Neural Networks
Azure Batch AI for Neural Networks
Using a Service Bus for Microservice Communication
Ad

Recently uploaded (20)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
Teaching material agriculture food technology
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Machine learning based COVID-19 study performance prediction
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Encapsulation theory and applications.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Modernizing your data center with Dell and AMD
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The Rise and Fall of 3GPP – Time for a Sabbatical?
Network Security Unit 5.pdf for BCA BBA.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Per capita expenditure prediction using model stacking based on satellite ima...
Teaching material agriculture food technology
Dropbox Q2 2025 Financial Results & Investor Presentation
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Machine learning based COVID-19 study performance prediction
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity
The AUB Centre for AI in Media Proposal.docx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Advanced methodologies resolving dimensionality complications for autism neur...
Encapsulation theory and applications.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Empathic Computing: Creating Shared Understanding
Modernizing your data center with Dell and AMD
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

Augmented Reality - Let’s Make Some Holgrams! (Developer Version)

  • 2. Goal of this Presentation www.cameronvetter.com 2 Learn AR Terminology Build an Application See Some Code See Lot’s of Examples
  • 3. www.cameronvetter.com About Me Senior Software Architect www.cameronvetter.com @PoshPorcupine
  • 4. Presentation Roadmap www.cameronvetter.com 4 Holograms Persistence Control Real World Understanding Spatial Mapping Plane Finding Spatial Understanding Gaze Cursor Gestures Voice Billboarding Placement Physics World Anchors
  • 5. Holographic Lens 1268 x 720 Per Eye 3 Waveguide Lenses Per Eye Intel Atom CPU X5-Z8100 1.4 GHZ 2GB Ram Holographic Processing Unit Custom build Microsoft GPU Sensors 4 Environment Cameras 1 Depth Camera 1 Video Camera 4 Microphones 1 Light Sensor What is the HoloLens? www.cameronvetter.com 05
  • 6. Development Tools www.cameronvetter.com 6 Visual Studio 2015 Update 3 Windows 10 SDK Unity 3d HoloLens Technical Preview HoloLens Emulator HoloToolkit / HoloToolkit-Unity
  • 8. World Coordinate System 1 Unit = 1 Meter User Start is Origin X=0, Y=0, Z=0 Hidden Triangles Called the Spatial Mesh Spatial Anchors Attach Hologram to Reference Points in the Spatial Map Spatial Mapping www.cameronvetter.com 08
  • 9. Room Mesh Visualized with Solids in the Illustration Physics Holograms and Real World interact with each other through Game Engine Physics Occlusion Works Both Ways Plane Finding Ability to Find Planes in the Real World What do we get? www.cameronvetter.com 09
  • 10. Uses Spatial Map Spatial Map Data used to find Planes Type of Planes Walls Floor Ceiling Horizontal Surfaces Other Skipping this Topic We now have Spatial Understanding Plane Finding www.cameronvetter.com 010
  • 11. World Understanding More Detail than Spatial Map Topology Queries Simple Surface and Spatial Queries Object Placement Solver Constraint Based Placement of Object Sets Shape Queries Look for Real World Shape Matching Custom Shape by the User Spatial Understanding www.cameronvetter.com 011
  • 14. Body Locked Tags Along with the Display Display Locked Positionally Locked to the Display Use Sparingly Clinginess is Frustrating for Users Breaks Illusion Holograms are Intended to Blend, Not Overlay Billboarding www.cameronvetter.com 014
  • 15. Relative to Origin Origin is Starting Position, Not Current Position Relative to Real World Must take into Account, Real World Objects Spatial Understanding Used to Accurately Place Objects with Object Placement Solver Plane Finding Used to Quickly Find Ceiling, Tables, Walls, and Other Surfaces Placement www.cameronvetter.com 015
  • 16. Tracks World State Real World Objects and Holograms Placement Types OnFloor, OnWall, OnCeiling, OnShape, OnEdge, OnFloorAndCeiling, RandomInAir, InMidAir, UnderFurnitureEdge Placement Constraint NearPoint, NearWall, AwayFromOtherObjects, AwayFromPoint Placement Rules AwayFromPosition, AwayFromWalls, AwayFromOtherObjects Object Placement Solver www.cameronvetter.com 016
  • 17. Unity Engine Provided Add a RigidBody to Any Hologram to Make it Observe Game Engine Physics Spatial Map Collider Each Plane in the Spatial Mesh Receives a Unity Collider Not the Other Way Real World Objects are not Impacted by Holograms Real World Impact Holograms are Impacted by Real World Physics www.cameronvetter.com 017
  • 20. Detects Using Raycast Raycast from User’s Eyes to Unity Collider Primary Interaction Looking At Holograms is the Primary Way to Interact with Holograms Real World has Colliders Remember During Spatial Mapping the Real World is given Colliders Invisible Objects Any Holograms missing a Collider are not Selectable with Gaze Gaze www.cameronvetter.com 020
  • 21. Center of View Display Locked to Center of View Requires Gaze Cursor Depends on Gaze, Expect Both to be in Every Project Stick with Standard Cursor Use Microsoft Provided Cursors Unless you Have a Good Reason to Customize, TIP: You Don’t Selection Primarily used for Selection Confirmation in Conjunction with Gaze and Gestures Cursor www.cameronvetter.com 021 The Cursor
  • 22. Bloom Task Switch / Start Menu Air Tap Similar to Primary Mouse Button Manipulation Typically Used to Move or Drag Items Hold Similar to Right Clicking Gestures www.cameronvetter.com 022
  • 23. Auxiliary Controls The Real Right Click Use Windows 10 Speech Standard Engine Built into Windows System Level Commands Select == Air Tap Face Me Bigger Smaller Concise Commands Too Long is Hard to Remember Too Short is Hard to Differentiate Voice Input www.cameronvetter.com 023
  • 26. Frame of Reference Requires Stationary Frame of Reference all Anchors are Tracked Relative to Attaches Hologram Hologram is Attached to Frame of Reference, Remains Stationary as Coordinate System Changes Persistable HoloToolkit has built in Serializer Separate Coordinate System Anchor has own Coordinate System, adjusts as World Coordinate System changes to Keep Hologram in Place Spatial Anchors www.cameronvetter.com 026
  • 27. Unity Specific for AR Not Hololens Specific, Unity Specific Uses Spatial Anchor World Anchor is a Wrapped Spatial Anchor Persist Between Sessions Survives App Restarts Unity Anchor Store World Anchors are Managed by Unity Engine World Anchors www.cameronvetter.com 027
  • 28. LIVE DEMO!!! www.cameronvetter.com 28 01 02 03 04 05 06 Place Holograms Map the Room Use A Gesture Shadows Voice Commands Physics
  • 29. In Summary www.cameronvetter.com 29 Holograms Persistence Control Real World Understanding Spatial Mapping Plane Finding Spatial Understanding Gaze Cursor Gestures Voice Billboarding Placement Physics World Anchors