Last time, we made another ar project.
Professor gave us a sheet of paper named ‘lionflakes’.
Prepare scissor and glue. We cut along the outer strong lines and glue it each side.
Looks like this.
Now let’s go to our unity, make a new project.
First, go to build setting and switch the platform.
Also make sure to uncheck portrait and portrait upside down.
And import the vuforia unity package.
I went to our class website and downloaded the lionflakes assets.
Delete the main camera.
And drag ‘ar camera’ from vuforia prefabs.
In the inspector, we have to fill out the ‘App License Key’. So let’s go to vuforia website and bring the key.
Copy this key, and paste it to unity.
And we will going to create a database named ‘arClassMultiTarget’.
Click ‘Add Target’.
We will choose ‘Cuboid’ type. The dimension is like this.
Now our flakesbox database has created. Let’s add a image.
If you double click the ‘flakesbox’, you can upload the image of each side.
If you double click the box, you can see the contrast of image.
Now let’s download our database, and make sure to select Unity Editor.
When you download the database, always organize clearly so that you can find the files easily.
Let’s import the package, and bring the assets also.
Load and activate your database.
And bring MultiTarget prefab from the vuforia prefabs.
Choose your database.
And transform its rotation.
Create a 3D cube, and rename it ‘wireframe’.
Change its texture to wireframe texture.
And bring a bowlspoons model to the scene.
And add texture inside and outside.
So if you test, you can see your bowl with spoon will rotate around your lionflakes.
I exported to my iPhone! So nice~