Here's the link:
http://www.marcolanciani.com/redbaronclub
Following the code of a pano:
Code
<krpano version="1.0.8.14">
<view fovmax="140" maxpixelzoom="1.0" limitview="range" hlookatmin="-180" hlookatmax="180" vlookatmin="-55" vlookatmax="55" />
<display details="22" tessmode="-1" movequality="low" stillquality="high" flash10="on" movequality10="low" stillquality10="high" stilltime="0.1" showpolys="false" />
<preview url="3401.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="579" progressive="false">
<level tiledimagewidth="3183" tiledimageheight="3183">
<cube url="3401.tiles/l3_%s_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="1592" tiledimageheight="1592">
<cube url="3401.tiles/l2_%s_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="796" tiledimageheight="796">
<cube url="3401.tiles/l1_%s_%0v_%0h.jpg" />
</level>
<mobile>
<cube url="3401.tiles/mobile_%s.jpg" />
</mobile>
<tablet>
<cube url="3401.tiles/tablet_%s.jpg" />
</tablet>
</image>
</krpano>
Display More
Following the code of the global.xml:
Code
<krpano version="1.0.8.14" onstart="loadpano(3401.xml);">
****************************************************************************************************
<!-- XML - Global Settings -->
****************************************************************************************************
<events onxmlcomplete="setuppano();"
onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true); set(plugin[closefs].onhover,showtext(Chiudi modalità Schermo Intero);); action(openfs);"
onexitfullscreen ="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false); set(plugin[openfs].onhover,showtext(Entra in modalità Schermo Intero);); action(closefs);"
/>
<memory maxmem="650" />
<panoview h="0" v="0" fov="90" />
****************************************************************************************************
<!-- Logos -->
****************************************************************************************************
<plugin name="logo-marcolanciani" keep="true" parent="controlbar" zorder="3" alpha="0.0" align="rightbottom" x="20" y="6" url="skin/logo-marcolanciani.png" onhover="showtext(www.marcolanciani.com);" onclick="openurl(http://www.marcolanciani.com,_blank);" onloaded="delayedcall(0.5, tween(alpha,1.0,1.0); );" visible="true" />
<plugin name="logo-redbaron" keep="true" parent="controlbar" zorder="3" alpha="0.0" align="leftbottom" x="20" y="6" url="skin/logo-redbaron.png" onhover="showtext(www.redbaronclub.it);" onclick="openurl(http://www.redbaronclub.it,_blank);" onloaded="delayedcall(0.5, tween(alpha,1.0,1.0); );" visible="true" />
****************************************************************************************************
<!-- Actions to Load Panoramas -->
****************************************************************************************************
<plugin name="combobox" url="skin/combobox.swf" preload="true" alturl="skin/combobox.js" keep="true" align="righttop" x="10" y="10" width="250" >
<item name="combobox0" caption="Hangar" onClick="loadpano(3401.xml, null, Merge, BLEND(1));" />
<item name="combobox1" caption="Tecnam Sierra 2002 RG" onClick="loadpano(3546.xml, null, Merge, BLEND(1));" />
</plugin>
****************************************************************************************************
<!-- Plugins -->
****************************************************************************************************
<!-- <plugin name="options" url="plugins/options.swf" keep="true" align="righttop" x="20" y="20" visible="true" /> -->
<!-- <plugin name="editor" url="plugins/editor.swf" keep="true" align="lefttop" x="50" y="20" visible="true" /> -->
****************************************************************************************************
<!-- Text Style -->
****************************************************************************************************
<textstyle name="default" font="Verdana" fontsize="12" bold="true" italic="false" background="false" backgroundcolor="" border="false" bordercolor="" textcolor="0xffffff" alpha="1.0" blendmode="normal" effect="dropshadow(2,45,0x000000,4,4);" origin="bottom" edge="bottom" textalign="center" xoffset="" yoffset="50" showtime="0.1" fadetime="0.1" fadeintime="0.1" noclip="true" />
****************************************************************************************************
<!-- Control Buttons -->
****************************************************************************************************
<plugin name="controlbar" url="skin/controlbar.png" keep="true" zorder="1" align="bottom" x="" y="15" crop="0|30|30|30" width="100%" height="" visible="true" />
<style name="controls" url="skin/buttonset01controls.png" keep="true" alpha="0.0" onloaded="delayedcall(0.5, tween(alpha,1.0,1.0); );" />
<plugin name="up" parent="controlbar" keep="true" zorder="3" align="center" x="-130" y="0" style="controls" crop= "0|0|20|20" onovercrop= "0|20|20|20" ondowncrop= "0|40|20|20" onhover="showtext(Muovi su);" ondown="set(vlookat_moveforce,-1);" onup="set(vlookat_moveforce,0);" />
<plugin name="down" parent="controlbar" keep="true" zorder="3" align="center" x="-105" y="0" style="controls" crop= "20|0|20|20" onovercrop= "20|20|20|20" ondowncrop= "20|40|20|20" onhover="showtext(Muovi giu);" ondown="set(vlookat_moveforce,+1);" onup="set(vlookat_moveforce,0);" />
<plugin name="left" parent="controlbar" keep="true" zorder="3" align="center" x="-80" y="0" style="controls" crop= "40|0|20|20" onovercrop= "40|20|20|20" ondowncrop= "40|40|20|20" onhover="showtext(Muovi a Sinistra);" ondown="set(hlookat_moveforce,-1);" onup="set(hlookat_moveforce,0);" />
<plugin name="right" parent="controlbar" keep="true" zorder="3" align="center" x="-50" y="0" style="controls" crop= "60|0|20|20" onovercrop= "60|20|20|20" ondowncrop= "60|40|20|20" onhover="showtext(Muovi a Destra);" ondown="set(hlookat_moveforce,+1);" onup="set(hlookat_moveforce,0);" />
<plugin name="in" parent="controlbar" keep="true" zorder="3" align="center" x="15" y="0" style="controls" crop= "80|0|20|20" onovercrop= "80|20|20|20" ondowncrop= "80|40|20|20" onhover="showtext(Avvicina);" ondown="set(fov_moveforce,-1);" onup="set(fov_moveforce,0);" />
<plugin name="out" parent="controlbar" keep="true" zorder="3" align="center" x="-15" y="0" style="controls" crop="100|0|20|20" onovercrop="100|20|20|20" ondowncrop="100|40|20|20" onhover="showtext(Allontana);" ondown="set(fov_moveforce,+1);" onup="set(fov_moveforce,0);" />
<plugin name="initialview" parent="controlbar" keep="true" zorder="3" align="center" x="140" y="0" style="controls" crop="120|0|20|20" onovercrop="120|20|20|20" ondowncrop="120|40|20|20" onhover="showtext(Vista Iniziale);" onclick="lookto(get(panoview.h),get(panoview.v),get(panoview.fov),smooth(10,10,50),true);" visible="false" />
<plugin name="autoron" parent="controlbar" keep="true" zorder="3" align="center" x="110" y="0" style="controls" crop="140|0|20|20" onovercrop="140|20|20|20" ondowncrop="140|40|20|20" onhover="showtext(Avvia Autorotaizone);" onclick="set(autorotate.enabled,true); set(plugin[autoroff].visible,true); set(plugin[autoron].visible,false);" visible="false" />
<plugin name="autoroff" parent="controlbar" keep="true" zorder="3" align="center" x="110" y="0" style="controls" crop="160|0|20|20" onovercrop="160|20|20|20" ondowncrop="160|40|20|20" onhover="showtext(Ferma Autorotaizone);" onclick="set(autorotate.enabled,false); set(plugin[autoron].visible,true); set(plugin[autoroff].visible,false);" visible="true" />
<plugin name="openfs" parent="controlbar" keep="true" zorder="3" align="center" x="80" y="0" style="controls" crop="180|0|20|20" onovercrop="180|20|20|20" ondowncrop="180|40|20|20" onhover="showtext(Entra in modalità Schermo Intero));" onclick="set(fullscreen,true);" visible="true" />
<plugin name="closefs" parent="controlbar" keep="true" zorder="3" align="center" x="80" y="0" style="controls" crop="200|0|20|20" onovercrop="200|20|20|20" ondowncrop="200|40|20|20" onhover="showtext(Chiudi modalità Schermo Intero));" onclick="set(fullscreen,false);" visible="false" />
****************************************************************************************************
<!-- Navigation Controls -->
****************************************************************************************************
<control usercontrol ="all"
mouseaccelerate="1.00"
mousespeed ="7.00"
mousefriction ="0.7"
headswing ="0.00"
keybaccelerate ="0.70"
keybspeed ="7.00"
keybfriction ="0.7"
keybinvert ="false"
mousefovchange ="1.00"
keybfovchange ="0.75"
fovspeed ="3.00"
fovfriction ="0.50"
keycodesleft ="37"
keycodesright ="39"
keycodesup ="38"
keycodesdown ="40"
keycodesin ="16,65,107"
keycodesout ="17,89,90,109"
touchfriction ="0.7"
trackpadzoom ="true"
/>
****************************************************************************************************
<!-- Autorotation -->
****************************************************************************************************
<autorotate enabled="true" waittime="1.0" accel="1.2" speed="2.0" horizon="off" tofov="off" />
****************************************************************************************************
<!-- Actions to Change the Mouse Cursor -->
****************************************************************************************************
<action name="dragcursor">
set(plugin[dragmode].visible, false);
set(plugin[movemode].visible, true);
set(control.mousetype, drag2D);
set(cursors.url, skin/drag-cursors.png);
set(cursors.type, drag);
set(cursors.move, 2|0|30|32);
set(cursors.drag, 37|0|30|32);
</action>
<action name="qtvrcursor">
set(plugin[dragmode].visible, true);
set(plugin[movemode].visible, false);
set(control.mousetype, moveto);
set(cursors.url, skin/qtvr-cursors.png);
set(cursors.type, 8way);
set(cursors.move, 0|0|16|16);
set(cursors.drag, 16|0|16|16);
set(cursors.arrow_u, 32|0|16|16);
set(cursors.arrow_d, 48|0|16|16);
set(cursors.arrow_l, 64|0|16|16);
set(cursors.arrow_r, 80|0|16|16);
set(cursors.arrow_lu, 96|0|16|16);
set(cursors.arrow_ru, 112|0|16|16);
set(cursors.arrow_rd, 128|0|16|16);
set(cursors.arrow_ld, 144|0|16|16);
</action>
****************************************************************************************************
<!-- Context Menu -->
****************************************************************************************************
<contextmenu fullscreen="false">
<item name="copyright" caption="© Marco Lanciani" onclick="openurl(http://www.marcolanciani.com)" />
<item name="normal" caption="Vista “Normale”" onclick="action(view_normal);" separator="true" />
<item name="fisheye" caption="Vista “fisheye”" onclick="action(view_fisheye);" />
<item name="architectural" caption="Vista “Architettonica”" onclick="action(view_architectural);" />
<item name="stereographic" caption="Vista “Stereografica”" onclick="action(view_stereographic);" />
<item name="vedutismo" caption="Vista “Vedutismo”" onclick="action(view_pannini);" />
<item name="planet" caption="Vista “Pianetino”" onclick="action(view_littleplanet);" />
<item name="fullscreen" caption="Entra in modalità Schermo Intero" onclick="switch(fullscreen);" separator="true" />
</contextmenu>
<action name="view_normal">
tween(view.fovmax, 150.0, distance(179, 1.00), easeoutquad);
tween(view.architectural, 0.0, distance(1.0, 0.45), easeoutquad);
tween(view.fisheye, 0.0, distance(1.0, 0.45), easeoutquad, set(view.stereographic,false); set(view.pannini,false); set(display.flash10,on); );
</action>
<action name="view_fisheye">
set(display.flash10,off);
tween(view.architectural, 0.0, distance(1.0, 0.30), easeoutquad);
tween(view.fisheye, 0.0 ,distance(1.0, 0.30), easeoutquad, set(view.stereographic,false); set(view.pannini,false); set(view.fovmax,179); tween(view.fisheye, 0.35, distance(1.0,1.25)); );
</action>
<action name="view_architectural">
tween(view.fovmax, 150.0, distance(179, 1.00), easeoutquad);
tween(view.architectural, 1.0, distance(1.0, 0.45), easeoutquad);
tween(view.fisheye, 0.0, distance(1.0, 0.45), easeoutquad, set(view.stereographic,false);set(view.pannini,false);set(display.flash10,on); );
</action>
<action name="view_stereographic">
set(display.flash10,off);
tween(view.architectural, 0.0, 0.25);
set(backtonormalfirst,false);
if(view.pannini == true, set(backtonormalfirst,true) );
if(view.stereographic == false, set(backtonormalfirst,true) );
if(backtonormalfirst, tween(view.fisheye, 0.0 ,distance(1.0, 0.25), easeoutquad, WAIT); );
set(view.pannini, false);
set(view.stereographic, true);
set(view.fovmax, 150);
tween(view.fisheye, 1.0, distance(1.0, 0.75), easeoutquad);
</action>
<action name="view_pannini">
set(display.flash10,off);
tween(view.architectural, 0.0, 0.25);
set(backtonormalfirst,false);
if(view.pannini == false, set(backtonormalfirst,true) );
if(view.stereographic == false, set(backtonormalfirst,true) );
if(backtonormalfirst, tween(view.fisheye, 0.0 ,distance(1.0, 0.25), easeoutquad, WAIT); );
set(view.pannini, true);
set(view.stereographic, true);
set(view.fovmax, 150);
tween(view.fisheye, 1.0, distance(1.0, 0.75), easeoutquad);
</action>
<action name="view_littleplanet">
set(display.flash10,off);
tween(view.architectural, 0.0, 0.25);
tween(view.vlookat, 90, distance(179, 1.50), easeoutquad);
set(backtonormalfirst,false);
if(view.pannini == true, set(backtonormalfirst,true) );
if(view.stereographic == false, set(backtonormalfirst,true) );
if(backtonormalfirst, tween(view.fisheye, 0.0 ,distance(1.0, 0.25), easeoutquad, WAIT); );
set(view.pannini, false);
set(view.stereographic, true);
set(view.fovmax, 150);
tween(view.fisheye, 1.0, distance(1.0, 0.75), easeoutquad);
tween(view.fov, 150, distance(179, 0.75), easeoutquad);
</action>
<action name="openfs">
set(contextmenu.item[fullscreen].caption,"Chiudi modalità Schermo Intero");
</action>
<action name="closefs">
set(contextmenu.item[fullscreen].caption,"Entra in modalità Schermo Intero");
</action>
****************************************************************************************************
<!-- Setup Panoramas -->
****************************************************************************************************
<action name="setuppano">
<!-- set qtvr cursor -->
action(qtvrcursor);
<!-- disable flash10 for spherical panos and when using the fisheye distortion -->
if(image.type == SPHERE, set(display.flash10,off) );
if(view.fisheye GT 0.0, set(display.flash10,off) );
<!-- hide the other view settings in the context menu on partial panos -->
if(ispartialpano === true, set(showviewitems,false), set(showviewitems,true));
set(contextmenu.item[2].visible, get(showviewitems));
set(contextmenu.item[3].visible, get(showviewitems));
set(contextmenu.item[4].visible, get(showviewitems));
set(contextmenu.item[5].visible, get(showviewitems));
set(contextmenu.item[6].visible, get(showviewitems));
set(contextmenu.item[7].visible, get(showviewitems));
</action>
</krpano>
Display More
Thanks