Clarify getPose behavior with visibile-blurred by toji · Pull Request #1332 · immersive-web/webxr · GitHub
Skip to content
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

Clarify getPose behavior with visibile-blurred #1332

Merged
merged 1 commit into from
Jun 21, 2023
Merged

Conversation

toji
Copy link
Member

@toji toji commented Jun 21, 2023

The "poses may be reported" algorithm previously indicated that poses could only be reported if the visibility state was "visible", but that appears to be a mistake originating from the fact that "visible-blurred" was added later. The description of "visible-blurred" mentioned throttled head poses, so obviously the intention was to allow some poses in that state, just not input poses.

This change alters the "poses may be reported" algorithm to only suppress poses when the visiblity state is "hidden", and adds an explicit step to the "populate the pose" algorithm that prevents input poses from being returned if the visibility state is "visible-blurred"

Thanks @AdaRoseCannon for pointing this out!


Preview | Diff

The "poses may be reported" algorithm previously indicated that
poses could only be reported if the visibility state was "visible",
but that appears to be a mistake originating from the fact that
"visible-blurred" was added later. The description of
"visible-blurred" mentioned throttled head poses, so obviously the
intention was to allow some poses in that state, just not input
poses.

This change alters the "poses may be reported" algorithm to only
suppress poses when the visiblity state is "hidden", and adds an
explicit step to the "populate the pose" algorithm that prevents
input poses from being returned if the visibility state is
"visible-blurred"
@AdaRoseCannon
Copy link
Member

Thank you so much for putting this together!

Copy link
Member

@cabanier cabanier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cabanier cabanier merged commit b0e55b2 into main Jun 21, 2023
github-actions bot added a commit that referenced this pull request Jun 21, 2023
SHA: b0e55b2
Reason: push, by cabanier

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@toji toji deleted the visible-blurred-poses branch June 26, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants