Giter Site home page Giter Site logo

Comments (4)

Manishearth avatar Manishearth commented on May 25, 2024

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.

from webxr.

AdaRoseCannon avatar AdaRoseCannon commented on May 25, 2024

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.

from webxr.

Manishearth avatar Manishearth commented on May 25, 2024

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)

from webxr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.