exokitxr / exokit

Native VR/AR/XR engine for JavaScript 🦖
MIT License
994 stars 117 forks source link

SteamVR composition #1081

Open avaer opened 5 years ago

avaer commented 5 years ago

Exokit's reality tabs right now work for WebXR, and 2D browser pages (DOM-to-Texture). However, there is a lot of talk of being able to composite other apps -- especially OpenXR, SteamVR, and so on, along with Exokit's regular WebXR.

From my experiments this should be quite doable. Initial work here is courtesy of OpenComposite.

The API for this could be the same as Realty tabs (<iframe> and/or <portal>), with a src that is a local executable or existing session.

This is an issue to track these experiments. 🦄 👾 ✨

chrislatorres commented 5 years ago

Will the src include command line args?

avaer commented 5 years ago

I don't know what the API should look like, but command-line arguments should definitely be supported. 👍

avaer commented 5 years ago

Related repo: https://github.com/ValveSoftware/virtual_display

avaer commented 5 years ago

HMD buffer driver from ALVR: https://github.com/polygraphene/ALVR/blob/08cec4aea9c646858874eda51c3928c31633b881/alvr_server/alvr_server.cpp Controller driver from ALVR: https://github.com/polygraphene/ALVR/blob/1ba32f4e5836c8e6207f28ad5848e1d3459360ff/alvr_server/RemoteController.h