SlideShare uma empresa Scribd logo
1 de 41
Baixar para ler offline
Introduction to Mixed Reality
(XR)
By Sanjit Singh
A B O U T M E
Sanjit Singh
Student, Hacker, Sub - Team lead @ NASA SUITS, Space Coach @ AFWERX,
Research Assistant @ Rutgers University & Mixed Reality Developer @ MPLEX
Co-Founder & Former VP, XBoost
Building the future – VR/AR, Robotics, Brain computer Interfaces,
Virtual Worlds, AI, Humanoids & more cutting-edge technologies.
Connect @ https://www.linkedin.com/in/sanjit-singh-66374b6a/
Follow @ https://twitter.com/sanjitpsingh
What is Virtual &
Augmented Reality
Virtual Reality: 3D generated virtual
environment in which users can interact with
as if they were in that simulation to gain
immersive experiences of there
surroundings.
Augmented Reality: 3D Computer generated
environment projected from the virtual
world onto the real world as holograms.
Early days Mixed Reality
Dr. Ivan Sutherland Morton Heilig
Dr. Tom Furness Dr. Grigore (Greg) Burdea Dr. Mark Billinghurst
Types of VR/AR Headsets
HoloLens
Magic Leap
Nreal
Project North Star
Oculus Rift &
Oculus Quest
Google Cardboard VR
HTC VIVE & Windows Mixed Reality Headset
Applications
Games Education
Aerospace &
Defense
Robotics Medicine
Brain
Computer
Interfaces
Demo of
Games
Educational Game
Medical Applications
Space
Space
Neurotechnology
Where The Future is Headed
• Metaverse – virtual world with artificial life (cyberspace) with users can interact with virtual agents
in a simulation
• Sci-fi fantasy into reality
Mixed Reality Toolkit (MRTK)
• MRTK – A library designed for XR developers use into there projects and provides set of
components for interaction, UI, rapid prototyping and more.
• Very cross platform
• Supports: Android, IOS, HoloLens, Oculus, Magic Leap, Nreal & more
• Game engines that use MRTK: Unity3d & Unreal
• Our focus will be Unity3D - No Unity or C# experiences needed
Unity
Installation
guide
• Unity Hub: https://unity3d.com/get-unity/download
• Create Unity Account
• Unity Version: 2021.1.24f1
• Note: iPhone users need to have MacBook to build on
IOS platforms along with XCode installed
• Android Users also have android studio installed with
API Level minimum set to 24 and API level highest to
latest version
Create New
Unity Scene & Layout
Package Manager
• Windows – Package Manager
• Install ARFoundation, ARcore XR Plugin & ARKit XR Plugin
Under Packages Folder
MRTK Packages
• https://github.com/microsoft/MixedRealityToolkit-Unity
- Under releases
• MRTK Version: 2.7.2
• Installation packages -
Microsoft.MixedReality.Toolkit.Unity.Examples.2.7.2.unitypackage
Microsoft.MixedReality.Toolkit.Unity.Extensions.2.7.2.unitypackage
Microsoft.MixedReality.Toolkit.Unity.Foundation.2.7.2.unitypackage
Microsoft.MixedReality.Toolkit.Unity.Tools.2.7.2.unitypackage
Integrating MRTK into Unity
• Click Import
• Do the same for rest of
packages!!
MRTK Popup
• If all goes well with
importing, then MRTK popup
from image to left is what
should be see
• Click Unity OpenXR plugin
Unity is Restarting
- Once restart completes, you will get another MRTK popup
- Click Show XR Plugin Management Settings
XR Plugin Management Settings
• Click on Android logo to the right (for android users)
• Check ARCore
Now you can click Skip this step
On the right side of image, there is apply default settings, Click Apply
Unity will restart again
Popup configuration shows up again. Click next
From Right side you will get importing TMP Essentials options
Click Import TMP Essentials
MRTK Import All Done
- After importing TMP Essentials,
you will get MRTK Setup Completed
message shown on the left
- Click Done
Building on Platform
• As mentioned, we will be building on Mobile Platform (Android)
• In Unity go to File-Build Settings
• In order to build apps, unity needs to know which scenes to build
• Click Add Open Scenes
• Then Click on Android under Platforms
• Click Switch Platform
• Note after platform switches to android incase you get Popups again from MRTK
configuration, just repeat it
Player Settings
• Player Settings-Android icon-Other Settings
• Right Side of player settings we see many options
• Make sure minimum API level is set to 24
• Under Graphic APIs click on Vulkan and underneath press
the minus button (that will delete Vulkan)
Setting up MRTK Camera
- On the left you have the original Unity Scene with the built-in main camera
- Right click on Main Camera under Sample Scene and click on Delete
- Go the very top left and look for Mixed Reality
- Click on that and then go to toolkit-Add to Scene and Configure
- You will get a new camera that comes with MRTK along with other gameobjects we will use to configure
MRTK Build
Configuration
• Click on MixedReality Toolkit
Gameobject under Hierarchy
• Go to the right and you will see
Experimental Settings
• On the top click on Clone
• You will have clone profile popup
• Under that go to profile name
• We will rename it
MobileMixedRealityToolkitConfiguratio
nProfile
• After doing that, click clone
• Click on Camera
• Do the same thing again
• Clone and then rename profile to
MobileMixedRealityCameraProfile
• Click Clone
MRTK Camera Settings
- Look for Camera Setting Providers to the
right
- You will the current camera providers set by
default
- To the right click the minus button for all 3
to delete them
- We will create new camera setting for mobile AR for MRTK
- Click Add Camera Settings Provider
- You will have a new data provider
- Click Type-Microsoft.MixedReality.Toolkit.Experimental.UnityAR-UnityARCameraSettings
All Good to Go
Simple Build
• Go to Mixed Reality-Toolkit-Utilities-UnityAR-
Update Scripting Defines
• Connect your Phone to Computer
• Go to File-Build Settings-Build And Run
• If all goes well and it builds on phone it should
look like the picture from the right side
• Now we can start adding some interactable
features
Interactable
Objects
• On project search bar type up
HandInteractionExample
• Drag that scene under Hierarchy
• Under Sample Scene Delete MixedRealitySceneContent
• Left Click MixedRealitySceneContent Under HandInteractionExample
• Drag it on top of HandInteractionExample
• Right Click on HandInteractionExample under Hierarchy and click Remove Scene
• You will get prompted an option to save. Click Don’t Save as we do not want to override the scene
Adding Interactable
Objects
Scene Completed
• Rebuild Scene
• File-Build Settings-Build and
Run
Final Build Video
Other Unity Resources
• https://learn.unity.com/tutorials
• https://learn.unity.com/search?k=%5B%22ind%3A5816ce9a32b3060
0171bef5a%22%2C%22sl%3Abeginner%22%2C%22sl%3Aintermediat
e%22%5D&ob=starts
• https://learn.unity.com/search/?k=%5B%22tag%3A5900b95a090915
001e654b47%22%2C%22sl%3Abeginner%22%2C%22lang%3Aen%22
%5D&ob=starts

Mais conteúdo relacionado

Mais procurados

VR and Gamification Trend & Application in Sports
VR and Gamification Trend & Application in SportsVR and Gamification Trend & Application in Sports
VR and Gamification Trend & Application in Sports
Mohd Shahrizal Sunar
 

Mais procurados (20)

Comp 4010 2021 Lecture1-Introduction to XR
Comp 4010 2021 Lecture1-Introduction to XRComp 4010 2021 Lecture1-Introduction to XR
Comp 4010 2021 Lecture1-Introduction to XR
 
Lecture1 introduction to VR
Lecture1 introduction to VRLecture1 introduction to VR
Lecture1 introduction to VR
 
Virtual Reality - Get in the Game
Virtual Reality - Get in the GameVirtual Reality - Get in the Game
Virtual Reality - Get in the Game
 
Introduction to Augmented Reality
Introduction to Augmented RealityIntroduction to Augmented Reality
Introduction to Augmented Reality
 
COMP 4010: Lecture8 - AR Technology
COMP 4010: Lecture8 - AR TechnologyCOMP 4010: Lecture8 - AR Technology
COMP 4010: Lecture8 - AR Technology
 
Virtual Reality
Virtual RealityVirtual Reality
Virtual Reality
 
COMP 4010 - Lecture10: Mobile AR
COMP 4010 - Lecture10: Mobile ARCOMP 4010 - Lecture10: Mobile AR
COMP 4010 - Lecture10: Mobile AR
 
2013 426 Lecture 1: Introduction to Augmented Reality
2013 426 Lecture 1: Introduction to Augmented Reality2013 426 Lecture 1: Introduction to Augmented Reality
2013 426 Lecture 1: Introduction to Augmented Reality
 
Beyond Reality (2027): The Future of Virtual and Augmented Reality
Beyond Reality (2027): The Future of Virtual and Augmented RealityBeyond Reality (2027): The Future of Virtual and Augmented Reality
Beyond Reality (2027): The Future of Virtual and Augmented Reality
 
Getting started with Unity and AR/VR for the .NET developer - October 2020
Getting started with Unity and AR/VR for the .NET developer - October 2020Getting started with Unity and AR/VR for the .NET developer - October 2020
Getting started with Unity and AR/VR for the .NET developer - October 2020
 
Lecture 9 AR Technology
Lecture 9 AR TechnologyLecture 9 AR Technology
Lecture 9 AR Technology
 
A Survey of Augmented Reality
A Survey of Augmented RealityA Survey of Augmented Reality
A Survey of Augmented Reality
 
2016 AR Summer School - Lecture1
2016 AR Summer School - Lecture12016 AR Summer School - Lecture1
2016 AR Summer School - Lecture1
 
TalkUX - UX in VR - UNIT9
TalkUX - UX in VR - UNIT9TalkUX - UX in VR - UNIT9
TalkUX - UX in VR - UNIT9
 
Creating a Virtual Reality in Unity - by Unity Evangelist Kelvin Lo
Creating a Virtual Reality in Unity - by Unity Evangelist Kelvin LoCreating a Virtual Reality in Unity - by Unity Evangelist Kelvin Lo
Creating a Virtual Reality in Unity - by Unity Evangelist Kelvin Lo
 
VR and Gamification Trend & Application in Sports
VR and Gamification Trend & Application in SportsVR and Gamification Trend & Application in Sports
VR and Gamification Trend & Application in Sports
 
Augmented World Expo 2013 Mobile AR SDK Comparison and Tutorial
Augmented World Expo 2013 Mobile AR SDK Comparison and TutorialAugmented World Expo 2013 Mobile AR SDK Comparison and Tutorial
Augmented World Expo 2013 Mobile AR SDK Comparison and Tutorial
 
COSC 426 Lecture 1: Introduction to Augmented Reality
COSC 426 Lecture 1: Introduction to Augmented RealityCOSC 426 Lecture 1: Introduction to Augmented Reality
COSC 426 Lecture 1: Introduction to Augmented Reality
 
2013 Lecture3: AR Tracking
2013 Lecture3: AR Tracking 2013 Lecture3: AR Tracking
2013 Lecture3: AR Tracking
 
Research Directions in Transitional Interfaces
Research Directions in Transitional InterfacesResearch Directions in Transitional Interfaces
Research Directions in Transitional Interfaces
 

Semelhante a Introduction to mixed reality (XR)

Getting started with Verold and Three.js
Getting started with Verold and Three.jsGetting started with Verold and Three.js
Getting started with Verold and Three.js
Verold
 

Semelhante a Introduction to mixed reality (XR) (20)

Augmenting reality: Bring digital objects into the real world
Augmenting reality: Bring digital objects into the real worldAugmenting reality: Bring digital objects into the real world
Augmenting reality: Bring digital objects into the real world
 
Augmented Reality Application - Final Year Project
Augmented Reality Application - Final Year ProjectAugmented Reality Application - Final Year Project
Augmented Reality Application - Final Year Project
 
Build an AR app v2.0
Build an AR app v2.0Build an AR app v2.0
Build an AR app v2.0
 
Getting started with immersive technologies
Getting started with immersive technologiesGetting started with immersive technologies
Getting started with immersive technologies
 
Building VR Applications For Google Cardboard
Building VR Applications For Google CardboardBuilding VR Applications For Google Cardboard
Building VR Applications For Google Cardboard
 
SEARIS 2014 Keynote - MiddleVR - Philosophy and architecture
SEARIS 2014 Keynote - MiddleVR - Philosophy and architectureSEARIS 2014 Keynote - MiddleVR - Philosophy and architecture
SEARIS 2014 Keynote - MiddleVR - Philosophy and architecture
 
Let’s get real: An introduction to AR, VR, MR, XR and more
Let’s get real: An introduction to AR, VR, MR, XR and moreLet’s get real: An introduction to AR, VR, MR, XR and more
Let’s get real: An introduction to AR, VR, MR, XR and more
 
Byte Conf React Native 2018
Byte Conf React Native 2018Byte Conf React Native 2018
Byte Conf React Native 2018
 
Lessons Learned: Designer/Developer Productivity in Windows Presentation Foun...
Lessons Learned: Designer/Developer Productivity in Windows Presentation Foun...Lessons Learned: Designer/Developer Productivity in Windows Presentation Foun...
Lessons Learned: Designer/Developer Productivity in Windows Presentation Foun...
 
unity gaming programing basics for students ppt
unity gaming programing basics for students pptunity gaming programing basics for students ppt
unity gaming programing basics for students ppt
 
Unity Basics and Mobile VR
Unity Basics and Mobile VRUnity Basics and Mobile VR
Unity Basics and Mobile VR
 
DIY Mobile VR with Unity 3d & Cardboard SDK
DIY Mobile VR with Unity 3d & Cardboard SDKDIY Mobile VR with Unity 3d & Cardboard SDK
DIY Mobile VR with Unity 3d & Cardboard SDK
 
Technology Trend 2018
Technology Trend 2018Technology Trend 2018
Technology Trend 2018
 
01 introduction & setup - Android
01   introduction & setup - Android01   introduction & setup - Android
01 introduction & setup - Android
 
Cardboard VR: Building Low Cost VR Experiences
Cardboard VR: Building Low Cost VR ExperiencesCardboard VR: Building Low Cost VR Experiences
Cardboard VR: Building Low Cost VR Experiences
 
Android 3.1 - Portland Code Camp 2011
Android 3.1 - Portland Code Camp 2011Android 3.1 - Portland Code Camp 2011
Android 3.1 - Portland Code Camp 2011
 
The Basics of Unity - The Game Engine
The Basics of Unity - The Game EngineThe Basics of Unity - The Game Engine
The Basics of Unity - The Game Engine
 
Getting started with Verold and Three.js
Getting started with Verold and Three.jsGetting started with Verold and Three.js
Getting started with Verold and Three.js
 
Application Development with Pharo
Application Development with PharoApplication Development with Pharo
Application Development with Pharo
 
Microsoft IT Academy Summit 2011
Microsoft IT Academy Summit 2011Microsoft IT Academy Summit 2011
Microsoft IT Academy Summit 2011
 

Último

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
Tonystark477637
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 

Último (20)

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 

Introduction to mixed reality (XR)

  • 1. Introduction to Mixed Reality (XR) By Sanjit Singh
  • 2. A B O U T M E Sanjit Singh Student, Hacker, Sub - Team lead @ NASA SUITS, Space Coach @ AFWERX, Research Assistant @ Rutgers University & Mixed Reality Developer @ MPLEX Co-Founder & Former VP, XBoost Building the future – VR/AR, Robotics, Brain computer Interfaces, Virtual Worlds, AI, Humanoids & more cutting-edge technologies. Connect @ https://www.linkedin.com/in/sanjit-singh-66374b6a/ Follow @ https://twitter.com/sanjitpsingh
  • 3. What is Virtual & Augmented Reality Virtual Reality: 3D generated virtual environment in which users can interact with as if they were in that simulation to gain immersive experiences of there surroundings. Augmented Reality: 3D Computer generated environment projected from the virtual world onto the real world as holograms.
  • 4. Early days Mixed Reality Dr. Ivan Sutherland Morton Heilig Dr. Tom Furness Dr. Grigore (Greg) Burdea Dr. Mark Billinghurst
  • 5. Types of VR/AR Headsets HoloLens Magic Leap Nreal Project North Star Oculus Rift & Oculus Quest Google Cardboard VR HTC VIVE & Windows Mixed Reality Headset
  • 12. Where The Future is Headed • Metaverse – virtual world with artificial life (cyberspace) with users can interact with virtual agents in a simulation • Sci-fi fantasy into reality
  • 13. Mixed Reality Toolkit (MRTK) • MRTK – A library designed for XR developers use into there projects and provides set of components for interaction, UI, rapid prototyping and more. • Very cross platform • Supports: Android, IOS, HoloLens, Oculus, Magic Leap, Nreal & more • Game engines that use MRTK: Unity3d & Unreal • Our focus will be Unity3D - No Unity or C# experiences needed
  • 14. Unity Installation guide • Unity Hub: https://unity3d.com/get-unity/download • Create Unity Account • Unity Version: 2021.1.24f1 • Note: iPhone users need to have MacBook to build on IOS platforms along with XCode installed • Android Users also have android studio installed with API Level minimum set to 24 and API level highest to latest version
  • 16. Unity Scene & Layout
  • 17. Package Manager • Windows – Package Manager • Install ARFoundation, ARcore XR Plugin & ARKit XR Plugin
  • 19. MRTK Packages • https://github.com/microsoft/MixedRealityToolkit-Unity - Under releases • MRTK Version: 2.7.2 • Installation packages - Microsoft.MixedReality.Toolkit.Unity.Examples.2.7.2.unitypackage Microsoft.MixedReality.Toolkit.Unity.Extensions.2.7.2.unitypackage Microsoft.MixedReality.Toolkit.Unity.Foundation.2.7.2.unitypackage Microsoft.MixedReality.Toolkit.Unity.Tools.2.7.2.unitypackage
  • 20. Integrating MRTK into Unity • Click Import • Do the same for rest of packages!!
  • 21. MRTK Popup • If all goes well with importing, then MRTK popup from image to left is what should be see • Click Unity OpenXR plugin
  • 22.
  • 23. Unity is Restarting - Once restart completes, you will get another MRTK popup - Click Show XR Plugin Management Settings
  • 24. XR Plugin Management Settings • Click on Android logo to the right (for android users) • Check ARCore
  • 25. Now you can click Skip this step On the right side of image, there is apply default settings, Click Apply Unity will restart again
  • 26. Popup configuration shows up again. Click next From Right side you will get importing TMP Essentials options Click Import TMP Essentials
  • 27. MRTK Import All Done - After importing TMP Essentials, you will get MRTK Setup Completed message shown on the left - Click Done
  • 28. Building on Platform • As mentioned, we will be building on Mobile Platform (Android) • In Unity go to File-Build Settings • In order to build apps, unity needs to know which scenes to build • Click Add Open Scenes • Then Click on Android under Platforms • Click Switch Platform • Note after platform switches to android incase you get Popups again from MRTK configuration, just repeat it
  • 29. Player Settings • Player Settings-Android icon-Other Settings • Right Side of player settings we see many options • Make sure minimum API level is set to 24 • Under Graphic APIs click on Vulkan and underneath press the minus button (that will delete Vulkan)
  • 30. Setting up MRTK Camera - On the left you have the original Unity Scene with the built-in main camera - Right click on Main Camera under Sample Scene and click on Delete - Go the very top left and look for Mixed Reality - Click on that and then go to toolkit-Add to Scene and Configure - You will get a new camera that comes with MRTK along with other gameobjects we will use to configure
  • 31. MRTK Build Configuration • Click on MixedReality Toolkit Gameobject under Hierarchy • Go to the right and you will see Experimental Settings • On the top click on Clone • You will have clone profile popup • Under that go to profile name • We will rename it MobileMixedRealityToolkitConfiguratio nProfile • After doing that, click clone
  • 32. • Click on Camera • Do the same thing again • Clone and then rename profile to MobileMixedRealityCameraProfile • Click Clone
  • 33. MRTK Camera Settings - Look for Camera Setting Providers to the right - You will the current camera providers set by default - To the right click the minus button for all 3 to delete them
  • 34. - We will create new camera setting for mobile AR for MRTK - Click Add Camera Settings Provider - You will have a new data provider - Click Type-Microsoft.MixedReality.Toolkit.Experimental.UnityAR-UnityARCameraSettings
  • 36. Simple Build • Go to Mixed Reality-Toolkit-Utilities-UnityAR- Update Scripting Defines • Connect your Phone to Computer • Go to File-Build Settings-Build And Run • If all goes well and it builds on phone it should look like the picture from the right side • Now we can start adding some interactable features
  • 37. Interactable Objects • On project search bar type up HandInteractionExample • Drag that scene under Hierarchy
  • 38. • Under Sample Scene Delete MixedRealitySceneContent • Left Click MixedRealitySceneContent Under HandInteractionExample • Drag it on top of HandInteractionExample • Right Click on HandInteractionExample under Hierarchy and click Remove Scene • You will get prompted an option to save. Click Don’t Save as we do not want to override the scene Adding Interactable Objects
  • 39. Scene Completed • Rebuild Scene • File-Build Settings-Build and Run
  • 41. Other Unity Resources • https://learn.unity.com/tutorials • https://learn.unity.com/search?k=%5B%22ind%3A5816ce9a32b3060 0171bef5a%22%2C%22sl%3Abeginner%22%2C%22sl%3Aintermediat e%22%5D&ob=starts • https://learn.unity.com/search/?k=%5B%22tag%3A5900b95a090915 001e654b47%22%2C%22sl%3Abeginner%22%2C%22lang%3Aen%22 %5D&ob=starts