Sie sind nicht angemeldet.

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

1

Donnerstag, 6. Oktober 2011, 20:43

GYRO plugin bug

If you turn off the gyro at -90 | 90.
The layer that becomes dragable is the hotspot layer not the panorama.
Tested on iPad2.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

2

Mittwoch, 12. Oktober 2011, 19:29

Hi,

sorry, I don't understand - "dragable hotspot layer"
what do you mean - what happens exactly?

best regards,
Klaus

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

3

Mittwoch, 12. Oktober 2011, 19:43

If the view is EXACTLY 90 or -90 and you turn off the GYRO..
The panorama becomes NOT dragable, except for the layer with the hotspots.

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

4

Mittwoch, 12. Oktober 2011, 20:14

Hi,

okay, after a lot of testing I was able to reproduce that,

I need to check this in detail but I think the problem might be a too small "camroll" value (the camroll was calculated dynamically by the gyro plugin):
when a value becomes very small and converted to a string then JS prints the value in the form "1.2345e-10" but when putting a number in that from to a CSS 3D transform style then the rendering fails (can be called a browser bug),
for hlookat, vlookat and fov I'm already checking and correcting this situation but not for the "camroll" setting - I will add that in the next release,

best regards,
Klaus

5

Mittwoch, 12. Oktober 2011, 20:24

Hi once more,

I have now checked that in detail and my assumption with the "camroll" was right (the bug will be fixed in the next release),

but a xml workaround for this bug is also possible - check if the "camroll" variable contains an 'e' character and in this case set it to 0:

Quellcode

1
<events onviewchange="indexoftxt(camrollbug,get(view.camroll),e); if(camrollbug GT 0, set(view.camroll,0));" /> 


best regards,
Klaus

6

Freitag, 14. Oktober 2011, 14:04

Hi,

this bug is fixed now:
krpano 1.0.8.14

best regards,
Klaus

Ähnliche Themen