Astro logo

6. May 2019

Augmented reality app

AR with AWS Sumerian

AR with AWS Sumerian

This weekend I decided to test Amazon Sumerian more and see if I could make something interesting with it. I came across this recording and just followed the guide.

Apparently an easy way to get started with AR in Sumerian is to clone the Amazon Sumerian ARKit starter app.

Laptop

In Amazon Sumerian you must click Publish and copy the generated URL that points to your public hosted scene.

In XCode ViewController.swift you need to change the sceneURL to the previously copied URL. Also append in the end of the URL /?arMode=true

private let sceneURL = URL(string: "https://eu-central-1.sumerian.aws/30080fd84e4346b6a8179147c1b688b0.scene/?arMode=true")!

If the Xcode build fails with something saying “Trust” you should go to iPhone settings -> General -> Device Management -> Your developer account and click Trust (developer account).

It should look like this. Apps from your apple developer account are listed here.

When the AR app tries to launch on the iPhone you need to allow accessing device Camera.

Now you should see your iPhone app installed.

When the app starts it shows a progress bar and your AR app name.

or possibly this error message if something goes wrong. Please check your sceneURL in XCode again.

When the app is started it might take a second or two to load this box onto the scene.

Look around through the iPhone camera and you should see other content you placed on the scene in Sumerian.

Creepy no?

Your scene items get augmented into the scene you are currently in.

For example here the lamps are placed in the ceiling.

Here is also a short tutorial on how to add a trusted app on iphone: guide

See the Amazon Sumerian website for more info.