Acquiring spatial data for Mega using xgrids innovative equipment
This section explains how to collect environments using laser scanning devices from XGrids Innovation, then reconstruct using LCC Studio and export data required by EasyAR Mega.
Overall process
Using XGrids devices for Mega typically involves the following steps:
- Collection path planning. Plan the collection route in advance according to the area to be collected, especially when capturing large-scale scenes.
- On-site data collection. Collect environmental data using supported laser devices.
- Process raw data with LCC Studio. Import the collected data into LCC Studio on a computer to reconstruct the scene’s 3D data.
- Upload data to Mega cloud to generate localization map. Select the files required by Mega from LCC Studio results and upload to the server.
- AR content placement and remote testing. View the reconstructed scene in 3D engines like Unity, design AR content, perform remote debugging, application packaging, etc.
- On-site testing and experience.
Xgrids device types supported by Mega
Mega currently supports the following XGrids devices:
- PortalCam P1 (PortalCam)
- Lingguang series
Note
EasyAR Mega currently does not support direct upload of raw data scanned by XGrids devices. It requires processing in LCC Studio and exporting to the required format first. Consult the user manual for the list of devices supported by the current version of LCC Studio.
Path planning and on-site data collection
For guidance on using XGrids devices to collect high-quality data, refer to the guides and tutorials provided on the XGrids Developer website.
We recommend reading the LCC collection tutorial to master high-quality scanning techniques.
- Read the official XGrids LCC collection guide to understand key considerations.
- PortalCam P1 collection guide, explaining how to operate and use PortalCam P1 for collection.
Processing scanned data with LCC Studio
For processing on-site scanned data with LCC Studio, refer to the official LCC Studio tutorial for detailed operational guidance.
Download LCC Studio, user manuals, and release notes from the LCC Studio official website.
Watch the LCC Studio tutorial series to learn about scene generation and editing.
Locating Mega-required files from LCC Studio results
After completing scene generation in LCC Studio, locate the files required for Mega development on your computer as follows:
Under LCC Studio's
My Scenes, click...in the top-right corner of your environment.Select
Open file locationto access related files on disk. In this directory, find the relevant files needed by Mega.
- In the
ply-result\point_cloud\iteration_100directory, find the 3D-GS filepoint_cloud.ply.
- In the
renderdirectory, locate the 3D-GS file inlccformat (*.lcc).
- In the
render\assetsdirectory, find the poses.json file recording the collection trajectory.
- In the
Note
You can also export PLY-format 3D-GS files for Mega via LCC Studio’s File > Export function, saving to a custom directory.
Next steps
Upload the reconstructed files from LCC Studio to the EasyAR server. For specific methods, see Uploading XGrids data to Mega server.