Sie sind nicht angemeldet.

1

Freitag, 8. August 2014, 16:53

flash vs html5 positioning

Hello,

I have a flat panorama:

Quellcode

1
<image type="CYLINDER" hfov="1.00" vfov="0.500" voffset="0.00" multires="true" tilesize="512" progressive="true">


with these view settings:

Quellcode

1
<view fovtype="HFOV" fov="1.0" fovmax="1.0" maxpixelzoom="2.0" limitview="auto" />


and a lot of hotspots like this (I positioned them using a draggable hotspot and printing out ath and atv):

Quellcode

1
<hotspot name="spot1" style="hotspot_ani_white" visible = "true" alpha="1" ath="-0.028" atv="0.157" onclick="click_action(1)" min_level="1" scoreLvl="1" />


My problem:
In html5 view everything is perfect, but in flash view the hotspots are not correctly positioned, but way 'upper' on the vertical coordinate
Is this a known issue? Is there some workaround (except of having a different set of coordinates for flash case *g* )?

Thanks in advance for help,
W

2

Dienstag, 12. August 2014, 09:44

Solved

SOLVED

The correct vfov for this pano set by the droplet was vfov="0.562751". For some reasons I played with the numbers a bit and did not observed the difference in html5 viewer.
Setting the vfov back to original value solved the hostpots positioning issue (the image was a bit distorted...hence the positioning difference.... not noticeable in htmls though).

Hope it helps
W

3

Donnerstag, 14. August 2014, 10:48

Hi,

right, the html5 viewer currently ignores the image.vfov setting and always calculates the right vfov by itself based on the image size, but this will be changed in the future versions to match the behavior of the Flash version.

Best regards,
Klaus