Mock VR devices for easier development and testing

RESOLVED FIXED

Status

()

--
enhancement
RESOLVED FIXED
4 years ago
2 years ago

People

(Reporter: caseyyee.ca, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [webvr][gfx-noted])

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2461.0 Safari/537.36

Steps to reproduce:

It would be super convenient to have simulated VR hardware for easier on-the-go development, testing or if you simply don't have a headset:

* navigator.getVRDevices() to return additional HMDVRDevice.
It would be nice for this to render into a separate preview window (like FFxOS emulator) and have adjustable parameters like FOV, IPD.

* navigator.getVRDevices() to return additional PositionSensorVRDevice.
Can be set via PositionSensorVRDevice.setState({ orientation: orientation, position: position })
Perhaps mouse/keyboard bindings to allow for movement through VR space.
(Reporter)

Updated

4 years ago
Whiteboard: [webvr]
Severity: normal → enhancement
Depends on: 1229480
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: Untriaged → Graphics
Product: Firefox → Core
Whiteboard: [webvr] → [webvr][gfx-noted]
Component: Graphics → WebVR
Puppet Test VR device support has been added to support automated testing, and can now be used for this purpose.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.