Mega user guide
Mega is a city-scale end-cloud collaborative spatial computing technology launched by EasyAR. Through flexible acquisition solutions, stable mapping and localization capabilities, and comprehensive toolchains, it aims to create persistent, high-precision digital twin spaces for the entire physical world (such as cities, campuses, or large shopping malls). With Mega, your application can achieve large-scale indoor and outdoor precise positioning and real-virtual occlusion, delivering unprecedented spatial interaction experiences to users.
Mega has some differences compared to traditional AR capabilities:
| Image tracking | Motion tracking | Mega large-scale space AR |
| Real-time recognition and tracking of planar images | Obtains device position and orientation relative to the real world | Associates and integrates the entire real world with AR content |
| ✅ Perfect association and fusion of printed materials and 3D content | ❌ Low correlation between AR content and scene | ✅ AR spatial awareness and environmental association |
| ❌ Requires specifying which printed materials can experience AR | ✅ AR can be experienced anytime, anywhere | ✅ Full scene coverage, no need for point-by-point 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 position.
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 provides various acquisition methods including panoramic camera acquisition, mobile phone acquisition, and laser scanner acquisition. You can choose based on the characteristics of the target scene. Refer to the following table for selection:
| Typical scenario | Acquisition solution | Acquisition device | Expected acquisition time | Quick overview |
|---|---|---|---|---|
| Large spaces (shopping malls, museums) | Single-image panoramic camera acquisition | GoPro Max/Max2 | Less than 128 minutes | Acquire data with panoramic camera |
| Extra-large spaces (large scenic areas, continuous streets) | Ultra-large-scale fusion with panoramic camera | GoPro Max/Max2 | Over 128 minutes | Acquire data for ultra-large spaces |
| Small spaces (rooms, shops, exhibition halls) | Small-scale space acquisition with mobile phone | iPhone / ARCore Android phone | Within 15 minutes | Acquire spatial data with mobile phone |
| Single object (exhibits, equipment, products) | Object acquisition with mobile phone | iPhone / ARCore Android phone | Within 15 minutes | Acquire specific object data with mobile phone |
Building Mega Block maps
After data acquisition is complete, you need to create mapping tasks to upload the 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 types of mapping tasks:
- Panoramic camera acquisition (single image)
- Panoramic camera acquisition (ultra-large-scale fusion)
- Mobile acquisition (small-scale space)
- Mobile acquisition (object)
- Laser acquisition (XGrids)
After mapping is complete, you can view the mapping results:
- Trajectory (acquisition route)
- Mapping report
- Block information
- 3D real-scene mesh
- 3D Gaussian splatting (XGrids LCC)
Tip
If mapping fails, refer to the Mapping failure handling guide.
Enabling localization services
After verifying that the mapping results are correct, you need to add the Mega Block map to the localization database before it can be used. The detailed steps are as follows:
- Configure localization database
- Manage localization database
- Verify localization database availability
Tip
Troubleshooting
If you encounter problems or unsatisfactory situations in the above process, you can first refer to the following topics for targeted solutions:
If the above topics do not resolve your issue, please collect necessary data and information and report the problem to EasyAR staff.
Mega in-depth and advanced guide
After completing the basic setup of the Mega localization service, you can refer to the following sections to learn more about Mega's features and characteristics, and perform specialized optimizations for complex scenarios.
Advanced scenarios
When using Mega to build localization services, you may encounter some complex scenario requirements. This section introduces specialized optimization solutions for these complex scenarios:
- Complex scenario optimization is a specialized solution for extra-large spaces, 24/7 all-weather, multi-floor, and high-similarity scenes
Verification and diagnosis
Before your application goes live, you can verify and diagnose the localization effect through the following methods:
- Use simulation verification without on-site testing
- If convenient, perform on-site verification
- If problems occur during localization, collect diagnostic data and provide feedback to EasyAR staff
Operation and maintenance
As the service runs long-term, the physical environment may change, and business scale may expand. This section describes how to continuously maintain, optimize, and scale the service.
- Scene update: When the real environment changes, how to update and upgrade the underlying map data while keeping existing virtual content positions unchanged.
- Service scaling: Solutions for business growth, including QPS estimation, capacity monitoring, and service scaling processes for localization services.
- Version migration: When the Mega mapping service undergoes major upgrades, how to smoothly migrate existing data to the new version service.
- Data format upgrade: Smoothly migrate localization service data to a newer, higher-performance format.
Reference manual
For the editor plugins and mobile tools involved throughout the development process, we provide detailed reference documentation:
- Mega Studio (Unity): An integrated environment for map loading, content annotation, and simulation in Unity Editor.
- Mega Toolbox (App): A comprehensive toolbox running on mobile devices for data acquisition and on-site testing.
- Mega Toolbox (Mini Program): A lightweight on-site testing tool that requires no app installation.
Final words
Welcome to using Mega to build your city-scale AR world! If you need further assistance or encounter any technical difficulties during development, you can visit the EasyAR Q&A community to search for solutions or ask questions. You can also contact us directly through business channels for feedback.
Finally, visit the EasyAR official website for the latest product updates and industry cases. Wish you a smooth and enjoyable AR development journey!