Hello bloggers .. Have not update the article. This time I will discuss the tutorial create Augmented Reality applications on Android using the Unity 5 and Vuforia 5. Actually this is nothing new in this blog, I've made a previous article of this sort here.But due to the rapid update of Vuforia and Unity consequently today many who are confused follow my tutorial because it is no longer relevant. Since the number of questions and requests, so this time I will discuss about how to create Android-based Augmented Reality application using Unity 5 and Vuforia 5.
Ok immediately wrote the following are tools and materials:
Unity, in this tutorial I'm using Unity 5.1.1f1. Unity can be downloaded here.
Vuforia SDK, in this tutorial I use vuforia-unity-5-0-5. Vuforia can be downloaded here. Select the 'Download for Unity'.
Android SDK, these are the tools required to create android apps. Can be downloaded here.
Immediately, we entered into a tutorial. But before getting into the tutorial You can download projectnya advance on the link below.
Step 1: Open the Unity and create a new project.

Step 2: Change the project to Android

Do not forget to make settings in the player settings
Adjust the company name and application name
And also setting the bundle identifier
Step 3: Import Vuforia SDK with a double-click
Centang semua elemen import
Step 4: Enter AR Camera and Image Target into the scene, delete Main Camera.
Ok immediately wrote the following are tools and materials:
Unity, in this tutorial I'm using Unity 5.1.1f1. Unity can be downloaded here.
Vuforia SDK, in this tutorial I use vuforia-unity-5-0-5. Vuforia can be downloaded here. Select the 'Download for Unity'.
Android SDK, these are the tools required to create android apps. Can be downloaded here.
Immediately, we entered into a tutorial. But before getting into the tutorial You can download projectnya advance on the link below.
Step 1: Open the Unity and create a new project.

Step 2: Change the project to Android

Do not forget to make settings in the player settings

Adjust the company name and application name

And also setting the bundle identifier

Step 3: Import Vuforia SDK with a double-click

Centang semua elemen import

Step 4: Enter AR Camera and Image Target into the scene, delete Main Camera.

Vuforia supports debugging on a PC using a webcam camera. But if the hardware has not been in support Vuforia you can disable this feature.

Do not forget to save scene with Ctrl + S every change to avoid unwanted
Step 5: Define ImageTarget marker with a click and then click 'No targets defined. Press here for the target of creation! '
Step 5: Define ImageTarget marker with a click and then click 'No targets defined. Press here for the target of creation! '

You will be redirected to the website Vuforia. Login to log into your account. First click the 'Add License Key' on the 'License Manager' to create a license. This license will be related to the price you pay. Relax, for this tutorial, you can use a free license.

At no license code you need to put in your code. Copy all that code and then enter it on your project ARCamera.

Enter to AR Camera

Then define markers in the target image. In the 'Target Manager' click 'Add Database'

Enter the name of the database, and then upload marker. Upload your marker will be displayed and unrated.

This time I used the following marker, you can use the other markers.

Upon completion of the download datasetnya, select 'Unity Editor'. Then you will get a file with the extension .unitypackage.

Step 6: Import the database files by double-clicking the database file with the extension .unitypackage you get from Vuforia. Then specify the dataset used in ImageTarget

Place the object that will appear on the AR over Target Image. Create the object becomes the child of ImageTarget. In this example I use cube object by clicking the 3D Object GameObject >> >> Cube

AR Camera configuration to load the dataset

Step 7: Start the project by clicking on File >> Settings >> Build Build. Copy the .apk file to your Android device and run the application.


It's finished this tutorial, hopefully this article useful. The project of this tutorial can be downloaded by clicking the link below.
Click here to download project
Final words We are sorry if there are deficiencies or wrong words, keep the spirit and continue to work :)
Final words We are sorry if there are deficiencies or wrong words, keep the spirit and continue to work :)
0 Komentar untuk "Step by Step Making Simple Android-Based Augmented Reality Using Unity 5.1.1 and 5.0.5 Vuforia"