Flashback Conference WebXR Demo.
Slides: https://slides.com/aysegulyonet/flashback-2020
- 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.
- Install dependencies
npm install
- 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
};
- Start the server
npm start
- Navigate to http://localhost:4200/
-
Enable Developer mode on your mobile device.
-
Download Chrome Canary or Edge Canary. Checkout CanIUse.com for other browsers that support WebXR Device API.
-
Go to chrome://inspect/#devices and click on port forwarding. Add localhost:4200.