I noted on some examples the nice "zoom into the hotspot" effect. So I've used it in a couple of linked scenes. But although I used the exact same code for each scene, it zooms on one, but not the other. Also, I can't figure out which part of the code controls the actual zooming.
I feel like a very "high maintenance" customer at the moment, but I'm trying to get a really robust standard XML template complete so I can start processing many tours.
Thanks again for any help. Below is (what I think) is the vital part of the code.
THIS ONE ZOOMS IN:
Code
<hotspot name="hotspot1"
keep="false"
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
fillcolor ="0xff9900" fillalpha ="0.10" borderwidth ="2.0" bordercolor ="0xff9900" borderalpha ="0.70"
fillcolorhover="0xff9900" fillalphahover="0.50" borderwidthhover="4.0" bordercolorhover="0xff9900" borderalphahover="0.80"
fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
onover=""
onhover="showtext(Go to toolshed);"
onout=""
ondown=""
onup=""
onclick="looktohotspot(hotspot1,auto,smooth(150,25,100));
loadpano(ent-tool shed-2800.xml);
lookat(10.71,0.86,33.41);
wait(BLEND);
lookto(0,0,110,smooth(25,100,100));"
>
<point ath=" 28.5416" atv=" -6.0979" />
<point ath=" 71.9145" atv=" -5.1611" />
<point ath=" 72.2685" atv="-12.1074" />
<point ath=" 28.4902" atv="-13.2773" />
</hotspot>
Alles anzeigen
THIS ONE DOESN'T ?!
Code
<hotspot name="hotspot1"
keep="false"
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
fillcolor ="0xff9900" fillalpha ="0.10" borderwidth ="2.0" bordercolor ="0xff9900" borderalpha ="0.70"
fillcolorhover="0xff9900" fillalphahover="0.50" borderwidthhover="4.0" bordercolorhover="0xff9900" borderalphahover="0.80"
fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
onover=""
onhover="showtext(Go to toolshed);"
onout=""
ondown=""
onup=""
onclick="looktohotspot(hotspot1,auto,smooth(350,25,100));
loadpano(ent-farmshed-2800.xml);
lookat(10.71,0.86,33.41);
wait(BLEND);
lookto(0,0,110,smooth(25,100,100));"
>
<point ath="-142.2306" atv=" -2.4251" />
<point ath="-38.6009" atv=" -2.8572" />
<point ath="-38.8410" atv="-16.3518" />
<point ath="-142.1502" atv="-11.1605" />
</hotspot>
Alles anzeigen