SlideShare a Scribd company logo
1 of 29
DES241
2020
Unity - Vuforia (20/08/2020)
Unity - Vuforia
Prasanth Sasikumar
Empathic Computing Lab
3
AR Games!
4
AR Tools!
5
Quiver Vision
What you will learn
● Mobile AR
○ Using Vuforia, detect an image and place an object on top of the image.
○ Animate the object placed on top of the image.
○ Making an Android application based on vuforia
6
Unity 3D features
Vuforia features
● The World’s Most Widely Deployed AR Engine.
● Allows developers to quickly prototype AR concepts.
● Supports Android, iOS, Windows, tablets, and eyewear.
● API Support for Unity(C#), C++ and Java
● Very Well Documented.
7
Vuforia features
8
Unity Vuforia
9
vuforia
● Sign up at Vuforia Developer
○ https://developer.vuforia.com/
Getting Started
10
vuforia
● Create a free Development Licence key
Licence Manager
11
vuforia
● Copy Development Licence key
Licence Manager
12
vuforia
Vuforia Setup
● Open Package manager and Search for Vuforia
● Install Vuforia Package & Accept Licence
● Go to Vuforia Config. & enter dev key
● Delete Main Camera
● Create new AR camera. Create Image Target and drag it
under AR camera.
● Create a cube and drag it under Image Target.
● Select an Image target
● Play!
13
vuforia
Vuforia Setup
● Open Package manager and Search for Vuforia
● Install Vuforia Package & Accept Licence
● Go to Vuforia Config. & enter dev key
● Delete Main Camera
● Create new AR camera. Create Image Target and drag it
under AR camera.
● Create a cube and drag it under Image Target.
● Select an Image target
● Play!
14
vuforia
Vuforia Setup
● Open Package manager and Search for Vuforia
● Install Vuforia Package & Accept Licence
● Go to Vuforia Config. & enter dev key
● Delete Main Camera
● Create new AR camera. Create Image Target and drag it
under AR camera.
● Create a cube and drag it under Image Target.
● Select an Image target
● Play!
15
vuforia
Vuforia Setup
● Open Package manager and Search for Vuforia
● Install Vuforia Package & Accept Licence
● Go to Vuforia Config. & enter dev key
● Delete Main Camera
● Create new AR camera. Create Image Target and drag it
under AR camera.
● Create a cube and drag it under Image Target.
● Select an Image target
● Play!
16
vuforia
● Open Package manager and Search for Vuforia
● Install Vuforia Package & Accept Licence
● Go to Vuforia Config. & enter dev key
● Delete Main Camera
● Create new AR camera. Create Image Target and drag it
under AR camera.
● Create a cube and drag it under Image Target.
● Select an Image target
● Play!
Vuforia Setup
17
vuforia
Vuforia Setup
● Open Package manager and Search for Vuforia
● Install Vuforia Package & Accept Licence
● Go to Vuforia Config. & enter dev key
● Delete Main Camera
● Create new AR camera. Create Image Target and drag it
under AR camera.
● Create a cube and drag it under Image Target.
● Select an Image target
● Play!
18
vuforia
Vuforia Setup
● Open Package manager and Search for Vuforia
● Install Vuforia Package & Accept Licence
● Go to Vuforia Config. & enter dev key
● Delete Main Camera
● Create new AR camera. Create Image Target and drag it
under AR camera.
● Create a cube and drag it under Image Target.
● Select an Image target
● Play!
19
vuforia
Vuforia Setup
● Open Package manager and Search for Vuforia
● Install Vuforia Package & Accept Licence
● Go to Vuforia Config. & enter dev key
● Delete Main Camera
● Create new AR camera. Create Image Target and drag it
under AR camera.
● Create a cube and drag it under Image Target.
● Select an Image target
● Play!
20
Demo!
21
Making a Simple Scene
● Assets -> Create -> C# script
● Edit script using Mono/Visual Studio
● Drag script onto Game Object
Add Script
22
Making a Simple Scene
● GameObject Rotation
Example C# Script
using UnityEngine;
using System.Collections;
public class NewBehaviourScript: MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
this.gameObject.transform.Rotate(Vector3.up*10);
}
}
Scripting C# Unity 3D
● void Awake():
○ Is called when the first scene is loaded and the gameobject is active
● void Start():
○ Called on first frame update
● void FixedUpdate():
○ Called before physics calculations are made
● void Update():
○ Called every frame before rendering
● void LateUpdate():
○ Once per frame after update finished
23
Unity 3D features
24
Result!
25
Deploy!
Deploying to Android
26
vuforia
Android
● Install Android module from Unity Hub
● File -> Build Settings -> Switch to Android platform
● Go to player settings ->Other settings -> remove Vulkan
Graphics API
● In Build settings click add open scenes.
● Connect your android device(Developer mode enabled)
via USB and click build and run.
27
Deploying to iOS
https://www.youtube.com/watch?v=INbwoxfSBjQ
iOS
Resources
● Unity Main site
○ https://unity.com/
● Vuforia
○ https://developer.vuforia.com/
● Android Developer
○ https://developer.android.com/studio/debug/dev-options
● Unity Coder Blog
○ http://unitycoder.com
28
Unity 3D Resources
DES241
2020
Prasanth Sasikumar
psas598@aucklanduni.ac.nz

More Related Content

Similar to Introduction to Unity and Vuforia for Augmented reality and image tracking

Cross platform game development
Cross platform game developmentCross platform game development
Cross platform game developmentJerel Hass
 
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 worldUnity Technologies
 
BYOD: Build Your First VR Experience with Unreal Engine
BYOD: Build Your First VR Experience with Unreal EngineBYOD: Build Your First VR Experience with Unreal Engine
BYOD: Build Your First VR Experience with Unreal EngineMichael Sheyahshe
 
Tools for developing Android Games
 Tools for developing Android Games Tools for developing Android Games
Tools for developing Android GamesPlatty Soft
 
Developing VR Experiences with Unity
Developing VR Experiences with UnityDeveloping VR Experiences with Unity
Developing VR Experiences with UnityMark Billinghurst
 
Gaze detection with Virtual Reality and Unity 3d
Gaze detection with Virtual Reality and Unity 3dGaze detection with Virtual Reality and Unity 3d
Gaze detection with Virtual Reality and Unity 3dBond University
 
Android Platform Debugging and Development
Android Platform Debugging and DevelopmentAndroid Platform Debugging and Development
Android Platform Debugging and DevelopmentOpersys inc.
 
[DevDay2018] Developing for VR/AR with Unity - By: Tu Phan and VR/AR Team, De...
[DevDay2018] Developing for VR/AR with Unity - By: Tu Phan and VR/AR Team, De...[DevDay2018] Developing for VR/AR with Unity - By: Tu Phan and VR/AR Team, De...
[DevDay2018] Developing for VR/AR with Unity - By: Tu Phan and VR/AR Team, De...DevDay.org
 
STEM Camp Virtual Reality
STEM Camp Virtual RealitySTEM Camp Virtual Reality
STEM Camp Virtual RealityTomasz Bednarz
 
Android Platform Debugging and Development
Android Platform Debugging and DevelopmentAndroid Platform Debugging and Development
Android Platform Debugging and DevelopmentKarim Yaghmour
 
Android Platform Debugging and Development
Android Platform Debugging and DevelopmentAndroid Platform Debugging and Development
Android Platform Debugging and DevelopmentOpersys inc.
 
Getting started with immersive technologies
Getting started with immersive technologiesGetting started with immersive technologies
Getting started with immersive technologiesUchechukwu Obimma
 
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.jsVerold
 
Flutter Festival - GDSC IIIT Sonepat
Flutter Festival - GDSC IIIT Sonepat Flutter Festival - GDSC IIIT Sonepat
Flutter Festival - GDSC IIIT Sonepat GoogleDSCIIITSonepat
 
Introduction-to-Unity.ppt
Introduction-to-Unity.pptIntroduction-to-Unity.ppt
Introduction-to-Unity.pptGravityboi
 
Introduction to-unity
Introduction to-unityIntroduction to-unity
Introduction to-unityvafa3
 
Android Platform Debugging and Development
Android Platform Debugging and DevelopmentAndroid Platform Debugging and Development
Android Platform Debugging and DevelopmentOpersys inc.
 

Similar to Introduction to Unity and Vuforia for Augmented reality and image tracking (20)

Cross platform game development
Cross platform game developmentCross platform game development
Cross platform game development
 
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
 
BYOD: Build Your First VR Experience with Unreal Engine
BYOD: Build Your First VR Experience with Unreal EngineBYOD: Build Your First VR Experience with Unreal Engine
BYOD: Build Your First VR Experience with Unreal Engine
 
Tools for developing Android Games
 Tools for developing Android Games Tools for developing Android Games
Tools for developing Android Games
 
Developing VR Experiences with Unity
Developing VR Experiences with UnityDeveloping VR Experiences with Unity
Developing VR Experiences with Unity
 
Gaze detection with Virtual Reality and Unity 3d
Gaze detection with Virtual Reality and Unity 3dGaze detection with Virtual Reality and Unity 3d
Gaze detection with Virtual Reality and Unity 3d
 
Android Platform Debugging and Development
Android Platform Debugging and DevelopmentAndroid Platform Debugging and Development
Android Platform Debugging and Development
 
[DevDay2018] Developing for VR/AR with Unity - By: Tu Phan and VR/AR Team, De...
[DevDay2018] Developing for VR/AR with Unity - By: Tu Phan and VR/AR Team, De...[DevDay2018] Developing for VR/AR with Unity - By: Tu Phan and VR/AR Team, De...
[DevDay2018] Developing for VR/AR with Unity - By: Tu Phan and VR/AR Team, De...
 
STEM Camp Virtual Reality
STEM Camp Virtual RealitySTEM Camp Virtual Reality
STEM Camp Virtual Reality
 
Android Platform Debugging and Development
Android Platform Debugging and DevelopmentAndroid Platform Debugging and Development
Android Platform Debugging and Development
 
Android Platform Debugging and Development
Android Platform Debugging and DevelopmentAndroid Platform Debugging and Development
Android Platform Debugging and Development
 
Getting started with immersive technologies
Getting started with immersive technologiesGetting started with immersive technologies
Getting started with immersive technologies
 
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
 
Headless Android
Headless AndroidHeadless Android
Headless Android
 
Mobile AR Tutorial
Mobile AR TutorialMobile AR Tutorial
Mobile AR Tutorial
 
Flutter Festival - GDSC IIIT Sonepat
Flutter Festival - GDSC IIIT Sonepat Flutter Festival - GDSC IIIT Sonepat
Flutter Festival - GDSC IIIT Sonepat
 
Introduction-to-Unity.ppt
Introduction-to-Unity.pptIntroduction-to-Unity.ppt
Introduction-to-Unity.ppt
 
Introduction to-unity
Introduction to-unityIntroduction to-unity
Introduction to-unity
 
Introduction-to-Unity.ppt
Introduction-to-Unity.pptIntroduction-to-Unity.ppt
Introduction-to-Unity.ppt
 
Android Platform Debugging and Development
Android Platform Debugging and DevelopmentAndroid Platform Debugging and Development
Android Platform Debugging and Development
 

Recently uploaded

Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 

Recently uploaded (20)

Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 

Introduction to Unity and Vuforia for Augmented reality and image tracking

  • 2. Unity - Vuforia Prasanth Sasikumar Empathic Computing Lab
  • 6. What you will learn ● Mobile AR ○ Using Vuforia, detect an image and place an object on top of the image. ○ Animate the object placed on top of the image. ○ Making an Android application based on vuforia 6 Unity 3D features
  • 7. Vuforia features ● The World’s Most Widely Deployed AR Engine. ● Allows developers to quickly prototype AR concepts. ● Supports Android, iOS, Windows, tablets, and eyewear. ● API Support for Unity(C#), C++ and Java ● Very Well Documented. 7 Vuforia features
  • 9. 9 vuforia ● Sign up at Vuforia Developer ○ https://developer.vuforia.com/ Getting Started
  • 10. 10 vuforia ● Create a free Development Licence key Licence Manager
  • 11. 11 vuforia ● Copy Development Licence key Licence Manager
  • 12. 12 vuforia Vuforia Setup ● Open Package manager and Search for Vuforia ● Install Vuforia Package & Accept Licence ● Go to Vuforia Config. & enter dev key ● Delete Main Camera ● Create new AR camera. Create Image Target and drag it under AR camera. ● Create a cube and drag it under Image Target. ● Select an Image target ● Play!
  • 13. 13 vuforia Vuforia Setup ● Open Package manager and Search for Vuforia ● Install Vuforia Package & Accept Licence ● Go to Vuforia Config. & enter dev key ● Delete Main Camera ● Create new AR camera. Create Image Target and drag it under AR camera. ● Create a cube and drag it under Image Target. ● Select an Image target ● Play!
  • 14. 14 vuforia Vuforia Setup ● Open Package manager and Search for Vuforia ● Install Vuforia Package & Accept Licence ● Go to Vuforia Config. & enter dev key ● Delete Main Camera ● Create new AR camera. Create Image Target and drag it under AR camera. ● Create a cube and drag it under Image Target. ● Select an Image target ● Play!
  • 15. 15 vuforia Vuforia Setup ● Open Package manager and Search for Vuforia ● Install Vuforia Package & Accept Licence ● Go to Vuforia Config. & enter dev key ● Delete Main Camera ● Create new AR camera. Create Image Target and drag it under AR camera. ● Create a cube and drag it under Image Target. ● Select an Image target ● Play!
  • 16. 16 vuforia ● Open Package manager and Search for Vuforia ● Install Vuforia Package & Accept Licence ● Go to Vuforia Config. & enter dev key ● Delete Main Camera ● Create new AR camera. Create Image Target and drag it under AR camera. ● Create a cube and drag it under Image Target. ● Select an Image target ● Play! Vuforia Setup
  • 17. 17 vuforia Vuforia Setup ● Open Package manager and Search for Vuforia ● Install Vuforia Package & Accept Licence ● Go to Vuforia Config. & enter dev key ● Delete Main Camera ● Create new AR camera. Create Image Target and drag it under AR camera. ● Create a cube and drag it under Image Target. ● Select an Image target ● Play!
  • 18. 18 vuforia Vuforia Setup ● Open Package manager and Search for Vuforia ● Install Vuforia Package & Accept Licence ● Go to Vuforia Config. & enter dev key ● Delete Main Camera ● Create new AR camera. Create Image Target and drag it under AR camera. ● Create a cube and drag it under Image Target. ● Select an Image target ● Play!
  • 19. 19 vuforia Vuforia Setup ● Open Package manager and Search for Vuforia ● Install Vuforia Package & Accept Licence ● Go to Vuforia Config. & enter dev key ● Delete Main Camera ● Create new AR camera. Create Image Target and drag it under AR camera. ● Create a cube and drag it under Image Target. ● Select an Image target ● Play!
  • 21. 21 Making a Simple Scene ● Assets -> Create -> C# script ● Edit script using Mono/Visual Studio ● Drag script onto Game Object Add Script
  • 22. 22 Making a Simple Scene ● GameObject Rotation Example C# Script using UnityEngine; using System.Collections; public class NewBehaviourScript: MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { this.gameObject.transform.Rotate(Vector3.up*10); } }
  • 23. Scripting C# Unity 3D ● void Awake(): ○ Is called when the first scene is loaded and the gameobject is active ● void Start(): ○ Called on first frame update ● void FixedUpdate(): ○ Called before physics calculations are made ● void Update(): ○ Called every frame before rendering ● void LateUpdate(): ○ Once per frame after update finished 23 Unity 3D features
  • 26. 26 vuforia Android ● Install Android module from Unity Hub ● File -> Build Settings -> Switch to Android platform ● Go to player settings ->Other settings -> remove Vulkan Graphics API ● In Build settings click add open scenes. ● Connect your android device(Developer mode enabled) via USB and click build and run.
  • 28. Resources ● Unity Main site ○ https://unity.com/ ● Vuforia ○ https://developer.vuforia.com/ ● Android Developer ○ https://developer.android.com/studio/debug/dev-options ● Unity Coder Blog ○ http://unitycoder.com 28 Unity 3D Resources

Editor's Notes

  1. Add more games