20:03:06 RRSAgent has joined #immersive-web 20:03:06 logging to https://www.w3.org/2021/03/09-immersive-web-irc 20:04:22 cabanier has joined #immersive-web 20:04:32 present+ 20:04:40 present+ 20:05:20 present+ 20:06:15 present+ 20:07:01 scribenick: jgilbert 20:07:29 scribe: jgilbert 20:07:36 !q 20:07:48 q+ 20:07:52 q- 20:10:11 RafaelCintron has joined #immersive-web 20:10:32 poitr: Since we're far along in shipping depth sensing, so we should move it to CG. DS exposes the depth sensing info from camera, either via cpu data or within a gpu API. This would avoid having giving the data in a format that the app needs to move things around too much. API shape supports preference choosing, and the API can say "can't do that", but the app would then ask for something else 20:10:58 s/poitr/bialpio/ 20:11:37 bialpio: Feedback: No preference for changing the API, though some users said it was hard to use. (some said easy to use though) 20:11:41 q? 20:12:13 cabanier: What about permissions. Is there a popup? 20:12:34 q+ 20:13:56 ack RafaelCintron 20:13:59 bialpio: Nothing spec mandated, no enforcement, but spec says "make sure the user is informed". If depth data may be too detailed for the level of permissions that the UA has from the user, it can refuse, or just truncate precision. If the precision would approach e.g. raw camera access, UA might refuse, or offer a prompt to the user 20:14:28 RafaelCintron: Has the current API been implemented on devices that only support cpu or gpu? 20:14:50 bialpio: Haven't seen any devices this way, but it should be possible to handle 20:14:56 q? 20:15:12 RafaelCintron: This topic, just should we move to WG? 20:15:47 ada: Probably CG, since we avoid bigger sweeping changes in the WG, but we can do either 20:16:24 RafaelCintron: My concern is we don't have implementations where our API is gpu-only, so that's a design risk if that is hard to handle with this current API 20:16:42 present+ 20:16:43 ada: If problematic, hopefully not too big of changes needed 20:17:18 ada: Next topic: https://github.com/immersive-web/layers/issues/252 20:18:02 present+ bajones, RafaelCintron, leonard 20:18:22 cabanier: (presents details from the issue) 20:18:30 present+ LachlanFord, MichaelBlix 20:18:52 cabanier: If the behind-the-scenes asynchronicity causes stalls, what do we do? 20:20:15 bajones: If we have allocations that take longer than a frame, we probably want to wait for the resources to be available before continuing. Common pattern in webgl/webgpu, where you ask for a resource and we give you a handle, but might not actually allocate yet on the UA backend. There are only a couple API calls that require sync results (readPixels) 20:22:32 bajones: We can probably also defer the allocation? You might get a Frame, do rendering commands, and then the UA isn't ready with the new backbuffer. However, that just means it might take longer to flush out the commands. Probably not a real/common problem? Maybe you don't have the right formats, but we know that very early. But maybe you did run out of memory, but what can we do there? Not much, try again? Maybe it doesn't matter so[CUT] 20:22:58 ...I think we should support checking the framebuffer status if apps really want to, but we probably don't need a lot more 20:23:13 cabanier: if we remove the "allocate now", we'll probably be ok? 20:23:57 bajones: Yeah, probably don't need that, but not sure on verbiage. "Do the commands to allocate as if done in webgl"? Don't have to suggest that allocation is immediate 20:25:27 jgilbert: I think as-if-sync works well yeah, and let people ask early if wanted 20:25:38 cabanier: Can we check for layers? 20:25:47 s/check/check early/ 20:26:54 bajones: Best way to do it is do one of the must-sync calls, like readPixels. But probably apps don't need to check usually, just assume it works. We'd know very early for the "it will never work" like unsupported format 20:27:00 q? 20:27:33 ada: Next issue: https://github.com/immersive-web/webxr/issues/619 20:28:13 laford has joined #immersive-web 20:28:15 q+ 20:28:18 alexturn has joined #immersive-web 20:28:24 cabanier: Issue from a couple years ago. OpenXR has acceleration and velocity, probably better data than trying to infer it yourself from position data 20:28:36 present+ 20:28:37 q+ 20:28:55 ack laford 20:29:02 cabanier: Alex had a concern that acceleration isn't the same across devices, but velocity should be consistant for us 20:29:29 ack alexturn 20:29:53 q+ 20:31:52 alexturn: Velocity is useful where position data just isn't good enough. Like throwing a ball, you want the velocity when the ball is released, and being off by even half a frame is really bad. Apps tend to use fudge-factors without real velocities. Best to just use velocity, especially for throwing in particular. We originally had acceleration, but people didn't get as much value, and our data just isn't as good. Consensus in xr wg wa[CUT] 20:31:59 q? 20:32:04 ack laford 20:32:09 ...implementations and also it wasn't as useful, so didn't work more on that 20:32:24 q+ to ask about platforms which do not support it 20:32:40 ack ada 20:32:40 ada, you wanted to ask about platforms which do not support it 20:32:55 laford: A lot of velocity info is only known by the system, so we have a lot of extra better data to expose there, better than what apps can do based on position alone 20:33:19 q+ 20:33:24 ada: What about transient input sources, like swiping? What if not provided by the platform? 20:33:26 ack alexturn 20:33:59 alexturn: Platforms have better info for 6dof tracking, and in practice platforms do have this info, don't have a good answer if there were a platform without it 20:34:29 alexturn: If app has a fudge-factor that worked better for its usecase, it's better for the app to choose than for implementations to guess/estimate 20:35:01 alexturn: We can probably say "SHOULD use platform API to get this data", but UA can polyfill if it thinks it can do good enough anyway 20:35:19 ada: Ok so maybe we sometimes the API says "null: can't do that"? 20:35:45 q+ 20:36:05 alexturn: It matters less what the spec says here since apps often aren't defensively coded about this, likely can't even test/don't have the device to test on 20:36:15 ada: Better to guarantee it? Do our best? 20:36:20 q+ 20:36:22 q? 20:36:27 ack laford 20:36:55 ack cabanier 20:36:58 alexturn: Yeah, might be best to spec it to always give values, and maybe a bool for "is this a good/precise/better than position-based inference" 20:37:15 q+ 20:37:27 cabanier: We don't have velocity in our shipping spec today, so how do we add it? Feature-testable? 20:37:47 ada: Yes this would be a breaking change, v2 the API? Or feature-detectable? 20:38:03 ack alexturn 20:38:14 cabanier: Probably should be optional for now, feature-detectable 20:39:21 alexturn: Two types of optional: Platform support vs UA support. Sort of different. Even if UAs are all shipping this new thing soon, there's still a question about do we guarantee velocity in our API 20:39:38 q+ 20:39:51 q+ 20:40:08 ack bialpio 20:40:10 alexturn: so we're fine for this intemediate period where apps are feature-detecting UA support, but once UA support is universal, they will stop detecting for platform support 20:40:47 q+ 20:40:55 bialpio: how should we do feature-detection? Usually FD is prototype-based, don't even need an instance of the api 20:41:30 bialpio: But also, is this really breaking change? Since old apps continue to not support the new stuff and it still works 20:41:39 ack bajones 20:41:58 ada: Yeah it's a matter of perspective of audience, app/ua users vs app devs 20:42:59 bajones: We have a mechanism for FD via feature strings, so we can choose to gate velocity data on requesting the required-feature string for device creation 20:43:41 bajones: This feels heavy-handed, and I think a nullable would be fine and people would check it. Yes possibility of breaking, but very slim, and I'd be comfortable with that 20:43:48 q? 20:43:51 ack alexturn 20:44:04 bajones: If people aren't, then would recommend a feature descriptor for this, though it feels like overkill for me 20:44:52 alexturn: +1 Devs need to handle it anyway, making choices based on *some* signal, but it's likely buggy/broken if you didn't test it 20:45:34 alexturn: Nullable is probably fine, and even if nullable, UAs will center on always providing a value anyway, just for compat reasons 20:46:17 alexturn: Technically content could handle this perfectly, but it practice there's enough content we care about compat for that we are forced into polyfilling anyway 20:46:25 q? 20:47:04 ada: Seems like consensus to add this? Where would this go? 20:47:50 ada: If this is going to be for any pose, this probably has to be in webxr, not just in xr-input 20:48:14 bajones: As long as input isn't a special carve-out, we probably have to handle this more generally 20:48:25 cabanier: So more than just for input devices? 20:48:25 q+ angular velocity 20:48:34 q+ to ask about angular velocity 20:48:37 q- angular 20:48:40 q- velocity 20:48:48 ack ada 20:48:48 ada, you wanted to ask about angular velocity 20:48:59 bajones: If you want to know how fast moving between user and floor, sure. Most useful for data from controllers, but for other things, why not 20:49:09 q+ 20:49:16 ack laford 20:49:22 ada: What about angular velocity? Do people want it? Spinning a ball, or maybe head motion? 20:49:40 laford: Yes, probably should be extended beyond just inputs 20:49:56 q+ 20:50:11 bajones: Space velocity is done a little different, sort of like an extension of the location of the space 20:50:17 q+ 20:50:37 bajones: Maybe because if you don't want to velocity, the platform can leave it out if not requested 20:51:00 bajones: Is it a burden to ask for velocity all the time, or is that extra overhead if we don't end up using it 20:51:27 alexturn: Probably an over-optimization, maybe for reuse all in the same space 20:52:10 alexturn: So originally, why pay the cost if we didn't need it, but it didn't end up saving a lot, don't know as we'd choose to do that that way again 20:52:18 q+ 20:52:28 bajones: About calculation or struct filling? 20:53:00 alexturn: Extra calculation, like for position offets. Probably not worth optimizing for for webxr 20:53:02 ack laford 20:53:07 ack bialpio 20:54:05 ack alexturn 20:54:08 bialpio: Note: In most implementations, we'll probably need to query the velocity from the system unconditionally, and we have to package it up for moving between the processes eagerly anyway, so probably not much opportunity for us to do optimizations here 20:54:32 q+ 20:54:39 ack alexturn 20:54:41 ada: So should we support angular velocity? 20:55:01 alexturn: Openxr has it, but it's less useful than (positional) velocity, but we have it 20:55:08 bajones: Useful for VR bowling! 20:55:23 q+ 20:55:35 ack jgilbert 20:55:39 alexturn: Probably useful but just less useful than 20:55:42 s/than/ 20:55:44 s/than// 20:56:33 +1 to that. 20:56:34 q? 20:56:39 +1 20:57:19 jgilbert: If adding positional velocity, probably just add angular too, for the same reasons, even if less important, unless there's other caveats for platform support there 20:57:23 q+ 20:57:31 cabanier: Should I draft this? (yes) 20:57:31 ack alexturn 20:57:58 alexturn: What does this mean procedurally? Can we tweak things like this, or do we need a new major version? 20:58:24 bajones: We haven't hit CR yet, so this might squeak in under the deadline, but this is probably doable 20:58:53 bajones: Maybe we should talk about what would constitute a need for a full level-2, but not needed here I think 20:58:54 q? 20:59:02 ada: Yeah it would be good to get this in 21:01:03 RRSAgent, make minutes 21:01:03 I have made the request to generate https://www.w3.org/2021/03/09-immersive-web-minutes.html ada 21:04:30 RRSAgent, make minutes public 21:04:30 I'm logging. I don't understand 'make minutes public', ada. Try /msg RRSAgent help 21:07:00 RRSagent, make log public 21:20:15 agenda: https://github.com/immersive-web/administrivia/blob/main/meetings/wg/2021-03-16-Immersive_Web_Working_Group_Teleconference-agenda.md 21:20:27 meeting: Immersive Web Working Group bi-weekly meeting 21:20:36 chair: ada 21:20:59 previous meeting: https://www.w3.org/2021/01/26-immersive-web-minutes.html 21:21:25 s/!q// 21:22:24 s|ada: Next topic: https://github.com/immersive-web/layers/issues/252|topic: layers #252 Asynchronously allocate WebXR Layers' GPU-side resources https://github.com/immersive-web/layers/issues/252 21:23:17 i|ada: Next issue: https://github.com/immersive-web/webxr/issues/619|webxr #619 Add Linear/Angular Acceleration/Velocity for XRInputSource| 21:23:25 rrsagent, make minutes 21:23:25 I have made the request to generate https://www.w3.org/2021/03/09-immersive-web-minutes.html atsushi 21:24:14 s|webxr #619 Add Linear/Angular Acceleration/Velocity for XRInputSource|topic: webxr #619 Add Linear/Angular Acceleration/Velocity for XRInputSource|| 21:24:15 rrsagent, make minutes 21:24:15 I have made the request to generate https://www.w3.org/2021/03/09-immersive-web-minutes.html atsushi 21:26:43 i/poitr: Since we're far along in shipping depth sensing, so we should/topic: administrivia#153 Move Depth Sensing to WG/ 21:26:44 rrsagent, make minutes 21:26:44 I have made the request to generate https://www.w3.org/2021/03/09-immersive-web-minutes.html atsushi 21:29:16 i/bialpio: Since we're far along in shipping depth sensing, so we should/topic: administrivia#153 Move Depth Sensing to WG/ 21:29:17 rrsagent, make minutes 21:29:17 I have made the request to generate https://www.w3.org/2021/03/09-immersive-web-minutes.html atsushi 23:05:18 Zakim has left #immersive-web