112 lines
5.4 KiB
XML
112 lines
5.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- for xml compliance -->
|
|
<krpano version="1.0.8.14">
|
|
<!-- akcja wykonywana na starcie -->
|
|
<events onxmlcomplete="onxmlcompleteaction();"/>
|
|
<action name="onxmlcompleteaction">
|
|
if(autorotate.enabled==false,set(plugin[autorotationOFF].visible,false); set(plugin[autorotationON].visible,true);,set(plugin[autorotationOFF].visible,true); set(plugin[autorotationON].visible,false););
|
|
firstloadcompleteaction();
|
|
</action>
|
|
<action name="playpanosounds">
|
|
playbackgroundsound(none);
|
|
</action>
|
|
<action name="stoppanosounds">
|
|
stopbackgroundsound();
|
|
</action>
|
|
<action name="closepanoobjects">
|
|
</action>
|
|
<!--************** Panorama *******************************************************************-->
|
|
<!-- @File="build1.xml" @PanoName="2-1" @FilePath="F:/WIRTUALNE PANORAMY/Dr Materac/Pano/2-1.tif" -->
|
|
<panoview h="-2.75" v="3.76" fov="55"/>
|
|
<!-- parametry widoku -->
|
|
<view fisheye="0" limitview="range" hlookatmin="-180" hlookatmax="180" vlookatmin="-90" vlookatmax="90" maxpixelzoom="1.0" fovmax="75" fov="55" hlookat="-2.75" vlookat="3.76"/>
|
|
<action name="tweennormalview">
|
|
tween(view.hlookat, -2.75, 3, easeInOutQuad);
|
|
tween(view.vlookat, 3.76, 3, easeInOutQuad);
|
|
tween(view.fov , 55, 3, easeInOutQuad );
|
|
tween(view.maxpixelzoom,1.0, 3, easeInOutQuad );
|
|
tween(view.fisheye, 0.0, 3, easeInOutQuad, WAIT);
|
|
set(display.flash10, on);
|
|
set(view.limitview , range);
|
|
set(view.vlookatmin, -90);
|
|
set(view.vlookatmax, 90);
|
|
set(view.hlookatmin, -180);
|
|
set(view.hlookatmax, 180);
|
|
set(view.maxpixelzoom, 1.0);
|
|
set(view.fovmax , 75);
|
|
</action>
|
|
<progress showload="none" showwait="none"/>
|
|
<autorotate horizon="3.76" tofov="55" waittime="1" speed="5"/>
|
|
<!-- obraz podglądu -->
|
|
<preview url="builddata/build1/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" details="16"/>
|
|
<!-- aktualnej panoramy -->
|
|
<image type="CUBE" multires="true" tilesize="956" baseindex="0">
|
|
<level tiledimagewidth="3824" tiledimageheight="3824">
|
|
<left url="builddata/build1/3/2/%v_%u.jpg"/>
|
|
<front url="builddata/build1/0/2/%v_%u.jpg"/>
|
|
<right url="builddata/build1/1/2/%v_%u.jpg"/>
|
|
<back url="builddata/build1/2/2/%v_%u.jpg"/>
|
|
<up url="builddata/build1/4/2/%v_%u.jpg"/>
|
|
<down url="builddata/build1/5/2/%v_%u.jpg"/>
|
|
</level>
|
|
<level tiledimagewidth="1912" tiledimageheight="1912">
|
|
<left url="builddata/build1/3/1/%v_%u.jpg"/>
|
|
<front url="builddata/build1/0/1/%v_%u.jpg"/>
|
|
<right url="builddata/build1/1/1/%v_%u.jpg"/>
|
|
<back url="builddata/build1/2/1/%v_%u.jpg"/>
|
|
<up url="builddata/build1/4/1/%v_%u.jpg"/>
|
|
<down url="builddata/build1/5/1/%v_%u.jpg"/>
|
|
</level>
|
|
<level tiledimagewidth="956" tiledimageheight="956">
|
|
<left url="builddata/build1/3/0/%v_%u.jpg"/>
|
|
<front url="builddata/build1/0/0/%v_%u.jpg"/>
|
|
<right url="builddata/build1/1/0/%v_%u.jpg"/>
|
|
<back url="builddata/build1/2/0/%v_%u.jpg"/>
|
|
<up url="builddata/build1/4/0/%v_%u.jpg"/>
|
|
<down url="builddata/build1/5/0/%v_%u.jpg"/>
|
|
</level>
|
|
<!-- mobile phone / iphone images -->
|
|
<mobile>
|
|
<left url="builddata/build1/3/mobile_face.jpg"/>
|
|
<front url="builddata/build1/0/mobile_face.jpg"/>
|
|
<right url="builddata/build1/1/mobile_face.jpg"/>
|
|
<back url="builddata/build1/2/mobile_face.jpg"/>
|
|
<up url="builddata/build1/4/mobile_face.jpg"/>
|
|
<down url="builddata/build1/5/mobile_face.jpg"/>
|
|
</mobile>
|
|
<!-- tablet pc / ipad images -->
|
|
<tablet>
|
|
<left url="builddata/build1/3/tablet_face.jpg"/>
|
|
<front url="builddata/build1/0/tablet_face.jpg"/>
|
|
<right url="builddata/build1/1/tablet_face.jpg"/>
|
|
<back url="builddata/build1/2/tablet_face.jpg"/>
|
|
<up url="builddata/build1/4/tablet_face.jpg"/>
|
|
<down url="builddata/build1/5/tablet_face.jpg"/>
|
|
</tablet>
|
|
</image>
|
|
<!--************** Hotspoty i Flary ***********************************************************-->
|
|
<hotspot name="spot2" onclick="mainloadpano(build0.xml);" url="builddata/graphics/spots/spot0.png" ath="-25.1832" atv="-0.301003"/>
|
|
<hotspot name="spot3" onclick="mainloadpano(build2.xml);" url="builddata/graphics/spots/spot0.png" ath="52.3694" atv="1.54176"/>
|
|
<hotspot name="spot4" onclick="closeallobjects();set(plugin[spot4object].visible,true);tween(plugin[spot4object].alpha, 1);" url="builddata/graphics/spots/spot1.png" ath="-139.353" atv="8.69086"/>
|
|
<plugin name="spot4object" visible="false" url="builddata/graphics/spots/object0.jpg" align="center" alpha="0" onclick="closespot4object();"/>
|
|
<action name="closespot4object">
|
|
if(plugin[spot4object].visible,
|
|
tween(plugin[spot4object].alpha, 0);
|
|
delayedcall(0.5,set(plugin[spot4object].visible,false));
|
|
);
|
|
</action>
|
|
<action name="hidepanospotsaction">
|
|
set(hotspot[spot2].visible, false);
|
|
set(hotspot[spot3].visible, false);
|
|
set(hotspot[spot4].visible, false);
|
|
</action>
|
|
<action name="showpanospotsaction">
|
|
set(hotspot[spot2].visible, true);
|
|
set(hotspot[spot3].visible, true);
|
|
set(hotspot[spot4].visible, true);
|
|
</action>
|
|
<!-- zamknij wszystkie Hotspoty -->
|
|
<action name="closeallobjects">
|
|
closespot4object();
|
|
</action>
|
|
</krpano> |