Augmented Reality One

 ARONE

1. Importing Vuforia package inside Unity

Create a Account on : https://developer.vuforia.com/

In Download

Add Vuforia Engine to a Unity Project or upgrade to the latest version
add-vuforia-package-10-22-5.unitypackage (139.70 MB)


2. Importing Vuforia package via Vufora Core Samples

If you get error or stuck in step 1, import Vufora Core Samples from Unity hub and than try step 1.


3. Web Camera output and creating the ARONE License Key

login to vuforia, go to licenses, 

Create the License 

Copy Licenses Key to Clipboard

In Unity  

Delete main Camera

Add AR Camera - right click in Hierarchy -> Vuforia Engine -> AR Camera

Open Vuforia engine configuration - Simply click on AR Camera and check inspector 

In inspector you will see  Vuforia engine configuration

Paste Licenses Key in Licenses Key

4.  Capturing an Image

 To capture a Target Image Image - Use Microsoft Office Leans - Or any other scanning application

Make sure target image should be JPG or PNG

5.  Creating a Vuforia Database and uploading Image Targets

Go to Target Manager on vuforia Website

Generate database

Select Device Type

Give Database Name as a Project Name for Now 

Add target

Type: Single Image

Select the image 

Width value in Meter

Name the Image

Add

Download Database 

In Unity

 Double click on package and import

6.  Projecting Barbarian 3D Model on Image Target

Right click In Hierarchy -> Vuforia engine -> Image target

In Inspector -> Type -> from database -> Database : Select your database

Select Image target

Import Barbarian warrior from Assets Store

In Model Folder -> Drop .VFX file in hierarchy

 Make Child of Image target 

 In Inspector setting -> Select -> Ring - > Animation Type: legacy

 In Inspector setting -> Select -> Animation -> Select Any Animation -> Wrap Mode: Add Loop Frame

7.  Building the app for Android devices

Check JDK and SDK Path is Configure Properly

Edit -> Preferences -> External Tool - > Check JDK And SDK is Ticked

File - > Builds Setting -> Select Android -> Switch Platform -> Add Open Scenes

Players Setting -> Write company name -> Add Logo of Application(Default LOGO is Unity logo) -> Goto Resolution and presentation -> Support Aspect ratio to landscape Left -> Other Setting -> Remove Velcro Graphics -> Check Package name (com.company_name.product_name) -> Select Minimum and target API Level

        Build 

APK File will generate -> Run it in Smart Phone 

 

 

Comments