Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.
/ rust-webvr Public archive

UNMAINTAINED - WebVR API implementation for servo.

License

Notifications You must be signed in to change notification settings

servo/rust-webvr

Repository files navigation

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

OpenVR tips:

In order to run with openvr on windows, openvr_api.dll must be available. Please make it either accessible in your path, or copy it into the examples/room folder.

Refer to The ValveSoftware openvr repository and head over to the releases section for more information.

About

UNMAINTAINED - WebVR API implementation for servo.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages