immersive-web / depth-sensing

Specification: https://immersive-web.github.io/depth-sensing/ Explainer: https://github.com/immersive-web/depth-sensing/blob/main/explainer.md
Other
52 stars 15 forks source link

Depth Sensing up to 65m since ARCore May 2022 Update #38

Open valantano opened 2 years ago

valantano commented 2 years ago

ARCore SKD was updated to version 1.31 in May 2022.

With this update, they increased the Depth Sensing from 8m to 65m: https://developers.google.com/ar/develop/depth/changes#android-ndk-c

Old function: ArFrame_acquireDepthImage() New function: ArFrame_acquireDepthImage16Bits()

However, WebXR seems to be using the old function until now. Because I am only able to retrieve the Depth until 8m. This is probably because WebXR has not been updated since May.

Will this be updated very soon? And what does WebXR return? Does it return the raw depth values or the depth values?

Thank you very much for your replies.

bialpio commented 2 years ago

However, WebXR seems to be using the old function until now. Because I am only able to retrieve the Depth until 8m. This is probably because WebXR has not been updated since May.

Will this be updated very soon?

Thanks for raising this! You're correct, WebXR implementation in Chrome for Android uses old function. We'll look into upgrading this to newer function but I cannot promise any specific timeline for that.

And what does WebXR return? Does it return the raw depth values or the depth values?

We use depth values (i.e. not the raw depth).