They did this very quietly it seems! Surprised I missed it considering been needing this for years and always checking
@RaananW I hope you have an iPhone or can get one to start checking things out
So far it does not work, of course. If you want me to look into anything further, let me know.
Was trying this PG here from the immersive session BJS docs https://playground.babylonjs.com/#F41V6N#32
2 Likes
Seems very “apple”-y to me. You turn on augmented reality and immersive-ar
sessions are not yet supported…
I will ask the team to check this out as I happily don’t own an iPhone.
Thank you so much for the update!!!
1 Like
I’m tempted to start a Babylon Fund Me to get you one. I think it’s going to be important to keep bugs from cropping up between the two, knowing how browser APIs go and thinking about how getUserMedia
evolved.
I sadly tend to agree. We’ll see how we can organize this. No Go-Fund-Me please! My name can be found in weird areas on the internet, I don’t want to add one more
1 Like
Here is a example of that, well more in features way this time. I tried updating to latest beta ( no change ) but some new options did appear.
Looks like iOS is going to get WebXR hand tracking support where chrome has not started yet. WebXR hand input module - Level 1 - Chrome Platform Status
Thats going to be fun feature though
I just tried this out myself and…same…no luck. Perhaps Apple just added the toggles. LOL
1 Like
navigator.xr
is there but isSessionSupported
says false for inline, immersive-vr and immersive-ar.
window.navigator.xr.requestSession("immersive-ar")
returns some weird security error
Actually inline
works on requestSession. Nothing happens on the device but there is console output.
Maybe its so quietly released because they are still working on it
2 Likes
committed 04:17PM - 08 Jun 20 UTC
https://bugs.webkit.org/show_bug.cgi?id=212826
Reviewed by Youenn Fablet.
Layo… utTests/imported/w3c:
Added expectations.
* web-platform-tests/webxr/ar-module/idlharness.https.window-expected.txt: Added.
* web-platform-tests/webxr/ar-module/xrDevice_isSessionSupported_immersive-ar.https-expected.txt: Added.
* web-platform-tests/webxr/ar-module/xrDevice_requestSession_immersive-ar.https-expected.txt: Added.
Source/WebCore:
Added the XRInteractionMode partial interface from the WebXR AR module spec. This spec
https://immersive-web.github.io/webxr-ar-module/ expands the WebXR Device API with
functionality available in AR hardware.
Some WebXR wpt tests are now passing.
* CMakeLists.txt: Added new files.
* DerivedSources.make: Ditto.
* Modules/webxr/WebXRSession.cpp:
(WebCore::WebXRSession::interactionMode const): Added.
* Modules/webxr/WebXRSession.h: Added interactionMode attribute and getter;
* Modules/webxr/WebXRSession.idl: Added interactionMode attribute;
* Modules/webxr/XRInteractionMode.h: Added.
* Modules/webxr/XRInteractionMode.idl: Added.
* Sources.txt: Added new files.
* WebCore.xcodeproj/project.pbxproj: Ditto.
LayoutTests:
* platform/wpe/TestExpectations: Unskipped 3 tests which are passing now.
Canonical link: https://commits.webkit.org/225717@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
looks like part of it it got added 6 days ago… hope we see in next build
2 Likes