Sie sind nicht angemeldet.

1

Freitag, 7. Oktober 2011, 09:53

How to get ath/atv on iPhone/iPad???

Hi there,

normally I use the values from my flash-tours, but now I need to make an iphone-version only, so no flash at all! But how do I get the ath/atv-values to set hotspots and the initial viewing direction without the editor? *question*

I tried to use a plugin with textfield, but I can´t get the textfield to show values, only predefined text.

Thanks and best regards
Nupsi

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Freitag, 7. Oktober 2011, 15:39

The ath atv are exactly the same as in the flash version where you CAN use the editor.
Otherwise you can use an event on resize to output them to a textfield.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Samstag, 8. Oktober 2011, 11:10

Hey sachagriffin,

thanks again for your reply! The problem is that I there is no flash-version ;-) I´ll check out the event-suggestion.

Thx and best regards
Nupsi

4

Mittwoch, 12. Oktober 2011, 11:45

Hi,

you could use the Flash version just for building tour and then remove it from the final html file of course,

here also small code to get the ath/atv of a point when you click in the pano anywhere in the pano:

Quellcode

1
<events onclick="showlog(); screentosphere(mouse.x, mouse.y, ath, atv); trace('ath=',ath,' atv=',atv);" />


best regards,
Klaus

5

Mittwoch, 12. Oktober 2011, 18:39

You´re a genious, Klaus *thumbsup* It´s even great for flash-tours. No need for a crosshair anymore. Just aim and shoot *g*

Thx and best regards
Nupsi

6

Montag, 16. Januar 2012, 16:33



... here also small code to get the ath/atv of a point when you click in the pano anywhere in the pano:

Quellcode

1
<events onclick="showlog(); screentosphere(mouse.x, mouse.y, ath, atv); trace('ath=',ath,' atv=',atv);" />


best regards,
Klaus


Hi Klaus, is there a way to add fov in the mix?

Thanks

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

7

Montag, 16. Januar 2012, 21:03

try using onmousedown instead otherwise, I don't know. his code works fine on my end with onmousedown in desktop safari
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

8

Dienstag, 17. Januar 2012, 02:33

Hi sachagriffin

What I meant was clicking will also give the current fov. Otherwise the code works fine.

Thanks

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

9

Dienstag, 17. Januar 2012, 03:29

KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

10

Dienstag, 17. Januar 2012, 15:44

Thank you *g*