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

Discussion topic, Untracked stereoscopic inline sessions #1348

Open
AdaRoseCannon opened this issue Sep 27, 2023 · 4 comments
Open

Discussion topic, Untracked stereoscopic inline sessions #1348

AdaRoseCannon opened this issue Sep 27, 2023 · 4 comments

Comments

@AdaRoseCannon
Copy link
Member

This was brought up at TPAC as a way to make inline more useful, to be able to do things that can't just be accomplished with WebXR.

One proposal was to let inline sessions display in untracked stereo, this would give the appearance like a 3D movie. It would not be head tracked or based upon the IPD of the user/device. So shouldn't expose additional risky information to the website but it is functionality that WebGL cannot do on it's own and would be a useful feature.

/agenda to gauge interest and confirm feasibility

@probot-label probot-label bot added the agenda Request discussion in the next telecon/FTF label Sep 27, 2023
@Manishearth
Copy link
Contributor

The way to do this would be to have a separate inline-stereo session type, which gives you access to the viewer space (potentially with fixed IPD?) and you use the viewer space transformed in the -Z direction as your base reference space paired with getViewerPose().

In general I want to open up the spec to allow inline sessions to request additional permissions like viewer spaces anyway so that e.g. magic window stuff can be supported.

One tricky thing is that if we fix IPD here, there may be no way to request inline-stereo with IPD using permissions: I would imagine that explicitly requesting "viewer" for inline-stereo would be fine for this.

@Yonet Yonet removed the agenda Request discussion in the next telecon/FTF label Oct 3, 2023
@AdaRoseCannon
Copy link
Member Author

After the call I am definitely leaning towards this being a feature that can be requested.

It will also need some examples of using it with layers.

@Manishearth
Copy link
Contributor

We still want to discuss this, but we should get a PR with concrete spec changes.

Probable design would be a new XR feature "inline-stereo".

IPD MUST involve a permissions prompt, we recommend UAs not require permissions for inline-stereo by default (and then fake an IPD), but if you are granted inline-stereo + local you get accurate IPD by default (since you went through a perm prompt)

@AdaRoseCannon
Copy link
Member Author

@Manishearth do you think we should discuss this at the upcoming face-to-face

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

No branches or pull requests

3 participants