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

Monday, September 9th 2019, 9:43pm

Is depth map viewing possible with gyro?

Would it be possible to look around in a depth map tour using the gyro on the phone, instead of manually clicking/dragging?
If this is a stupid question then I apologise but we have created a mobile app that allows a user to walk through an AR door into a 360 image (another world). The problem is that the user if fixed in a single position. The ability to navigate through a depth map is amazing and if this was combined with the ability to look around (not move), using the phones gyro then it would create a really immersive experience.

From our AR app we would of course also need to call KRPano so that when the user walked through the AR door, the depth map tour appeared.
What we are trying to do is to find an immersive way of having users enter tours using an app.

Your comments would be greatly appreciated.

Geoff

2

Wednesday, September 11th 2019, 10:33am

Hi,

there is already gyro support and it also works with depthmap panos.

But just looking around doesn't change the view-point, so adding a small view.oz offset might be a good idea to get a bit parallax movement and nice '3D-look' even on 2D screens.

E.g. try (or another value in the range 10 to ~200, depending on the model):

Source code

1
<view oz="100" />


Here an example with oz=50 and the gyro added:
https://krpano.com/releases/1.20/viewer/…gyro].keep=true

Best regards,
Klaus