From c1703beddbbe03b6e3174ff5934c3dd2df7e6493 Mon Sep 17 00:00:00 2001 From: Rik Cabanier Date: Mon, 6 May 2024 22:55:06 +0000 Subject: [PATCH] test --- immersive-ar-session-3.html | 194 ++++++++++++++++++++++++++++++++++ proposals/mesh-detection.html | 2 +- 2 files changed, 195 insertions(+), 1 deletion(-) create mode 100644 immersive-ar-session-3.html diff --git a/immersive-ar-session-3.html b/immersive-ar-session-3.html new file mode 100644 index 0000000..ff8ff6d --- /dev/null +++ b/immersive-ar-session-3.html @@ -0,0 +1,194 @@ + + + + + + + + + + + + + Immersive AR Session + + +
+
+ Immersive AR Session +

+ This sample demonstrates how to use an 'immersive-ar' XRSession to + present a simple WebGL scene to an transparent or passthrough XR + device. The logic is largely the same as the corresponding VR sample, + with the primary difference being that no background is rendered and + the model is scaled down for easier viewing in a real-world space. + Back +

+
+
+ + + diff --git a/proposals/mesh-detection.html b/proposals/mesh-detection.html index 47d6331..7f927e7 100644 --- a/proposals/mesh-detection.html +++ b/proposals/mesh-detection.html @@ -274,7 +274,7 @@ function onRequestSession() { let sessionInit = { - requiredFeatures: ['mesh-detection'], + requiredFeatures: ['mesh-detection', 'unbounded'], optionalFeatures: [], }; if (useDomOverlay.checked) {