-
Notifications
You must be signed in to change notification settings - Fork 410
Add XRSession.viewerSpace and tidy XRSpace explanations #491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I think the addition of the If we get a few more people voicing support for this prior to the F2F I'm inclined to merge it, otherwise we'll likely take a straw poll at the F2F and merge it if that comes out favorably. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my comments for only formatting and conventions.
nice work! 👍
| ### Relating between XRReferenceSpaces | ||
| There are several circumstances in which developers may choose to relate content in different reference spaces. | ||
|
|
||
| #### Inline to Immersive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be consistent with the headings elsewhere, Immersive should probably be immersive?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm inclined to leave this one since it's a concept being referred to. The next section "Unbounded to Bounded" is the same.
spatial-tracking-explainer.md
Outdated
| ## Practical Usage Guidelines | ||
|
|
||
| ### Inline Sessions | ||
| Inline sessions, by definition, do not require a user gesture or user permission to create, and as a result there must be strong limitations on the pose data that can be reported for privacy and security reasons. Requests for `identity` reference spaces will always succeed. Requests for an `XRBoundedReferenceSpace` or an `XRUnboundedReferenceSpace` will always be rejected on inline sessions. Requests for an `XRStationaryReferenceSpace` may succeed, but may also be rejected if the UA is unable provide any tracking information such as for an inline session on a desktop PC or a 2D browser window in a headset. The UA is also allowed to request the users consent prior to returning an `XRStationaryReferenceSpace`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are user gesture and user permission the same?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should inline be backticked or wrapped in quotation marks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: may succeed, but may also -> may succeed but may also
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
users consent -> user's consent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are user gesture and user permission the same?
Nope. User gestures are clicks/taps/etc. A user permission is a permission dialog that the user accepted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should inline be backticked or wrapped in quotation marks?
I think in this case it's ok because we're referring to the concept.
During the F2F we realized that this was an inadequate fix. "Screen" XRInputSources will need getPose with identity reference spaces
This PR addresses a few related things I noticed now that the getPose() changes have landed
getPose()in the explainer sample code