Augmented Reality (AR)
Getting AR into your Viewer only requires two additional calls. One checks it the device supports AR, the other one opens the scene in AR. You can check if the user is currently on one of these devices and start AR like shown in the example below. You can also just go to our platform and try AR there.
Scene Setup for AR
To ensure that the rendering of your scene in AR is close to the rendering of our viewer, please consider the following points.
Use an HDR environment map, preferably one that looks close to the default area where you want to display AR models.
Set the texture and output encoding to
srgb
and enable the physically correct light setting.Use as little lights as possible. The lights are not used in AR, therefore, they will change the rendering result noticeably.
If you still are not happy with the results, feel free to reach out to us, we are always happy to improve our features!
Additional Examples
Additional example can be found on the viewer examples page in the augmented reality section.