index file template

Tracking modes

There are 3 possible webAR tracking modes in XR+:

  • Image tracking
  • Surface tracking (SLAM)
  • Fixed tracking

Image tracking

In the image tracking mode, the composition of the experience is displayed on top of a specific image target trained and recognized by the system.

To learn more about training an image target as an AR marker, see the AR image targets section.

Surface tracking (SLAM)

With surface tracking you don’t need a specific image target, the project composition can be displayed on any flat surface using the webXR web API.

With the webXR API, you can place AR content in your environment anchored with a precise flat surface tracking and move around, that 6 degrees of freedom (6DOF).

Currently only possible on Android Chrome, Edge, and Samsung internet, on a large selection of phones.
Check list of supported phones

In cases where the webXR API is not available on the phone browser, then a 3 degrees of freedom (3DOF) fallback is used, with a simpler tracking method, but compatible with absolutely all cases.

Fixed tracking

With the fixed tracking mode, the AR composition for your project is always visible, centered in the middle of the phone screen.

AR image markers

Image AR markers are reference images used for image AR tracking. When the user points his phone camera on a image marker, the XR+ composition is displayed in AR, on top of the image marker.

Those markers also have a few constraints:
– They must be square.

They work best with images that have a lot of visual features. Images that work well have:
– Many sharp angles.
– High contrast. Both color and black and white images can be used.
– Many unique features that don’t repeat very often.

Photos typically makes much better image trackers than logos!

Keep in mind you don’t need to use the whole poster or photo as tracking pattern, sometimes using only a portion of it gives better results… In this example, to attach a webAR scene to this photo, it would recommended to use only the centre of the photo as tracking pattern.

Default XR+ image marker