Samples
📄️ Importing Sample Projects
In order to get you get started quickly in using our platform, we have three samples that you can quickly import and explore.
📄️ Map-based Relocalization Sample
This sample will use map-based relocalization to find the shared anchor from a map, and show a cube on the shared anchor position on successful relocalization. After the shared anchor is found, the SDK will move the AR origin (0, 0, 0) to the position of the shared anchor. For map-based shared anchors, this location in the real world space is the place where you first started scanning the map.
📄️ Image-based Relocalization Sample
Note: It is highly recommended to read the Map-based Relocalization Sample first because it explains many of the same concepts that is used in this sample. This tutorial will not go over the same concepts that is already explained there.
📄️ Multiplayer Sample
This sample uses map-based relocalization for establishing a shared coordinate system in order to showcase how multiplayer experience can be implemented using Pretia AR Cloud. After successfully finding the shared anchor from a map, the sample will spawn a drone for each connected player. This drone will follow its owner's device, and the player can press a button to make the drone jump or shoot. The sample supports up to eight concurrent players.