Skip to content

AlexNorth365/holoplay-webxr

 
 

Repository files navigation

Original README

WebXR for HoloPlay (Unofficial!)

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 the Load 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.

Status

  • 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.

Compatibility

  • 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).

Hacking

  • npm run build to build.
  • npm run serve to serve the demos.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.8%
  • HTML 0.2%