Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Samstag, 24. März 2012, 03:21

PolyGonal Hotspots issue on IPAD Question HELP NEEDED

Im using the following code to create a pano I used editor.swf to create a Polygonalhotspot
Code im using below but it works fine on PC when i look via ipad the pano works perfect but the hotspot is missing.
Any ideas how i can do a polygonal hotspot on ipad

I basically have a door way i want people to be able to click to go to next pano



<krpano version="1.0.8.14" >

<view hlookat="117" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="1.0" fovmax="120" limitview="auto" />

<preview url="pano.tiles/preview.jpg" />

<image>
<cube url="pano.tiles/pano_%s.jpg" />
<mobile>
<cube url="pano.tiles/mobile_%s.jpg" />
</mobile>
<tablet>
<cube url="pano.tiles/tablet_%s.jpg" />
</tablet>
</image>
<hotspot name="hs1"
keep="false"
visible="true" enabled="true" usecontentsize="false" handcursor="true" capture="true" children="true"
zorder="0"
fillcolor ="0xffffff" fillalpha ="0.00" borderwidth ="0.0" bordercolor ="0xffffff" borderalpha ="0.00"
fillcolorhover="0xffffff" fillalphahover="0.10" borderwidthhover="4.0" bordercolorhover="0xffffff" borderalphahover="0.80"
fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
onover=""
onhover=""
onout=""
ondown=""
onup=""
onclick="looktohotspot(get(name));loadpano(pano1.xml,null,IGNOREKEEP)"
__pre_create_Done=""
autoalpha="false"
devices="all"
editor=""
imageheight="NaN"
imagewidth="NaN"
maskchildren="false"
pixelheight="0"
pixelhittest="false"
pixelwidth="0"
>
<point ath="117.7162" atv=" 16.0388" />
<point ath="136.6720" atv=" 14.1380" />
<point ath="138.4300" atv="-28.9805" />
<point ath="129.9528" atv="-16.2972" />
<point ath="126.7872" atv=" -4.3673" />
<point ath="126.9262" atv=" -2.2564" />
<point ath="123.4188" atv=" -2.5604" />
<point ath="118.8615" atv=" -7.9655" />
<point ath="113.8519" atv="-11.0180" />
<point ath="109.1709" atv="-16.0292" />
<point ath="106.5188" atv="-18.4862" />
<point ath="102.8290" atv="-19.3650" />
<point ath="102.5600" atv="-19.2200" />
</hotspot>


</krpano>

HansNyb

Profi

Beiträge: 936

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

2

Samstag, 24. März 2012, 11:20

For a doorway it is quite simple to make an invisible png.
Just make a rectangular png in almost any size and fill it with white grey or black. It does not matter because you set it to alpha ="0" when you have placed it the correct place on the pano.
Do not use distorted even if that of course mens the precise area is not fitted. Distorted hotspots seems to respond much slower or not at all for the clicks.

Hans

3

Sonntag, 25. März 2012, 12:45

Is there a way to use the poly hotspots on the ipad the npng would work but i have around 50 to do all diffrent sizes and shapes and think poly would be best way to reduce load time

HansNyb

Profi

Beiträge: 936

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

4

Sonntag, 25. März 2012, 13:29

You only need 1 png. The hotspots need just different names but you can load the same png.
You can set size with scale or width and height.

I know you can just do rectangulars but when do you really need something else.

Polygonal hotspots are not supported on iPad
Read the page:
"Polygonal hotspots - the desktop browsers would be fast enough to do that with canvas but on the iPhone/iPad devices the canvas is so incredible slow, so there they are not possible at the moment."

Hans