#open-vr #vr #ar #headset #oculus #design-pattern #magicleap

deprecated servo/webxr

A safe Rust API that provides a way to interact with Virtual Reality and Augmented Reality devices and integration with vendor-specific APIs like OpenVR, Oculus, GoogleVR and Magic Leap. The API is inspired by the WebXR Device API (https://www.w3.org/TR/webxr/) but adapted to Rust design patterns.

1 unstable release

0.0.1 May 30, 2019

#9 in #oculus

81 stars & 20 watchers

MPL-2.0 license

205KB
5K SLoC

Contains (JAR file, 54KB) gradle-wrapper.jar, (Zip file, 7KB) googlevr/aar/GVRService.aar

rust-webxr

Build Status

A safe Rust API that provides a way to interact with virtual reality and augmented reality devices and integration with vendor-specific APIs like OpenVR, Oculus, Google VR, and Magic Leap. The API is inspired by the WebXR Device API (https://www.w3.org/TR/webxr/) but adapted to Rust design patterns.

It's used in the WebXR implementation for the Servo browser, but can be used outside of Servo.

Some notes on our plans for this API: https://paper.dropbox.com/doc/Rust-webxr-plans--Ad8iXHKI15DKsFhfT3ufGiQiAg-xmqpUtCzy8yNMGWwUUxsz


lib.rs:

This crate defines the Rust implementation of WebXR for various devices.

Dependencies

~3–15MB
~116K SLoC