0% found this document useful (0 votes)
183 views13 pages

Basic Introduction To Vuforia

This document provides instructions for setting up an augmented reality project using Unity and Vuforia. It includes: 1) Basic introductions to Unity, how to install it, and Vuforia, what it is and how to add it to Unity. 2) Details on creating an AR target image database in Vuforia, including uploading an image target and getting a development key. 3) Guidance on importing the target image database into Unity and assigning images to targets in the Unity scene.

Uploaded by

Hazardly ace
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
183 views13 pages

Basic Introduction To Vuforia

This document provides instructions for setting up an augmented reality project using Unity and Vuforia. It includes: 1) Basic introductions to Unity, how to install it, and Vuforia, what it is and how to add it to Unity. 2) Details on creating an AR target image database in Vuforia, including uploading an image target and getting a development key. 3) Guidance on importing the target image database into Unity and assigning images to targets in the Unity scene.

Uploaded by

Hazardly ace
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Augmented Reality Lab Module As presented by: Farizah (me)

TMT3123 – Computer Games Design and Development


(CGDD)
Pls read, understand and follow these
instructions on how to install Unity and
Vuforia before Lab (4/11)
Topics:

2 3
1 Basic introduction to Vuforia Create a simple AR project
- What is Vuforia? - Adding a 3D model
Basic introduction to Unity - How to add Vuforia to unity - Building the app (APK)
- How to install - AR target image - Finding more assets
- Understanding the - Get Vuforia development - Adding more target
interface key images to database (learn
- Setting up a project - Create target image how to upload animated 3D
database model and video/video
link)

4 5 6
Create scenes & Interactive Create Settings feature *Additional resources
buttons - Add Audio to Scene - Creating a leaderboard
- Adding multiple scenes - Create volume slider - Simple quiz with high
- Adding interactive buttons score, timer, and life
- Add pop up Panel in a scene
Augmented Reality Lab Module

2 Basic Introduction to Vuforia


2 What is Vuforia
Vuforia is an augmented reality software development kit for mobile devices that enables
the creation of augmented reality applications.

How to add Vuforia to Unity


After that we need to add Vuforia engine to our project and unity. Go to Vuforia Website
and download section (https://developer.vuforia.com/downloads/sdk)

In the opened window, select “Add Vuforia Engine to a Unity Project or upgrade to the
latest version”

Then, you need to login. If you do not have an account, you can sign up and create an
account.
2

Once the Vuforia unity package is downloaded, double click


on it and it will automatically be imported to our project.

Make sure all the checkboxes are ticked and click on the
import button to proceed.

Add a Vuforia Engine game object by right-clicking on


the space in Hierarchy, select Vuforia engine and add
AR camera. Alternatively, you can right-click on
SampleScene > GameObject > Vuforia Engine> AR
Camera.

Click “Accept” if a warning regarding importing AR


Camera to scene pops up.
2 AR target image

Add a target image by right-clicking on the space in Hierarchy, select Vuforia engine and
add Image Target. Alternatively, you can right-click on SampleScene > GameObject > Vuforia
Engine> Image Target.

You can use whatever image you’d like for the target image. This is an example of an image
that will be used as a target image. This image will be added to the Vuforia database later.
2 Get Vuforia development key

To add the target image in our database, head back to the Vuforia website and enter the
develop tab. Then, click on the “Get Basic” button.

Name your license however you want, tick the checkbox


and confirm.
2

Back in the License Manager, select the license you had just created.

Click on the license key to copy and head back to your unity project.
2

In your unity project, select “ARCamera” (in Hierarchy), and then click on “Open Vuforia
Engine Configuration” (in Inspector).
2

Paste the license key in the field provided and click “Add
License”.

Create target image database

Head back to the Vuforia website, select the Target Manager tab and click “Add
Database”
2

Notes: Name your database however you’d like, check


If you encounter an “Device” type and click on Create.
error related to file
format with unsuitable
bits. Try converting
your image using this
website:
https://www.picturetop
eople.org/image_utilitie
s/image_converter.html
Back in the Target Manager, click on the database you had just created.

Click on the “Add Target” button. Browse your


computer and select the image you want to use as
target image. Put a width (e.g.: 500), name it and
then click on the “Add” button. (Read notes for
possible file format error)
2

Notes:
You can add more
target images by
repeating the steps
mentioned.

Once you are done with uploading the target image, download the database by clicking the
“Download Database” button.

Change the development platform to Unity Editor and click download. Once the download is
complete, double click the downloaded file and import the packages.
2

Notes:
You can add multiple
target images in one
scene, just relocate the
target images using the
move tool so they won’t
overlap each other.

Once the files are imported, select ImageTarget (in Hierarchy), then change the image
target type to “From Database” (in Inspector). Select your database and image target.

You might also like