Hi,
My name is Daniel.
I slowly struggle true the documentation.
I have a few questions:
1)Are here some members that are willing to corporate and learning together ?
In this case i’m the first to participated.
We can make exercise together…? in my opinion the best way to learn.
2) I have a very basic VT that i like to share.
Especially because there is a minor action.xml that does not work the way i implement it …
Is there a policy for sharing code? I think about the key’s or something else.
or should i place it like this? If not accept my polegizes
<krpano version="1.17" >
<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
</action>
<action name="changescene">
loadscene(%1, null, MERGE, BLEND(3));
plugin[bingmap].activatespot(%1);
plugin[bingmap].pantospot(%1);
</action>
</krpano>
explaining the disfunction:
When i call the action in the included bingmaps.xml, by clicking on the map spot the action works fine.
<spot name="scene_Koersel_kerk"
active="false"
lat="51.058976"
lng="5.272512"
heading="275"
onhover="showtext(Place tooltip here tooltip, tooltip);"
onclick="action(changescene, scene_Koersel_kerk); activatespot(scene_Koersel_kerk);"
/>
When i call this action in my hotspot on the tour.xml the action is ignored or overruled or…whatever…
<scene name="scene_Koersel_kerk" title="Koersel kerk " onstart="" thumburl="panos/Koersel_kerk_.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="87.27" vlookat="3.06" fovtype="MFOV" fov="120" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/Koersel_kerk_.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="1510" tiledimageheight="1510">
<cube url="panos/Koersel_kerk_.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="756" tiledimageheight="756">
<cube url="panos/Koersel_kerk_.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/Koersel_kerk_.tiles/mobile_%s.jpg" />
</mobile>
</image>
<hotspot name="scene_Heusden_kerk"
ath="88.99"
atv="-6.08"
style="hotspot_ani_White"
edge="center"
alpha="0.5"
onhover="showtext(scene_Heusden_kerk, tooltip);"
onover="set(alpha,1)"
onout="tween(alpha,0.4, 1)"
onclick="action(changescene, scene_Heusden_kerk);"
/>
</scene>
Thanks in advantage for your advice
Daniel