Table of Contents

Create Annotations for On-Site Operation Verification

This article describes how to use Mega Studio to create annotation data for on-site operation verification.

Note

The following content and tools are not applicable to the Unity application development process.

If you are developing a Unity application, please refer to Package a Unity Application for Effect Verification in the development guide.

Before You Start

Before creating annotation data, you need to prepare the following:

  1. Block Cloud Positioning Service
  2. Unity Editor

Install Mega Studio

If you have already downloaded and installed the EasyAR Sense Unity Plugin, you can skip this step.

Download the EasyAR Sense Unity Plugin

On the EasyAR Download Page, select “EasyAR Sense Unity Plugin (for Mega)” to download, as shown in the following figure:

Download Mega Studio

Download Mega Studio

Unzip the file. Unzip the downloaded file into the structure shown in the following figure.

Download Mega Studio

Create a Unity Project

Run Unity and create a project.

  • Click “New Project”.

  • Select “3D (Built-In Render Pipeline)”.

  • Click “Create Project”.

    Create a Unity project Create a Unity project

Tip

For versions after Unity 6000, you need to download the 3D (Built-In Render Pipeline) component first.

Install Mega Studio

  1. Click “Window” on the menu bar.

  2. Select “Package Manager”.

  3. In the pop-up window, click the “+” symbol in the upper left corner.

  4. Select “Add package from tarball...”.

  5. Install the three packages com.easyar.sense, com.easyar.mega, and com.easyar.mega.studio in sequence.

  6. After successful installation, it is shown as in the following figure.

    Install the studio

Create Annotation Data

Right-click on the blank area of the “Hierarchy” panel on the left and import “Annotation Tool (Edit Mode)”.

Use the studio

  • Select “EasyAR.Mega.Annotation” in the “Hierarchy” panel on the left.
  • Enter your EasyAR account name and password in the “Inspector” panel on the right.
  • Click “Login”.

Use the studio

  • Click the icon after “Mega Cloud Service” in the “Inspector” panel on the right.
  • In the opened window, select a “Mega Block Positioning Service”.
  • Click “OK”.
  • Click “Load” in the “Inspector” panel on the right to add the map to the Unity project.

Use the studio

  • Press Ctrl and the left mouse button simultaneously at the spatial position to be annotated to create an annotation cube.

Use the studio

  • Select “EasyAR.Mega.Annotation” in the “Inspector” panel on the left.
  • Click the icon after the annotation data package in the “Inspector” panel on the right.

Use the studio

  • In the opened window, select a “Mega Block Positioning Service” on the left.
  • Click the “+” symbol in the upper right corner to create an annotation data package.
  • Enter the name of the annotation data package.
  • Click the “√” symbol to confirm.
  • Click “OK” to save the annotation data package.

Use the studio

  • Click below the annotation data package in the “Inspector” panel on the right and click the “∧” button.
  • Finally, click “Yes” in the pop-up window to complete the saving of the annotation data package. You can view and delete the annotation data in the Block Cloud Positioning of the cloud service.

Use the studio

Next Steps