#oculus #vr #webvr #openvr #headset

rust-webvr

Safe rust API that provides a way to interact with Virtual Reality headsets and integration with vendor specific SDKs like OpenVR and Oculus. The API is inspired on the easy to use WebVR API but adapted to Rust design patterns

41 releases

new 0.10.4 Apr 15, 2019
0.10.2 Mar 5, 2019
0.9.12 Nov 30, 2018
0.9.10 Feb 26, 2018
0.1.0 Nov 30, 2016

#60 in Rendering

Download history 305/week @ 2018-12-31 414/week @ 2019-01-07 333/week @ 2019-01-14 266/week @ 2019-01-21 340/week @ 2019-01-28 418/week @ 2019-02-04 352/week @ 2019-02-11 307/week @ 2019-02-18 362/week @ 2019-02-25 484/week @ 2019-03-04 525/week @ 2019-03-11 419/week @ 2019-03-18 588/week @ 2019-03-25 367/week @ 2019-04-01 306/week @ 2019-04-08

1,650 downloads per month

MPL-2.0 license

446KB
9K SLoC

rust-webvr

Safe rust API that provides a way to interact with Virtual Reality headsets and integration with vendor specific SDKs like OpenVR, Oculus and GoogleVR (Daydream). The API is inspired on the easy to use WebVR API but adapted to Rust design patterns.

It's used in the WebVR Core implementation for Servo browser. This module can be tested outside of Servo and even be used on any vanilla Rust app.

Room Scale example:

Just run this command in examples/room folder

cargo run

Run room scale demo on android:

./run_android.sh

Dependencies

~5MB
~79K SLoC