【Niantic Lightship VPS #2】What is Niantic's VPS? - NianticのVPSって何?
1: Article summary - 記事概要
Hello, this is Matt from the Designium.
This article summarizes the VPS features and features of the Lightship ARDK. The first article is here.
2: What is Niantic's VPS? - NianticのVPSって?
2-1: What is Lightship VPS? - Lightship VPSとは
The Lightship VPS system is part of Niantic’s AR SDK known as ARDK or “Lightship”.
Creating the Lightship VPS maps requires an iPhone 8 or better-running iOS 12 or better. The VPS maps are made using a 3D scan of an environment using the Wayfarer app.
The Lightship VPS is designed to be used at specific locations rather than over wide areas, with Niantic suggesting that the VPS maps are limited to less than a radius of 10 meters.
2-2: Compare with VPS of Immersal SDK - ImmersalSDKのVPSと比較
Scanning
To create a Lightship VPS target we must scan an object or area using the Niantic Wayfarer apps. Niantic have created a thorough guide to scanning for public or private maps.
Because the mesh is created in realtime on the app it is very easy to see what will be part of the target and if the target accurately represents the reallocation. As the Niantic devs state: “If the mesh that is generated on the device looks good, the 3D map constructed for VPS should be good too.”
One of the limiting factors for Niantic is that map creation is done by environmental meshing which is limited in range. This limits all targets to the range of the environmental meshing (around 5 meters), which means that it is not possible to completely scan tall objects. For example we could make a map of the whole exterior of a building with Immersal, whereas the Niantic map would be limited to the lower level of the building.
Immersal does not have this limitation and can create scans that include objects hundreds of meters away from the scanning position. Map creation is done by taking many overlapping pictures of an environment using the Immersal mapping application. This must be done in real-time (i.e. you cannot just upload a collection of images) and the mapping application is a little unresponsive so it can be very slow/frustrating work.
While Niantic maps are limited to 10-meter diameter around the location, Immersal maps can cover whole stadiums or areas like Shibuya crossing.
Both the Niantic and Immersal systems allow for multiple maps of the same area to be taken to create a more robust map. The Niantic devs point out “One scan should be sufficient although you could capture a scan every few hours throughout the day to capture multiple lighting conditions and make localization more robust.”
Localization
Both Immersal and Niantic have a very simple method of localization. The user can simply point their device towards the mapped area and either hit a button to request relocation or the system can try to relocate automatically. If the system cannot localise the user would move their device around the area until it relocated successfully.
The main difference between the Niantic and Immersal system is that Niantic is entirely server based while Immersal uses downloaded maps. Immersal can download the maps at runtime and localise using the Immersal servers, however maps must be downloaded to the device. In addition, Immersal can localise offline with no internet connection required. Niantic relies on the Niantic servers and requires both an internet connection and GPS coordinates to relocate.
As stated above both systems can use multiple maps of the same area to try to make relocation more robust. The main difference between Immersal and Niantic here is that with Immersal we can specifically choose to use the one specific map, multiple maps, or a combined map. For example, we could have 1 map for daytime and 1 for nighttime and switch between them based on time, we could set both maps active at the same time and the system would check to try to find these maps, or we could combine the maps and use this single combined map.
With Niantic, we can make a relocation request using 1 specific map ID, or the make a relocation request with no ID which will automatically relocate to whichever map it chooses based on GPS. So in other words we can try to localise 1 map, or all the maps, and nothing
in between. This is not a problem if there is only 1 map at a specific location, however, the Niantic system often has multiple map IDs for a single location.
The devs state: “A localization query is sent to the Niantic AR backend with the GPS coordinates of the client. The AR backend tries to localise with all map data in the region and returns the identifier to the first map that is successfully localised against. The request may also timeout if no maps were localised against.”
This means that with Immersal we have more fine grain control of which maps (or combination of maps) we want to use in an app.
The devs have told me they will be implementing more map control in future but we don't know when it will come.
Range to target
The differences in creating the VPS targets are reflected in the distance at which devices can relocate to an area. If an Immersal map is created of a large distant target, a device can relocate at that same distance. If we make an Immersal target of a building 50 meters away, we can relocate from 50 meters away (possibly a little further). Because Lightship VPS targets are made with the environmental meshing the maximum range of relocation is close to the maximum range of the meshing, around 5 meters.
https://gist.github.com/mechpil0t/ea081d063d36b4aa4af6db8f3aa1efc4
Use Cases
The differences between ARDK and Immersal mean that they are better suited for different use cases. ARDK is better suited for placing AR content in and around smaller objects such as statues. In addition, due to the ability for ARDK to automatically localize based on GPS, it is well suited for creating persistent experiences that can be easily tied to a location. Due to the distance at which Immersal maps can be created and relocated, Immersal is better suited for placing AR content on large objects such as buildings.
3: Introducing works using Lightship VPS - Lightship VPSを使った作品の紹介
Using the Lightship VPS we created an Augmented Reality Pilgrimage to the Shichifukujin, or “Seven Gods of Good Fortune Tour”, at the Naruko Tenjin Shrine.
Normally a Shichifukujin Tour involves visiting different temples devoted to the 7 Lucky Gods and collecting a stamp or souvenir from each. In our AR version, we used statues of the 7 Lucky Gods as our VPS maps and used mini-games to allow users to earn their good fortune.
We chose Naruko Tenjin Shrine because it is one of the few shrines with statues of all 7 Lucky Gods on the grounds, which would allow users to get the full experience in a small area.
Lightship VPSを使用して、成子天神社で七福神へのAR巡礼アプリ、「Seven Gods of Good Fortune Tour」を作成しました。
We scanned each statue with the BetaScan app to create a .OBJ mesh file that we used to create a mesh effect and occlusion around the real world statues. After a user successfully localised to a statue they could play an AR minigame to earn the God’s blessing.
4:Impressions that the author tried using - 筆者が使ってみた感想
In my opinion, Lightship is a very high quality VPS system which seems to localize in a more consistent manner than some other VPS systems. However, the SDK seems to be at a very early stage of development and so is missing functions that would allow developers to have more control over relocalization requests.
The major strength of the ARDK is the method of creating a VPS map. Because the maps are created using a 3D scanning app we can see the coverage and quality of the map as we proceed, this means we are more likely to get a good quality VPS map.
5: Conclusion - おわりに
The Niantic Lightship VPS is well suited to precise placement of objects in small areas. While it cannot be used to cover large areas in AR content, overall Lightship VPS is one of the best I have tried.
In the next article, we will start to cover developing with and using the Niantic Lightship VPS.
6. Editorial Note - 編集後記
こんにちは!デザイニウム広報のマリコです。
先週アメリカで開催された「Niantic Lightship Summit 2022」には弊社の秦が参加し、
記事内で紹介したLightship VPSをつかった「七福神AR巡礼アプリ」をはじめとする弊社で制作したコンテンツの紹介動画が様々な場所で流れていたという嬉しい報告がありました❗日本でも6月に「Lightship Japan Summit」が開かれるという発表があり、こちらも楽しみですね😊また、6月は弊社佐久間が講師の「Lightship ARDK オンラインハンズオン」も開催予定です💻✨
Twitterで記事の更新やR&Dなど様々な情報を発信しているのでよかったらフォローしてくださいね😉
The Designium
Official website
Twitter (フォローお待ちしてます✨)
Facebook
Youtube