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.
|
|
Quellcode |
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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
<events onviewchange="if(hotspot[spot].fly, centerhotspot() );" />
<action name="centerhotspot">
set(hotspot[spot].ath, get( view.hlookat ) );
set(hotspot[spot].atv, get( view.vlookat ) );
div(hotspot[spot].scale, 2.0, view.r_zoom ) );
set(hotspot[spot1].ath, get( view.hlookat ) );
set(hotspot[spot1].atv, get( view.vlookat ) );
div(hotspot[spot1].scale, 2.0, view.r_zoom ) );
set(hotspot[spot2].ath, get( view.hlookat ) );
set(hotspot[spot2].atv, get( view.vlookat ) );
div(hotspot[spot2].scale, 2.0, view.r_zoom ) );
</action>
<action name="flyout">
copy(backup_ath,ath);
copy(backup_atv,atv);
copy(backup_scale,scale);
copy(backup_rx,rx);
copy(backup_ry,ry);
copy(backup_rz,rz);
adjusthlookat( get(ath) );
tween(ath, get(view.hlookat) );
tween(atv, get(view.vlookat) );
tween(rx, 0);
tween(ry, 0);
tween(rz, 0);
tween(zorder, 10);
div(destscale, 2.0, view.r_zoom );
tween(scale, get(destscale), 0.5, default, WAIT );
set(fly,true);
</action>
<action name="flyin">
set(fly,false);
tween(zorder, 0);
tween(ath, get(backup_ath));
tween(atv, get(backup_atv));
tween(scale, get(backup_scale));
tween(rx, get(backup_rx));
tween(ry, get(backup_ry));
tween(rz, get(backup_rz));
</action>
<hotspot name="spot"
url="image.jpg"
keep="false"
ath="145.69919691235236" atv="20.98875313425885"
zoom="true" distorted="true"
width="200" height="247"
scale="0.5" scale9grid="" scalechildren="false" rotate="0"
rx="45.75" ry="-65.25" rz="-0"
edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
alpha="1.00" blendmode="normal" smoothing="true"
refreshrate="auto"
onloaded=""
onover=""
onhover=""
onout=""
ondown=""
onup=""
onclick="if(fly, flyin(), flyout());"
fly="false"
ismovie="false"
/>
|
sorry, but it still seems not working "always",now all plugs load (even the simpleviewer in other panos) - exept the fullscreen button... *confused*
same adress: http://www.panographie.net/panorama/Events/ASK_21/
|
|
Quellcode |
1 2 3 4 5 |
<plugin name="soundinterface" url="plugins/soundinterface.swf" preload="true" onloaded="action(preloadsounds); action(play);" /> |
|
|
Quellcode |
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 29 30 31 32 33 34 35 36 37 38 39 40 |
<scene name="kaytava" onstart="showtext('[b][i]Käytävä[/i][/b]', infostyle);">
<image type="CUBE">
<left url="VillaWolax_mh1_20090526/kaytava_left.jpg"/>
<front url="VillaWolax_mh1_20090526/kaytava_front.jpg"/>
<right url="VillaWolax_mh1_20090526/kaytava_right.jpg"/>
<back url="VillaWolax_mh1_20090526/kaytava_back.jpg"/>
<up url="VillaWolax_mh1_20090526/kaytava_up.jpg"/>
<down url="VillaWolax_mh1_20090526/kaytava_down.jpg"/>
</image>
<preview type="sphere" url="prev_VillaWolax_kaytava_20090605.jpg" />
<view hlookat ="-30"
vlookat ="0"
fov ="110"
fovmin ="6"
fovmax ="179"
fisheye ="0.35"
fisheyefovlink="0.90"
/>
<!-- hotspots -->
<hotspot name="mh3"
keep="false"
visible="true" enabled="true" 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="showtext(Makuuhuone 3 - yläkerta)"
onout=""
ondown=""
onup=""
onclick="looktohotspot(mh3); loadscene(mh3, null, MERGE, BLEND(1));"
ath="-42" atv="-12" scale="0.6" zoom="true"
>
<point ath="162.6494" atv="-22.6172" />
<point ath="-169.1680" atv="-34.9636" />
<point ath="-170.6473" atv=" 57.1126" />
<point ath="162.6576" atv=" 43.0773" />
</hotspot>
|
when "preload" is enabled (="true") it is not possible to use the "onloaded" event of this plugin anymore (sorry, I see that was not documented yet), the reason for this is that the plugin is loaded before the pano and before any action can happen,another issue with beta8:
when i put the new preload=true to the sound plug, it doesnt play unless i do sound off and on again...
what do i do wrong with it?
locally (file or localhost server) there should be no license error, and the license is always independet from the version (a license for all versions), have you renamed the krpano.swf maybe? in this case you need to rename the .license file too.I tried to run it locally but it gives me "license" error is it because i have replaced the default pano with my pano and made some changes in the xml ?
I see, thanks for this note, this is a bug, the problem was that the point coordniates wrap around (162, -169, -170, 162) and this causes a wrong caluclation of the hotspot center, this will be fixed very soonWhen you click though the rooms, you see that everything works except the "Bed room no. 3 - upstairs" (Makuuhuone 3 - yläkerta). When clicking that one, the view is going towards the opposite direction without even zooming.

Did something changed on display setting ?
HIGHSHARP doesn't seens to change anything compared to HIGH !
<display fps="60"
details="24"
tessmode="auto"
movequality="HIGH"
stillquality="HIGHSHARP"
stilltime="0.250"
/>
Hi,Question: I used thickbox to call up some popups that load an external site. This worked with Beta 7. But now with Beta 8, it doens't execute the javascript anymore. I then tested it with a simple alert box in javascript:
onclick="js(alert('test'));"
Works in beta 7, but not in beta 8. Some kind of bug?
|
|
Quellcode |
1 |
.. url="%HTMLPATH%/images/image.jpg" |
|
|
Quellcode |
1 |
.. url="%SWFPATH%/images/image.jpg" |
|
|
Quellcode |
1 |
.. url="%FIRSTXML%/images/image.jpg" |
|
|
Quellcode |
1 |
.. url="%CURRENTXML%/images/image.jpg" |