How to interact with the 6D.ai SDK Unity Sample App

We are currently publishing four sample scenes for you in an iOS app built with Unity to build and experiment with. These scenes are not intended to be used for any public app releases and are copyright 6D.ai.

The app opens to a scene selector with a selection of 4 scenes you can choose from, emphasizing different aspects of the SDK:

  1. The Basic Sample Scene is symbolized with a 6D hexagon icon.
  2. The Ball Pit Sample Scene is symbolized with a three-sphere icon.
  3. The Drawing Sample Scene is symbolized with a palette icon.
  4. The Photon Drawing Sample Scene is symbolized with a palette icon and a Photon logo.

When you are in a scene, a back arrow will appear that allows you to go back to the main scene picker.


Basic Sample scene

The purpose of the Basic Sample scene is to demonstrate a minimal AR setup with persistence. The other samples are more advanced; a good handle of this one is recommended before exploring the others. Don't worry, it's simple!

AR Concepts highlighted:
  • 3D coordinate system storage (AR Cloud)
  • 3D coordinate system relocalization
  • Object persistence

Ball Pit Sample scene

Building on the Meshing Sample scene, this scene again presents itself as a camera viewpoint, with a button to toggle a visible mesh on and off. As soon as you start the scene, you will see a colored tint start spreading over objects: that's the real time world mesh. Now the fun begins - use your finger to fling balls at the real time mesh that is being generated and watch the balls react with physics on the mesh as the mesh is created. Turn off the mesh visualization to have it feel more life-like, and remember that our mesh isn't just planes - try tossing balls in a trashcan or on objects that are not flat!

AR Concepts highlighted:
  • User placed objects
  • Real time 3D mesh creation
  • Real time object occlusion
  • Object physics on the real time 3D mesh

Drawing Sample scene

Building on object persistence and AR Cloud storage from the Basic Sample scene, the Drawing Sample scene furthers things by adding multiplayer and user defined object placement. The scene is a fun way for one to many people to create a piece of artwork in the air. Players can select from millions of colors and draw lines recorded in 3 dimensions, and save it to the AR Cloud for others to enjoy. Try walking around as you draw for more fun!

AR Concepts highlighted:
  • 3D coordinate system storage (AR Cloud)
  • 3D coordinate system relocalization
  • Object Persistence
  • Multiplayer action in shared 3D coordinate system
  • User placed objects