WebXR demo using Babylon instead of Three?


#1

Hello,

Is there a simple way to substitute Three for Babylon when using WebXR in the example below please?

https://codelabs.developers.google.com/codelabs/ar-with-webxr/#1

Thank you,


#2

Adding @trevordev


#3

You can take a look here: Babylon.js Documentation

The webXR spec is still not stable so there will likely be breaking changes in chromium as well as our XR api the future.

(This doc/xr api was written ~2 months ago and I havn’t tested recently but it was coded against the same spec version that I believe your link uses)


#4

Thank you @trevordev - I will have a look.

Incidentally, the link I posted doesn’t work with Chrome Canary but does with Chrome Dev on an LG G6. Will be awesome when WebXR spec is sorted.