| Current Path : /home/azimutno/www/images/lasne/Lasnedata/ |
| Current File : /home/azimutno/www/images/lasne/Lasnedata/Lasne_skin_vr.xml |
<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.19">
<!-- Spot Style - Default Point Spot Style -->
<style name="IconDefaultPointSpotStyle"
url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint0.png"
visible="false"
edge="center"
onhover="onhoverIconDefaultPointSpotStyle"
onout="onoutIconDefaultPointSpotStyle"
/>
<action name="onhoverIconDefaultPointSpotStyle">
showtooltip('hotspot');
</action>
<action name="onoutIconDefaultPointSpotStyle">
hideTooltip();
</action>
<!-- ********************************* -->
<!-- VR GRID MENU -->
<!-- by 360images.fr -->
<!-- ********************************* -->
<action name="hidesomescenes_forvrmenu" autorun="preinit">
</action>
<include url="%FIRSTXML%/graphics/360imagesvr/vrmenu.xml"/>
<vrmenu
angle="-45"
groups="false"
onlycat="false"
firstgroup="false"
onlygroups="false"
displayprevnext="false"
width="240"
height="120"
gpwidth="400"
gpheight="200"
rows="5"
group_rows="1"
spacing="20"
gpspacing="50"
timeout="2000"
seen="true"
from="-800"
closevrmenu="true"
fademenu="true"
menualpha="50"
add_txt_thumb="true"
txt_thumb_css="color:#ffffff;font-family:Arial;font-size:20px;text-align:center"
txt_thumb_vcenter="true"
txt_thumb_hasshadow="false"
add_txt_group="true"
txt_group_css="color:#ffffff;font-family:Arial;font-size:20px;text-align:center"
txt_group_vcenter="true"
txt_group_hasshadow="false"
add_thumb_border="true"
thumb_border_border="0 0x000000 1.00"
thumb_border_bgcolor="0x000000"
thumb_border_bgalpha="0"
thumb_border_over_border="2 0xffffff 1.00"
thumb_border_over_bgcolor="0x000000"
thumb_border_over_bgalpha="0.7000076295109483"
/>
<action name="viewControlMoveUp">
if(%1,
if(%2,
set(isfullvertical, false);
ifnot(scene[get(xml.scene)].planar,
sub(viewvfov, panoview.vmax, panoview.vmin);
if (viewvfov == 180,
set(isfullvertical, true);
);
);
if(isfullvertical == false AND calc(view.vlookat-%2) LT view.vlookatmin,
moveto(get(view.hlookat), get(view.vlookatmin));
,
moveto(get(view.hlookat), calc(view.vlookat-%2));
);
,
set(vlookat_moveforce, -1);
delayedcall(0.1, viewControlMoveVertStop());
);
,
set(vlookat_moveforce, -1);
);
</action>
<action name="viewControlMoveDown">
if(%1,
if(%2,
set(isfullvertical, false);
ifnot(scene[get(xml.scene)].planar,
sub(viewvfov, panoview.vmax, panoview.vmin);
if (viewvfov == 180,
set(isfullvertical, true);
);
);
if(sceneisfull360 == false AND calc(view.vlookat+%2) GT view.vlookatmax,
moveto(get(view.hlookat), get(view.vlookatmax));
,
moveto(get(view.hlookat), calc(view.vlookat+%2));
);
,
set(vlookat_moveforce, +1);
delayedcall(0.1, viewControlMoveVertStop());
);
,
set(vlookat_moveforce, +1);
);
</action>
<action name="viewControlMoveLeft">
if(%1,
if(%2,
set(isfullhorizontal, false);
ifnot(scene[get(xml.scene)].planar,
sub(viewhfov, panoview.hmax, panoview.hmin);
if (viewhfov == 360,
set(isfullhorizontal, true);
);
);
if(isfullhorizontal == false AND calc(view.hlookat-%2) LT view.hlookatmin,
moveto(get(view.hlookatmin), get(view.vlookat));
,
moveto(calc(view.hlookat-%2), get(view.vlookat));
);
,
set(hlookat_moveforce, -1);
delayedcall(0.1, viewControlMoveHoriStop());
);
,
set(hlookat_moveforce, -1);
);
</action>
<action name="viewControlMoveRight">
if(%1,
if(%2,
set(isfullhorizontal, false);
ifnot(scene[get(xml.scene)].planar,
sub(viewhfov, panoview.hmax, panoview.hmin);
if (viewhfov == 360,
set(isfullhorizontal, true);
);
);
if(isfullhorizontal == false AND calc(view.hlookat+%2) GT view.hlookatmax,
moveto(get(view.hlookatmax), get(view.vlookat));
,
moveto(calc(view.hlookat+%2), get(view.vlookat));
);
,
set(hlookat_moveforce, +1);
delayedcall(0.1, viewControlMoveHoriStop());
);
,
set(hlookat_moveforce, +1);
);
</action>
<action name="viewControlMoveHoriStop">
set(hlookat_moveforce, 0);
</action>
<action name="viewControlMoveVertStop">
set(vlookat_moveforce, 0);
</action>
<action name="viewControlZoomIn">
if(%1,
if(%2,
if(%2 LT view.fovmin,
zoomto(get(view.fovmin));
,
if(%2 LT view.fov,
zoomto(%2);
);
);
,
set(fov_moveforce, -1);
delayedcall(0.1, viewControlZoomStop());
);
,
set(fov_moveforce, -1);
);
</action>
<action name="viewControlZoomOut">
if(%1,
if(%2,
if(%2 GT view.fovmax,
zoomto(get(view.fovmax));
,
if(%2 GT view.fov,
zoomto(%2);
);
);
,
set(fov_moveforce, +1);
delayedcall(0.1, viewControlZoomStop());
);
,
set(fov_moveforce, +1);
);
</action>
<action name="viewControlZoomStop">
set(fov_moveforce, 0);
</action>
<!-- Fullscreen Management -->
<action name="exitFullScreen" devices="fullscreensupport">set(tour_fullscreen,false);set(fullscreen,false);</action>
<action name="enterFullScreen" devices="fullscreensupport">set(tour_fullscreen,true);set(fullscreen,true);</action>
<action name="switchFullScreen">if(tour_fullscreen,exitFullScreen();,enterFullScreen(););</action>
<events name="krpanoExitFullscreenEvent"
onexitfullscreen="if(tour_fullscreen,exitFullScreenChangeEvent(););"
keep="true" />
<action name="exitFullScreenChangeEvent" devices="fullscreensupport">set(tour_fullscreen,false);events.dispatch(onexitfullscreen);</action>
<!-- Hide / Show Controls -->
<action name="hideTourControls">set(tour_displaycontrols, false);events.dispatch(hidetourcontrols);</action>
<action name="showTourControls">set(tour_displaycontrols, true); events.dispatch(showtourcontrols);</action>
<!-- Hide / Show Thumbnails -->
<action name="hideTourThumbnails">set(tour_displaythumbnails, false);events.dispatch(hidetourthumbnails);</action>
<action name="showTourThumbnails">set(tour_displaythumbnails, true); events.dispatch(showtourthumbnails);</action>
</krpano>