Hi,
I´m using the latest krpano version and a default vtour. Is it possible to lookat the hotspot (lookathotspot) when clicking the hotspot:
so click on hotspot:
1. zoom to hotspot (ath/atv/fov)
2. blend to linkedscene
best,
Marc
Hi,
I´m using the latest krpano version and a default vtour. Is it possible to lookat the hotspot (lookathotspot) when clicking the hotspot:
so click on hotspot:
1. zoom to hotspot (ath/atv/fov)
2. blend to linkedscene
best,
Marc
Hi, doesn't this work? looktohotspot
yes but I don´t know how to implement it in vtourskin.xml:
<action name="skin_hotspotstyle_click" scope="local">
if(caller.linkedscene,
copy(hs_linkedscene, caller.linkedscene);
looktohotspot(.....);
if(caller.linkedscene_lookat, txtsplit(caller.linkedscene_lookat, ',', hs_lookat_h, hs_lookat_v, hs_lookat_fov); );
set(caller.enabled, false);
skin_hidetooltips();
tween(caller.depth|caller.alpha|caller.oy|caller.rx, 4000|0.0|-50|-60, 0.5, default,
skin_loadscene(get(hs_linkedscene), get(skin_settings.loadscene_blend));
if(hs_lookat_h !== null, skin_lookat(get(hs_lookat_h), get(hs_lookat_v), get(hs_lookat_fov)); );
skin_updatescroll();
);
);
</action>
Alles anzeigen
For example, add the style to "onclick" - looktohotspot(get(name), 25, smooth());
<!-- skin_hotspotstyle - style for the hotspots -->
<style name="skin_hotspotstyle" url="vtourskin_hotspot.png" edge="top" distorted="true"
tooltip=""
linkedscene=""
linkedscene_lookat=""
onclick="looktohotspot(get(name), 25, smooth()); skin_hotspotstyle_click();"
depth="1000"
scale="0.5"
onover="tween(scale,0.55);"
onout="tween(scale,0.5);"
onloaded="skin_hotspotstyle_setup();"
/>
Alles anzeigen
perfect thanks! and how to set fov for the next scene to normal after zooming in with "looktohotspot"? I´m using keepview
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!