Comments (4)
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.
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.
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)
- Automated testing of WebXR sessions with WebDriver HOT 2
- Ultrawide-angle camera access? HOT 4
- Samsung M33 camera orientation bug HOT 1
- Should an empty profiles array be used to indicate no controller should be rendered? HOT 8
- A new XRSpace for a comfortable location for interactive content. HOT 5
- Webxr AR camera rotate 90° after few seconds HOT 1
- TPAC: Evaluate if any aspects of the API should be deprecated. HOT 6
- Meta presentation on a11y for ARVR devices HOT 4
- Devices with non-sRGB colour spaces HOT 2
- Is SLAM supported? HOT 1
- Gamepads in inline mode HOT 17
- Webxr fails to start on android 14 HOT 5
- requiredFeatures: camera-access on hololens2 HOT 2
- Bottom palette in color selection not very useful
- Does Linux support WebXR API? HOT 1
- Immersive AR does not work on the Samsung browser. HOT 1
- is webxr supported with iOS devices browser? HOT 1
- Detecting if an `XRInputSource` is an auxiliary or a primary input source HOT 50
- Indicate "preferred" immersive mode HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webxr.