exokitxr / exokit-web

Exokit WebXR engine for the browser
70 stars 18 forks source link

2D HTML render support #11

Open avaer opened 5 years ago

avaer commented 5 years ago

We have a hack for rendering HTML UIs to texture asynchronously by using Out-of-process Iframes. This might be a good candidate for putting into the engine itself, as another e.g. custom element.

avaer commented 5 years ago

Not plugged in yet, but this exists in https://github.com/exokitxr/exokit-render.

https://render.exokit.xyz

chrislatorres commented 5 years ago

The second half of the left-hand examples could be 2d example pages to load in.

avaer commented 5 years ago

The second half of the left-hand examples could be 2d example pages to load in.

Good idea.

Note that this would use a different tag, e.g. 2d-iframe, though that can be made to work on the demo page.