Skip to content

Example of AR support on MapMint4ME

Aditya Chondke edited this page Aug 26, 2019 · 38 revisions

Augmented Reality Support to MapMint4ME Example:

The first thing that we need to make sure before using any AR feature on a mobile device is the support of ARCore library on the device. There are a limited number of devices presently with ARCore support here is a list of ARCore Supported Devices. Understanding the working and develop using ARCore some Fundamental concepts of ARCore must be studied. ARCore enables experiences that can make virtual content appear to rest on real surfaces or be attached to real-world locations. If the device doesn't have an ARCore support then the app can be tested through Android Emulator in Android Studio. There are a few basic requirements and steps to add AR support to Android Emulator

There are 3 new Augmented Reality functionalities added to MapMint4ME following is an example:

AR Drawing:

AR Drawing allows the user to draw white lines in 3d space. Open AR Drawing by clicking the button in the Edit window.

Tap on the clear icon to clean everything drawn from the start of the session and click on undo to remove one step

AR Drawing Video Link:

Here is a video link tutorial of using AR Draw

Cloud Anchor:

Cloud Anchors gives you the ability to create AR apps that share a common frame-of-reference, enabling multiple users to place virtual content in the same real-world location. Cloud Anchor uses Firebase to store references of the anchor id generated. The Anchor Id's are long and impossible to remember so an anchor room code is generated for each anchor id and the user just have remembered the anchor

Open Edit option on the home page of MapMint4ME

Select Cloud Anchor Button to launch CloudAnchor activity:

It detects the surface and shows a dotted pattern over the surface detected.

Tap on the screen to place an object over the plane and generate cloud Anchor Id:

Cloud Anchor generated and shown as Toast and stored to Google Firebase:

To Resolve Saved Anchor:

To resolve the saved anchor enter Anchor room code on the edit text at the right top corner of the screen and click resolve button. If the Anchor room code is available over the Firebase then it's loaded else an error toast is shown

Cloud Anchor Video Link:

Here are video link tutorial of using Cloud Anchor Creating Anchor and Resolving Anchor

AR Scale:

Add functionality of measuring distance in realtime using an Augmented Reality ruler. The feature added can measure distance in horizontal along the plane detected or perpendicular to the surface detected.

Tap on the screen to place a cube on the node points. The selected cube will be shown in pink color and the unselected cube will be shown in green color.

AR Scale Video Link:

Here is a video link tutorial of using AR Scale