Closed Bug 1186656 Opened 9 years ago Closed 7 years ago

Mock VR devices for easier development and testing

Categories

(Core :: WebVR, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: caseyyee.ca, Unassigned)

References

Details

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

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.
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
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.