index file template

Your first Web AR Project

In this tutorial, you will learn how to create a very simple Web AR Project with an image.

1. Create your account

First of all, you will need an XR.+ account, so go to the register page and create a free acount. Follow the steps to complete your registration, and now, let’s start your project!

On the XR+ studio home screen, click on the “Create your first project” button.

2. Create your first project

Here you can choose a project template to see the possibilities of the studio, in this tutorial, we will use “Empty project”. Name your project and click on “Create project”.

3. Import an image

Welcome to the main project edition screen! This is your assets library, which is empty for now.
Import your image by clicking on the button named “Import a File”, then click on the “Add to composition” button.

4. Add the asset to the composition

Now, we have your image in the 3D space of the editor. You can move it by selecting one of the two main tools of the view in the bottom left corner. Place it at your will. You can resize it or move it by entering the coordinates in the coordinates bar at the bottom of the 3D view.

5. And you’re done!

Your project is already published and live, above to the QR code, you can see the public link to the project, in this case: https://xr.plus/nnz (yours will be different).

Type this web address on your phone web browser or scan the QR code in the editor to view the project in web augmented reality.

Congratulation you’ve made it!

Compatibility

XR.+ provides the highest level of compatibility with smartphones to deliver advanced AR / VR experiences to 3+ billions of end users

Web AR

We support all major browsers on Android and Safari on iOS phones

 iOS: 98%
iPhones and iPads running on iOS 11 or newer, that’s all iOS devices launched since 2016
Android: 95%
Android phones launched since 2017 with a minimum of 2GB RAM

Together, that’s 96% of phones compatible

XR+ webAR experiences are compatible with all major mobile browsers

ChromeSafariFirefoxSamsung internetEdge

Web VR

we support Oculus Quest, Oculus Go, and the combo Firefox / Chrome + Oculus Rift / HTC Vive on desktop computers. If webVR is not available, the experience is displayed centered on the computer reen.

Assets library

Import assets to the project library so you can add them to the composition. Each asset can be added once or multiple times on each page of the composition.

What can be imported to the library?

3D models

You can import .obj.fbx and .glb (compressed gltf) 3D models up to 12 MB.
The 3D models can be animated.
We recommend importing 3D models with less than 100 000 triangle faces (polygons).

Images

You can import .jpg and .png images (including transparent png files)

Videos

You can import .mp4 videos files

Maximum resolution: 512 x 512 pixels.
Maximum size: 5Mb 
We recommend using ‘Miro video converter’ software to optimize and resize video files.

Audio files

You can import .mp3 files up to 2 MB. We recommend importing mono audio files to keep file size low.

AR Players

Create AR players to customize the design of the loading and start screens of your experiences.


They key screens that can be customized are the loading screens and the main screen (visible when all the project assets are loaded).

Materials

There are 6 material shaders available in the editor

Phong

Basic material with a color and a normal texture
Unlit

A shadeless material witha single color texture.
Lights do not affect unlit materials, recommend on models made from 3D scans where the lights are already applied.
PBR

Physically based rendering material with 3 textures: color, normal and metalness
Use it for realistic shading
Cel

Cell shading, for a cartoon effect (also called toon shading). When using cel shading, we recommend to keep only one light active on the scene, set the color to the other lights to black
Video

Same as unlit, but with a video as texture
Mask

Use the mask shader to mask other objects, great to make magic AR portal effects.
( only available as an experimental feature, contact us if you need it )

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