You are not logged in.

1

Friday, February 2nd 2018, 10:03am

North smartphone = North panotour

Hello,

I'm trying to make an augmented reality game outdoors.

For that I need the panos displayed on my smartphone correspond to the reality present in front of the player.

In panotour I activate the gyro and I hold all my panos north ... But it does not work, my visit always starts in the direction of the phone at the launch of the web link.

Do I use the right method? Is gyro2.js able to use the phone's hardware?

Thank you in advance,

Tarrinos

2

Thursday, February 15th 2018, 11:18am

*rolleyes*

3

Friday, February 23rd 2018, 3:31pm

*rolleyes*

4

Saturday, February 24th 2018, 2:10pm

Hi,

added as feature request.

Best regards,
Klaus

Posts: 54

Location: Tilburg, The Netherlands

  • Send private message

5

Tuesday, February 27th 2018, 1:59pm

I guess you could fetch the phone's compass heading with javascript (ai.github.io/compass.js/) and send it to krpano with its javascript interface.

6

Wednesday, February 28th 2018, 10:22am

Hi,

your linked JS example works only in iOS (like the krpano compass.js plugin), for Android now an other API is required.

Best regards,
Klaus

Tuur

Sage

Posts: 3,169

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

7

Thursday, May 30th 2019, 2:33pm

@Klaus

will you make the compass plugin work on android as well in the next release?

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur