Augmented Reality is a new technology that is used to display digital content in real world. In this tutorial you will learn how to use Vuforia to display image on image target. It can be useful to display price of your painting. The video below will help you for better understanding of this blog.
For learning about how to DISPLAY 3D MODEL ON IMAGE TARGET USING VUFORIA IN UNITY3D go to this link
Create a new unity project:
In augmented reality creating a new unity project requires some of the things to be done. For creating a new unity project you need to write project name and then click on create project.
Adding new image:
For adding a new image target you need to go to vuforia engine. After going to vuforia engine click on image and re position it. Now go to vuforia portal. For opening vuforia developer portal make sure that you are sign in. Click on develop and after that go to click on target manager. For adding the target click on single image. Now choose the image by clicking on the browse button, then add certain width and rename it. Then click on add.
Downloading the data base:
Now download that data base. Click on unity editor then click on download. When it is downloaded drag it to the unity timeline put it in assets. Make sure that all the items are selected and click on import. Go to image target and select your database. Now you can see your image has loaded.
Showing the image on an image:
Now we have to show an image on an image. We have to add up a plane game object, right click on an image target, go to 3D object then click plane. Change the scale. Right click on assets then go to create, then click on materials and name it. Adding the image which we want to show on the second image, we need to drag material on plane. Dragging it down to desktop and place it on unity.
Click on default then change it sprite (2D and UI) and click on apply. Now drag the price icon into the blank area of Albedo. We need to rotate this image icon rotating the image click on plane ad rotate it according to your choice. Click on material, go to shadder, click on transparent, and go to cutout and click on bumped specular. Now click on file, then click on build settings. Make sure that your phone is connected and click on build and fun.