ARENA has seamless support for a spectrum of experiences, from completely immersing the user in a digital world (Virtual Reality; VR) to enhancing the real world with interactive digital content (Augmented Reality; AR). A spectrum often identified as miXed Reality (XR). Try the following for a quick sample of AR using ARENA by opening a pre-made scene and anchoring it in the real world with an optical marker.
For simplicity, here we suggest a pass-through AR experience using the back-facing camera of a phone or tablet to capture the world and display the mix of virtual and real contents on the screen (options using Android and iOS below). In the XR Section you can find more information about using ARENA for XR, including different types of anchors, and supported devices.
We will use an AprilTag optical marker to anchor an ARENA scene in the real world.
Check out this Requirements Section for details on the requirements of different types of anchors that can be used in ARENA and the browsers that support these.
See instructions on using a QR Code to quickly open the URL on XR Browser further down.
Opening the URL should display the following sequence of screens. Click “Allow” for motion and camera access and “Enter” for AR mode.
|Provide access to sensors (1)||Enter AR mode confirmation|
Finally, point the device to the AprilTag, and scene’s origin should be anchored to it:
XR Browser supports loading a URL from a QR code:
i) Tap the address bar. The QR code scanner button will show up on the right.
ii). XR Browser will open your phone camera for scanning QR codes after you grant it permission.
iii) Position the following QR code to align it within the frame outlined by the four blue corners. XR Browser will automatically scan the QR code once it detects proper alignment.
iv) After scanning (because the QR code is a web address), the page will open.
For a quick test, you can also use an AprilTag on a screen. Note, however, that the ARENA location solver needs to know the size of the tag to accurately compute its location (this information comes from the ARMarker object in the scene, which, in this scene, is configured for an AprilTag of size 150x150 mm). ↩
The URL includes an
armode=trueflag which tells ARENA to automatically enter AR by skipping some AV setup steps. If this flag is not present, the user must select the button in the lower right to switch into AR mode. ↩