Surface & gyroscope

In Onirix, Surface scenes allow the user to position an element on a horizontal area in front of him, and thus visualize the augmented reality content without the need for a specific marker such as a reference image.

There are two ways of displaying scenes of this type: content anchored to the surface itself, or floating content that is fixed using the phone's gyroscope. Anchored content allows us to visualize a scene as if it were fixed to our environment: a table, a wall, the floor. While floating content allows us to place elements around the user. Here we will see the differences and how we can use each of these modes in Onirix.

Surface tracking: anchored content (also known as world tracking)

Surface Banner

Surface Tracking allows to detect horizontal and vertical planes in your environment, and place any type of content on them, which remains fixed throughout the augmented reality experience.

Surface Anchoring for Scenes

This section is something that we are updating every now and then at Onirix since it is one of our main challenges as a platform: to generate a compatible solution for all types of mobile devices capable of anchoring the content to any surface.

Surface for Android (beta web XR in Onirix)

On Android this mode is fully operational thanks to the compatibility of Onirix Studio with the released version of Android for web XR. For now it is a beta phase that can be accessed by adding /beta to the url of the scenes generated in the sharing options, specifically in the Embed URL. The way to get that url would be to include the "/beta" block right after the webar block (.../webar/beta?...):

Example url:

https://studio.onirix.com/projects/6d77ee8ad36249238785c8d466354f6e/webar/beta?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjExMjY1LCJwcm9qZWN0SWQiOjMxNDc3LCJyb2xlIjozLCJpYXQiOjE2NjE4Njg3NTR9.8HYTzwVbSVzWFuGLQohEVXWcP5UrGpV217lM7X6dx-E

This would be the scene that represents the previous link:

robot%20scene

Try yourself:

To test the above scene click on this link (with a web XR Android compatible device). Or open this QR code:

webxr%20test%20qr

Surface for iOS (in progress)

We are currently developing our own algorithm to position a stable anchor on iOS devices (Safari browser), and thus achieve a unified behaviour on all phones on the market. We are finishing a beta version of this type of tracking, and we estimate to have a commercial and functional version within our Studio during Q4 2022.


Currently, content anchored in Onirix can be consumed either directly from a 3D model (asset viewer for web AR), or from a complete scene with interaction.


Gyroscope tracking: floating content

For cases where it is not necessary to anchor the content to the surface continuously, you can opt for a surface simulation through the gyroscope, and with this effect get the elements of the scene floating around the user.

For example, in this experience a gamification dynamic is generated in which the user has to hunt logos around him, to improve his score. These logos appear floating around him, using this mode of placement based on rotation:

More info and try yourself

To access the full experience and try the game visit our experience library: www.onirix.com/experience/ar-games-hunt-logos-time-limit/

hunt%20image

Results