by samspenc · 2y ago · 0 comments
"WebXR Device API is a Web application programming interface (API)[1][2] that describes support for accessing augmented reality and virtual reality devices, such as the HTC Vive, Oculus Rift, Oculus Quest, Google Cardboard, HoloLens, Apple Vision Pro, Magic Leap or Open Source Virtual Reality (OSVR), in a web browser."
In your experience, does the promise hold true, is WebXR really "write once run anywhere" for the VR space?
It also makes deployment easier because once you publish, your VR experience is available at a link without any downloads or even embeddable like a YouTube video. With WebXR you can bypass any app stores too or avoid side loading processes.
The downside is you more constrained performance-wise with WebXR and have to keep that in mind during implementation. However the one-click deployment speeds up the feedback loop, allowing for rapid prototyping and more iterative development. For example, I could often build and tweak a VR experience on a call, letting the other person try out those changes by just refreshing their browser.