Skip to content

🧬A "getting started" template for building an AR experience using 8th Wall.

Notifications You must be signed in to change notification settings

sclampet/8thwall-AR-loading-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loading Screens Web AR Template - 8thWall

Overview

The following is a first step for getting started in Web AR using 8th Wall. (Follow the Getting Started instructions below to get setup with 8th Wall first). This does not include any code that deals with the actual 3D scene. This is just for the initial loading process which includes the following...

  1. Detecting if the user is not on a supported device or browser, and providing helpful information for how to view the XR experience.

  2. Displaying a loading overlay and camera permissions prompt while the scene and libraries are loading, and while the camera is starting up.

  3. Hiding the scene and showing an error image when an error occurs at runtime.

  4. Displaying an overlay graphic when the user turns device to enter Landscape mode.

Live Example

The following is a live application I have built for Sony that uses this code structure.

Getting Started

Please follow this Getting Started to get yourself up and running with 8th Wall so you can run this project. Once you're up and running see the info below regarding graphics.

Graphics Info

This project does not include graphics. However, you can add your own and name rename them to the following...

  • [AlmostThere] - To be displayed when the user isn't in viewing the app in a web browser.

  • [CamerPrompt] - Displayed when camera permissions are being asked.

  • [CancelCamera] -Displayed when the user selects 'Cancel' from the camera permissions prompt.

  • [DesktopScreenBackground] - Displayed when the user opens the app from a Desktop device. This usually displays a QR code that they can scan with their mobile device.

  • [Landscape] - Displayed when the user tries to view the app in landscape mode. Should only be used if other elements in your app aren't responsively designed.

  • [Error] - Displayed when an error occurs upon loading, asking for camera permissions, etc...

  • [LoadingScreen] - Displayed while loading your 3D scene.

About

🧬A "getting started" template for building an AR experience using 8th Wall.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published