You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, January 24th 2018, 2:24pm

Cannot look left or right in VR on some devices

Hi,

it is not possible to look left or right only up/down in VR on some devices (e.g. Huawei P10 lite and LG Spirit 4G LTE), is this a device error or is there something that can be done?
I am using the webvr plugin. But the example tours on krpano.com don't work either.

Regards,
Christian

2

Thursday, January 25th 2018, 6:09pm

Hi,

that happens when the device doesn't have gyroscope sensor.
Unfortunately this case can't be detected by Web APIs.

For VR usage these devices are not suitable.

Best regards,
Klaus

publicitarios360

Intermediate

Posts: 328

Location: Habana, Cuba

Occupation: Architect, Photographer.

  • Send private message

3

Thursday, January 25th 2018, 7:04pm

There is a problem: Many devices lacks gyroscope sensor, and it is not detected for the browser. It seem for the user as krpano error. In other hand to enable the use of others sensor for emulate with bad quality the gyro experience is bad for the user with real gyroscope. Any solution?

This post has been edited 1 times, last edit by "publicitarios360" (Jan 25th 2018, 7:30pm)


4

Thursday, January 25th 2018, 8:37pm

Are you sure about the 'many' devices?
I think that affects only a few low-end devices, but I don't have real usage statistics...

You could try adding - mobilevr_sensor="0" - to the webvr plugin declaration. This tells the plugin to use the 'deviceorientation' event instead of the 'devicemotion' event. With the deviceorientation the system does the sensor-fusion by its own, while with the devicemotion the webvr plugin needs to do that.

Some devices are using the magnetic sensor in this case to simulate the missing gyroscope, but that sensor is typically slow and inaccurate and so the VR experience wouldn't be very well too.

Best regards,
Klaus

publicitarios360

Intermediate

Posts: 328

Location: Habana, Cuba

Occupation: Architect, Photographer.

  • Send private message

5

Friday, January 26th 2018, 5:45am

Thanks Klaus, I tried and it work very well. Of course with gyroscope is the final solution.
Then for low-end devices a button or text with this code:
set(plugin[WebVR].mobilevr_sensor,0);
and solved... the cell is not too bad, and krpano is perfect!!! *thumbsup*

Best Regards,
Fernando

This post has been edited 1 times, last edit by "publicitarios360" (Jan 26th 2018, 6:10am)