Sie sind nicht angemeldet.

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

1

Freitag, 10. Oktober 2014, 17:41

Bug with Mixed Pano Types, Autorotate and Flash??

I'm mixing spherical and flat panos in some tours. A big problem occurs after displaying a flat pano and then autorotating a sphere. Instead of just rotating it rotates while zooming in as far as allowed then stops. This only happens when displaying using Flash.

Is this a bug or is there some setting that changes with flat panos that doesn't change when switching to sphere? I need a solution.

Examples:

Bug using Flash

No bug in HTML5

Both open with normal autorotating of the spherical. Move to the next pano, which is flat, then back to the sphere. You should quickly see the problem but only in the Flash version. The only difference between the two versions is displaying with Flash vs HTML5. The problem occurs in all browsers. Multi-res vs "normal" sees the same thing.

Relevant code:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
	<autorotate enabled="true" waittime="1.0" accel="2.0" speed="8.0" horizon="0.0" tofov="110.0" />
.
.
	<scene name="scene_1-kitchen" title="1-kitchen" icon="" onstart="" thumburl="../panos/1-kitchen.tiles/thumb.jpg" lat="" lng="" heading="">
		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="110" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
		<image type="CUBE" multires="true" tilesize="512" progressive="false">
.
.
	<scene name="scene_2-Kitchen-17" title="2-Kitchen-17" icon="" onstart="" thumburl="../panos/2-Kitchen-17.tiles/thumb.jpg" lat="" lng="" heading="">
		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="fullrange" />
		<image type="CYLINDER" hfov="1.00" vfov="0.677548" voffset="0.00" multires="true" tilesize="512" progressive="true">


This is a big problem for me as I must be able to supply these tours in a Flash version.

BTW, my testing suggests it has nothing to do with having hfov/vfov/voffset in the flat pano but not in the spherical.

2

Freitag, 10. Oktober 2014, 18:39

Hi,

this is a bug, it will be fixed in version 1.18.

Best regards,
Klaus

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

3

Samstag, 11. Oktober 2014, 01:28

this is a bug, it will be fixed in version 1.18.
Good to hear. When do you expect to release 1.18?

Sorry. I know what a pain such questions can be but even a general range would be appreciated. I'm under the gun from a couple clients and html5 is not an option at all for one.

Any workarounds other than disabling autorotation completely or writing my own plugin in the meantime? Maybe a XML scripted autorotation? Is there any example for something like that?

4

Samstag, 11. Oktober 2014, 10:14

Hi,

the bug itself is a missing reset of an internal viewing limitation setting in some cases, but a manual workaround for this would be possible:

Try adding this call anywhere in the scene with the cube pano (e.g. in the scene onstart or in a onxmlcomplete event):

Quellcode

1
set(view.vfovmaxlimit,0);


Here your link with the fix:
http://www.tourdeforce360.com/client/sjj…fovmaxlimit,0);

But writing a custom auto-rotation would be possible too of course - e.g. use the onidle event to start the custom code and the onmousedown events to stop it.

Version 1.18 will be released as soon as possible.

Best regards,
Klaus

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

5

Samstag, 11. Oktober 2014, 18:23

Excellent. Following your example I just put the reset into global events and that is working fine.

LOVE how you added the code to my url for demo!

Taurus

Schüler

Beiträge: 140

Wohnort: Belarus

Beruf: photographer & virtual tour developer

  • Nachricht senden

6

Samstag, 22. November 2014, 23:28

...it will be fixed in version 1.18.

Hi Klaus,
bug with autorotation a flat pano with the image type cylinder is not fixed?
in my new tour (flat gigapano) when the autorotation.enabled = "true" - under html5 I watch great lags... *wacko*
krpano version 1.18.1
--
in order to comply the word with the affairs, you need to keep quiet and do nothing!

Virtual tour Gomel
Virtual tour
Virtual tour
Elbrus
...

Windows 10x64 & krpano 1.20

7

Montag, 24. November 2014, 13:21

Hi,
bug with autorotation a flat pano with the image type cylinder is not fixed?
The bug from the initial post was already fixed in 1.18.

in my new tour (flat gigapano) when the autorotation.enabled = "true" - under html5 I watch great lags...
Sorry, not sure what you mean...

Best regards,
Klaus