Table of Contents

Mega usage guide

Mega is a city-scale device-cloud collaborative spatial computing technology developed by EasyAR. Through flexible acquisition solutions, stable mapping and localization capabilities, and a comprehensive toolchain, it aims to create persistent, high-precision digital twin spaces for the entire physical world (e.g., cities, campuses, or large shopping malls). With Mega, your application can achieve large-scale indoor/outdoor precise positioning and realistic virtual-real occlusion, delivering unprecedented spatial interaction experiences to users.

Mega differs from traditional AR capabilities in several ways:

Image tracking Motion tracking Mega large-scale AR
Real-time recognition and tracking of planar images Obtains device position and orientation relative to the real world Associates and fuses the entire real world with AR content
✅ Printed materials and 3D content perfectly associated and fused ❌ Low relevance between AR content and scene ✅ AR spatial awareness and environmental association
❌ Requires specifying which printed materials enable AR ✅ AR experience available anytime, anywhere ✅ Full-scenario coverage, no need for point-specific prompts

Getting started with mega

Unlike traditional GNSS positioning that relies on satellite signals, Mega is based on advanced visual localization technology. By matching real-time image data captured by user devices with pre-built high-precision 3D data, it determines the user's 6 DoF pose in the physical world. Based on this pose, the application can render and overlay virtual content at the correct physical location.

You can follow the workflow below to start using Mega from scratch:

flowchart LR

A[Data acquisition] --> B[Build Mega Block map] --> C[Configure localization database, place virtual content] --> D[Mega localization]

Data acquisition

Mega offers various acquisition methods including regular single-map, ultra-large space, and mobile collection. Choose based on target scene characteristics, referring to the following table:

Typical scenario Acquisition solution Acquisition device Expected acquisition time Quick reference
Large spaces (malls, museums) Regular single-map acquisition GoPro Max Less than 128 minutes Panoramic camera data acquisition
Extra-large spaces (large scenic areas, continuous streets) Ultra-large space acquisition GoPro Max Over 128 minutes Large-scale space data acquisition
Small spaces (rooms, shops, exhibition halls) Mobile small-scale acquisition iPhone / ARCore Android phone Within 15 minutes Mobile spatial data acquisition
Single object (exhibits, equipment, merchandise) Mobile object-specific acquisition iPhone / ARCore Android phone Within 15 minutes Mobile object data acquisition

Building mega block maps

After data acquisition, you need to create mapping tasks to upload collected data to the EasyAR Developer Center. The Mega cloud mapping system will automatically process and build the Mega Block map.

Different acquisition solutions correspond to different mapping task types:

After mapping completion, you can review the results:

Tip

If mapping fails, refer to the Mapping failure handling guide.

Enabling localization service

After verifying mapping results, you need to add the Mega Block map to the localization database before use. Detailed steps:

Tip

Troubleshooting

If you encounter issues or suboptimal results in the above process, first refer to these specialized solutions:

If these don't resolve your issue, collect necessary data and information, then report it to EasyAR staff.

Mega advanced guide

After establishing basic Mega localization services, refer to the following sections to explore more features and optimize for complex scenarios.

Advanced scenarios

When building localization services with Mega, you may encounter complex requirements. This section covers specialized optimization solutions:

Verification and diagnostics

Before launching your application, verify and diagnose localization performance through:

Operation and maintenance

As services run long-term, physical environments may change and business scale may expand. This section covers ongoing maintenance, optimization, and scaling.

  • Scene updates: How to update underlying map data while preserving existing virtual content positions when physical environments change.
  • Service scaling: Solutions for business growth, including QPS estimation, capacity monitoring, and scaling procedures.
  • Version migration: How to seamlessly migrate existing data when major Mega mapping service upgrades occur.
  • Data format upgrade: Migrate localization service data to newer, higher-performance formats.

Reference manual

Detailed references for editor plugins and mobile tools throughout the development lifecycle:

  1. Mega Studio (Unity) - Integrated environment for map loading, content annotation, and simulation in Unity Editor.
  2. Mega Toolbox (App) - Comprehensive mobile toolbox for data acquisition and field testing.
  3. Mega Toolbox (Mini Program) - Lightweight field testing tool requiring no app installation.

Final words

Welcome to building your city-scale AR world with Mega! For further assistance or technical challenges during development, visit the EasyAR Q&A Community to search solutions or ask questions. You can also contact us directly via business channels.

Finally, visit the EasyAR official website for the latest product updates and industry cases. We wish you a smooth and enjoyable AR development journey!