Skip to content

Yonet/Flashback2020

Repository files navigation

Flashback2020

Flashback Conference WebXR Demo.

Slides: https://slides.com/aysegulyonet/flashback-2020

Models

Church of St. Sofia

Thomas Jeferson Memorial

Technology

  • three.js: 3D library.
  • WebXR Device API: is a group of standards which are used together to support rendering 3D scenes to hardware designed for presenting virtual worlds (virtual reality, or VR), or for adding graphical imagery to the real world, (augmented reality, or AR).
  • glTF: 3D File format.

Running Locally

  1. Install dependencies
npm install
  1. Get Poly API key and add create a config.js as in config.example.js. Add your API key to apiKey string value.
var config = {
    apiKey: "Your Poly API key here!"
}
export {
    config
};
  1. Start the server
npm start
  1. Navigate to http://localhost:4200/

Debugging on the mobile browser

  1. Enable Developer mode on your mobile device.

  2. Download Chrome Canary or Edge Canary. Checkout CanIUse.com for other browsers that support WebXR Device API.

  3. Go to chrome://inspect/#devices and click on port forwarding. Add localhost:4200.

Inspect Devices

Port Forwarding

Other Resources