BabylonJS / Babylon.js

Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
http://www.babylonjs.com
Apache License 2.0
22.84k stars 3.4k forks source link

[XR] Update depth sensing implementation to support the new specs #15035

Open RaananW opened 3 months ago

RaananW commented 3 months ago

These specs - https://github.com/immersive-web/depth-sensing/pull/42 are already implemented in the oculus browser. This allows using depth sensing for occlusion. We need to make sure we don't break current devices using it while supporting the new features.

github-actions[bot] commented 2 months ago

This issue has been automatically staled because it has been inactive for more than 14 days. Please update to "unstale".

matthargett commented 1 month ago

Would be great if this was reconciled on visionOS devices as well. While Vive XRE has a depth sensor, sadly their browser barely supports base WebXR 1.0 and doesn't remotely leverage the strength of their hardware (as of June 2024, anyway).

RaananW commented 1 month ago

Would be great if this was reconciled on visionOS devices as well. While Vive XRE has a depth sensor, sadly their browser barely supports base WebXR 1.0 and doesn't remotely leverage the strength of their hardware (as of June 2024, anyway).

This very much depends on vendor implementation. If Apple decides to expose this feature, we will be able to use it. So far, AFAIK, the only browser that supports the new specs is the oculus browser.