DMC1 _ Lionflakes

Last time, we made another ar project.

Professor gave us a sheet of paper named ‘lionflakes’.

KakaoTalk_Photo_2016-06-18-22-02-34_87.jpeg

Prepare scissor and glue. We cut along the outer strong lines and glue it each side.

KakaoTalk_Photo_2016-06-18-22-02-36_29.jpeg

KakaoTalk_Photo_2016-06-18-22-02-37_71.jpeg  Looks like this.

Now let’s go to our unity, make a new project.

스크린샷 2016-06-13 오전 10.32.37.png

First, go to build setting and switch the platform.

스크린샷 2016-06-13 오전 10.34.42.png

Also make sure to uncheck portrait and portrait upside down.

스크린샷 2016-06-13 오전 10.34.29.png

And import the vuforia unity package.

스크린샷 2016-06-13 오전 10.35.11.png

I went to our class website and downloaded the lionflakes assets.

스크린샷 2016-06-13 오전 10.43.04.png

Delete the main camera.

스크린샷 2016-06-13 오전 10.46.39.png

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.

스크린샷 2016-06-13 오전 10.46.51.png

Copy this key, and paste it to unity.

스크린샷 2016-06-13 오전 10.48.37.png

And we will going to create a database named ‘arClassMultiTarget’.

스크린샷 2016-06-13 오전 10.49.14.png

Click ‘Add Target’.

스크린샷 2016-06-13 오전 10.49.57.png

We will choose ‘Cuboid’ type. The dimension is like this.

스크린샷 2016-06-13 오전 10.52.59.png

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.

스크린샷 2016-06-13 오전 10.53.11.png

스크린샷 2016-06-13 오전 10.56.45.png

스크린샷 2016-06-13 오전 10.57.00.png

If you double click the box, you can see the contrast of image.

스크린샷 2016-06-13 오전 11.01.13.png

Now let’s download our database, and make sure to select Unity Editor.

스크린샷 2016-06-13 오전 11.00.34.png

When you download the database, always organize clearly so that you can find the files easily.

스크린샷 2016-06-13 오전 11.02.42.png

Let’s import the package, and bring the assets also.

스크린샷 2016-06-13 오전 11.05.20.png

Load and activate your database.

스크린샷 2016-06-13 오전 11.19.25.png

And bring MultiTarget prefab from the vuforia prefabs.

스크린샷 2016-06-13 오전 11.20.38.png

Choose your database.

스크린샷 2016-06-13 오전 11.21.39.png

And transform its rotation.

스크린샷 2016-06-13 오전 11.23.47.png

Create a 3D cube, and rename it ‘wireframe’.

스크린샷 2016-06-13 오전 11.24.25.png       스크린샷 2016-06-13 오전 11.24.35.png

Change its texture to wireframe texture.

스크린샷 2016-06-13 오전 11.29.04.png

And bring a bowlspoons model to the scene.

스크린샷 2016-06-13 오전 11.35.55.png

And add texture inside and outside.

스크린샷 2016-06-13 오전 11.37.39.png

스크린샷 2016-06-13 오전 11.38.12.png

So if you test, you can see your bowl with spoon will rotate around your lionflakes.

스크린샷 2016-06-13 오전 11.40.14.png

I exported to my iPhone! So nice~

KakaoTalk_Photo_2016-06-18-22-02-38_71.png

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s