Creative Experiment # 1
3.1
Marker-less Augmented Reality
In this experiment, Unity was used as the interactive
software to create the marker-less AR project. For this experiment to work the
necessary tools that was installed are, Unity 2018.3.5f1 and Android Studio 3.3.
The Vuforia package was built into this version of Unity. It is important to locate
the correct paths to the SDK location, so that the build can be done and stored
locally in the computer. The player settings need to be adjusted accordingly as
well. A short tutorial was followed for this to be done correctly.
Figure 3.1.1: Jayanam.
(2017, August 24). Unity Android Tutorial : SDK, Build and Publish [Video file]. Retrieved from https://www.youtube.com/watch?v=1yLDxIMuRlo
Step 1: Open a new project in Unity. Go to File > Build
Settings > Select Android and hit switch platform. Right click on the
Hierarchy Area and hover on Vuforia engine to select AR Camera. After doing so,
open Vuforia Configuration on the inspector box and apply a license key which
can downloaded from the Vuforia’s official website.
Figure 3.1.2 A screenshot
of the step 1 in Unity
Step 2: Right click on Hierarchy area, hover over Vuforia Engine
then Ground Plane and selected Ground Plane stage
Figure 3.1.3 A screenshot
of the step 2 in Unity
Step 3: After inserting the ground plane stage the following
guide has appeared. Then repeat the steps from step 2 until Ground Plane drop
list. Select Plane Finder. Plane Finder helps to detect the ground in the real
world helps to place object on top it.
Figure 3.1.4 A screenshot
of the step 3 in Unity
Step 4: Go to assets, import assets to import the downloaded model.
The models can be in these formats. fbx, dae (Collada), .3ds, .dxf, and .obj files. It is important to make
sure the object lies on top of the plane detector so the position values are
set to (0,0,0) for (x,y,z) axises.
Figure 3.1.5 A screenshot
of the step 4 in Unity
Step 5: The imported object is set as the child to the Ground Plane
Stage. After that the Ground Plane Stage is dragged and dropped into the Anchor
Stage under Content Positioning Behaviour Script on the inspector box of Plane
Finder. With this the Marker-less AR is done. Simply go to File > Build Settings
and hit Build.
Figure 3.1.6 A screenshot
of the step 5 in Unity
Comments
Post a Comment