Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

hasOrientation (& hasPosition) flags #30

Closed
mkeblx opened this issue Apr 6, 2016 · 2 comments
Closed

hasOrientation (& hasPosition) flags #30

mkeblx opened this issue Apr 6, 2016 · 2 comments

Comments

@mkeblx
Copy link
Contributor

mkeblx commented Apr 6, 2016

What is the use case of these VRDisplayCapabilities flags on VRDisplay? Especially hasOrientation as hard to imagine HMD not having orientation tracking.

Also note specifically renamed from VRDevice to VRDisplay to focus spec on covering use case of HMDs (mainly) and not generic tracked VR devices.

Additionally can be figured out by null or not state of orientation and position data.

@toji
Copy link
Collaborator

toji commented Apr 6, 2016

The difference between a null position and hasPositionhas been explained by @kearwood in the past with the "Cat scenario". If a cat walks in front of my tracking camera/laser box and tracking drops, it may appear that the device has no position tracking at all if all you are looking at is the pose data. hasPosition == true && pose.position == null says "I have the ability to track your position, I'm just not able to do it right now."

@cvan
Copy link
Contributor

cvan commented Jun 2, 2016

Moved to immersive-web/webxr#38

@cvan cvan closed this as completed Jun 2, 2016
@MozillaReality MozillaReality locked and limited conversation to collaborators Jun 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants