Skip to content

servo/rust-webvr

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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