Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.42k forks source link

Support for Google Cardboard "Out of Focus" #2558

Closed brianlmerritt closed 1 year ago

brianlmerritt commented 4 years ago

Description Using Google Chrome on an Android phone with Cardboard installed, I get the option to enter using Cardboard and it seems to work, except the separate images are too far apart. My VR headset has lens adjustments, but not enough to bring the view into focus.

To Reproduce Steps to reproduce the behavior:

  1. Go to Hubs.mozilla.com with an Android (10) phone with Cardboard app installed and Chrome brower
  2. Click on Create room then enter room and select Cardboard VR
  3. Attempt to adjust the VR display so objects in left and right eyes appear to be in the same place.

Expected behavior I've tested the cardboard app on my phone (Oneplus 7 Pro) with Google supplied views, youtube, and a few games. All work. But not hubs - I can't get objects to focus / line up

Screenshots If applicable, add screenshots to help explain your problem.

Hardware

Additional context Add any other context about the problem here.

┆Issue is synchronized with this Jira Task

brianlmerritt commented 4 years ago

Screenshot_20200611-112149 This is the image, which looks OK, but even though the Destek is adjustable it isn't possible to align left and right images - they remain 2 far apart

brianlmerritt commented 4 years ago

Not sure if other cardboard devices are struggling, but I did generate some manual QR codes with varying distance between eye pieces thanks to Destek providing the original measurements and none of them brought the two lens into alignment

tbarbette commented 3 years ago

I have the same problem. I have a cardboard that works fine in the cardboard app or other VRs apps. However in google chrome, and with hubs only, the eyes are way too far apart.

djay commented 3 years ago

I have the same problem (and the same phone) if I try https://matterport.com/ I get the same problem. I suspect this is still using WebVR. Hubs is supposed to already be converted to WebXR. If I view the WebXR demos here - https://immersiveweb.dev/. It has a cardboard settings symbol. If I switch to the Bobo Z6 viewer setting then it doesn't work similar to Hubs (sometimes and sometimes it works). But if I switch to Cardboard view setting then these demos do work. Hubs doesn't have a setting to switch. Changing the setting in the Cardboard app doesn't seem to change the viewer in hubs however changing the setting in cardboard app does change the setting with WebXR in immersiveweb examples. https://mixedreality.mozilla.org/hello-webxr/ works well for me Is it that Hubs cloud is using WebVR instead of WebXR?

djay commented 3 years ago

This has now been fixed in the new UI update. It now seems to be using the proper cardboard settings However the cardboard button doesn't work so you can't move anywhere. Also if you click X to close the cardboard mode or change the settings there is now back into it. There should be a "viewer" button to switch I think. I can raise seperate issues for these