No longer maintained! Please move to https://github.com/Looking-Glass/looking-glass-webxr
Implements the WebXR API (using webxr-polyfill) for Looking Glass Factory's HoloPlay devices.
This project contains both a library and a WebExtension that injects the library before page load.
This repo contains builds of both the library and the (unpacked) extension. In order to install the extension, simply clone the repository and point your browser at the directory. (Tested in Chrome 89 and Firefox 86.)
- To install in Chrome, navigate to
chrome://extensions
, select theLoad Unpacked
button, and point at the cloned directory.
Thanks to WebXR Emulator Extension from which I took the skeleton of this project.
This fork of webxr-samples has been modified to unconditionally use WebXR for HoloPlay instead.
- Only tested on a single Looking Glass 8.9" dev kit. (Additional testing would be appreciated!)
- Extension has not been published in the Chrome Web Store or Firefox Add-ons.
- webxr-samples: Works!
- Three.js: Technically works, but can only handle 2 views. Often fails to launch in Chrome, due to an unattributed DOMException. (tested page)
- Babylon.js: Works! Fixed in version
5.0.0-alpha.9
. (tested page) - Sketchfab: Renders a blank screen (not sure why).
npm run build
to build.npm run serve
to serve the demos.