Sie sind nicht angemeldet.

1

Freitag, 2. Februar 2018, 10:03

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

4

Samstag, 24. Februar 2018, 14:10

Hi,

added as feature request.

Best regards,
Klaus

Beiträge: 33

Wohnort: Tilburg, The Netherlands

  • Nachricht senden

5

Dienstag, 27. Februar 2018, 13:59

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

Mittwoch, 28. Februar 2018, 10:22

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