Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
<!-- // hotspot picture to load another pano --> <hotspot name="hotspot_to_pano06" url="../../images/hotspot.png" keep="false" ath="-2" atv="12" zoom="false" distorted="false" width="143" height="143" scale="0.35" scale9grid="" scalechildren="false" rotate="0" rx="0" ry="0" rz="0" edge="center" ox="" oy="" crop="" ondowncrop="" onovercrop="" visible="true" handcursor="true" enabled="true" capture="true" children="false" zorder="0" alpha="0.5" blendmode="normal" smoothing="true" refreshrate="auto" onloaded="" onover="tween(hotspot[hotspot_to_pano06].alpha,0.8);" onout="tween(hotspot[hotspot_to_pano06].alpha,0.5);" onclick="looktohotspot(hotspot_to_pano06, 90, smooth(100,50,80));wait(0.1);tween(view.vlookat, 0, 1.0);wait(1.1);action(loadpano06);" onhover="" ondown="" onup="" details="8" effect="" flying="0" inverserotation="false" usecontentsize="false"> </hotspot> |
This post has been edited 2 times, last edit by "zadda" (Nov 25th 2010, 3:11pm)
:|
|
Source code |
1 |
onclick="delayedcall(3, action(loadpano06); );lookto(-2.63,0,80,smooth(100,50,100))" |
|
|
Source code |
1 2 3 |
lookto(toH,toV,fov*,motiontype*,shortestway*) looktohotspot(hotspotname,fov*,motiontype*,shortestway*) moveto(toH,toV,motiontype*) |
|
|
Source code |
1 2 |
looktohotspot(hotspot_to_pano05); action(loadpano05); |
|
|
Source code |
1 2 3 |
looktohotspot(hotspot_to_pano05); tween(view.vlookat, 0, 1.0, easeOutQuad, wait); action(loadpano05); |
,
sorry, I'm not sure what you want to do...?

okay, you want to look just at the horizontal hotpot position and ignore the vertical hotspot position, right?
you could do that by using lookto instead of looktohotspot,
e.g.
Source code
lookto(get(hotspot[hotspot_to_pano05].ath), 0, 40);

|
|
Source code |
1 2 |
lookto(get(hotspot[hotspot_to_pano05].ath), 0, 40); action(loadpano05); |
|
|
Source code |
1 2 3 4 5 6 |
<action name="loadpano05"> ...other stuff here... update_infos(%1);<!-- call function update_Pano_infos in interface plugin --> loadpano(panos/05/params.xml,null,KEEPBASE|KEEPPLUGINS,BLEND(1)); ...other stuff here... </action> |
|
|
Source code |
1 |
loadpano(panos/05/params.xml,null,KEEPBASE|KEEPPLUGINS,BLEND(1)); |
|
|
Source code |
1 2 3 4 5 6 |
<action name="loadpano05"> ...other stuff here... loadpano(panos/05/params.xml,null,KEEPBASE|KEEPPLUGINS,BLEND(1)); update_infos(%1);<!-- call function update_Pano_infos in interface plugin --> ...other stuff here... </action> |