Chrome“沉浸式虚拟机”isSessionSupported在www.example.com示例中给出错误threejs.org

xzv2uavs  于 2022-12-06  发布在  Go
关注(0)|答案(1)|浏览(165)

currently it looks to me like Chrome 83, does not support any VR experience although HTC Vive is connected (SteamVR 1.9.16 installed). SteamVR, when started manually, also finds the headset, controllers and base station.
https://threejs.org/examples/?q=webxr#webxr_vr_ballshooter
Any VR Example states "VR not supported"
digging arround a bit, the navigator describes the "immersive-vr" session not to be available. Promise response of code below is: false

navigator.xr.isSessionSupported('immersive-vr').then((issupported) => {console.log(issupported)})

The previous flags of Chrome (83.0.4103.61) linked to WebXR are not available any more.
Any ideas what I am doing wrong?

EDIT:

navigator.xr.requestSession( 'immersive-vr', { optionalFeatures: [ 'local-floor', 'bounded-floor' ] } ).then( (session) => console.log(session) );

Gives: Uncaught (in promise) DOMException: The specified session configuration is not supported.

kgsdhlau

kgsdhlau1#

问题将由支持OpenVR的SteamVR解决,因为他们将...
https://steamcommunity.com/games/250820/announcements/detail/2396425843528787270
在此之前,我建议用途:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --enable-features=openvr --disable-features=XRSandbox --force-webxr-runtime=openvr --enable-experimental-web-platform-features https://threejs.org/

相关问题