We are going to create an application, this is the easiest way to create a really great app. In AR our goal is to blend digital objects with the world through the computer.
Download Unity, you should always have the latest before you begin developing because you will avoid problems and bugs. The extension is Vufiroia by Qualcomm, and once you have it you will need to create a developers account. You are almost ready to put any model into the scene, or even entire games! Download the SDK for Vuforia first and export the package for Unity 3D. Once you download the package go to your download folder and you will have two files to open. The first has a unity logo on it, and once you open it, import all the assets. Once you’ve imported both go back to the developer’s page on Quancomm/Vuforia and add your license key. It is about $500 but can change and there are always around the money for clever risk-takers.
Then in your Target Manager add a database. Now you will see all the targets on your page. These targets are not the only ones you can use, though. You can add images and if you choose to use something everyone carries you can use money. You will need to use the local currency (or the currency the people will have). Personally I choose “solid image” but you can choose whatever you want. VERY IMPORTANT is the name of the model. If you will have multiple targets and models appear on top of the others, you want to make sure you remember the name and are keeping track. Once you download the Dataset, open Unity and import the file.
I strongly recommend you have some knowledge of Unity before you go much further because if you do not know the basics then it will be very hard to create an AR experience. But it is not impossible, so it is totally up to you, but I would personally advise having experience in Unity.
Under project panel and the assets handle you want to make sure the SDK is there and make sure it is compatible with the Unity version you have downloaded. We are going to start the Unity project by dragging and dropping the AR camera. I will position at 0 and the x axis to be our origin position. This is just an arbitrary position. Tag the AR Camera as “player”. Now you want to paste the license key into the the “App License Key” field underneath the AR Camera options.
Add an image target and by default the image target will align under the 000 position. However double check everything and make sure the fields properly represent the assets you’re working with. Now you want to load the data set and once it is fully in and your targets are accurate. Now you will align your object. You can go to Game Object #D and add a cube if you don’t have your own model you want to add. Now resize the object so it is visible as you’d like it to be.
In your settings choose “Virtual Reality Compatible” and now you’re pretty much done! The next steps are to to test it a few times and show your friends!
For more information on Unity 3D visit: unity3d.com