Comments (4)
This can move to https://github.com/immersive-web/privacy-and-security? In general, it’s a good point but I’d like to defer trying to solve this to a later time as it has to do more with session creation - that to me seems like the only reasonable time for the application to express the need to access more fine-grained data (we don’t want to fatigue the user with too many prompts, although one might be fine).
from real-world-geometry.
I agree we don't want to solve it; but, I posted here so that we keep this in mind. We don't want to go down a path that will be incompatible with these issues, for example.
For example, asking during session creation is one part of the solution. But, as smartphone app developers have found, waiting until a specific permission is needed is better for user understanding (i.e, the work flow of saying something like "We need access to X in order to provide the feature Y you just asked for. Click the button to request permission", then requesting the feature that may cause a permission prompt).
I can see both being needed in a WebXR situation.
- small, dedicated webxr pages may ask up front, for the very reason you suggest (don't bug the user with many permissions)
- large sites (e.g., youtube, ikea, etc) that have XR features (e.g., VR video viewing, put-the-furniture-in-the-room) may want to defer asking until needed. Now, it may very well be that those sites will just defer initializing WebXR until then, so it ends up being the same.
But, as you say, I don't really want to solve this here, I just want to make a note of the issue. Creating a similarly issue in privacy-and-security, and linking it back here is a good idea, I duplicated and linked it here.
from real-world-geometry.
Link to PR: immersive-web/webxr#689.
from real-world-geometry.
Closing stale issue - I believe we have this problem solved by requiredFeatures/optionalFeatures passed in to session request. The use of plane detection needs to be signaled at session creation (to give the UA a chance to ask for permissions), and then the API (whatever shape we end up with) can be used w/o prompts.
from real-world-geometry.
Related Issues (20)
- API for planes and meshes HOT 25
- Create proposal for near/world mesh HOT 1
- Plane detection should be enabled during session creating HOT 3
- Plane detection should be promise based HOT 2
- [meshing] provide support to pause meshing during a session
- [meshing] Determine the region that should provide a mesh HOT 2
- [meshing] determine how to deliver the mesh to the author
- [meshing] Type of the indexbuffer HOT 1
- [meshing] How should we request normals? HOT 11
- No information on requiredFeatures or optionalFeatures HOT 1
- Please enumerate considered alternatives in Explainers HOT 1
- detectedPlanes throws exception, detection of feature availability is not graceful HOT 1
- Detecting user's physical environment impact on plane detection
- Top view map of SLAM
- Need a function to get all existing persisted anchor handles HOT 3
- Add support for 3D geometry HOT 10
- Providing a clear signal for when we should call initiateRoomCapture HOT 3
- Semantic Labels HOT 1
- X21 HOT 1
- unique ids, arrays or maps? HOT 4
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 real-world-geometry.