841 lines
20 KiB
XML
841 lines
20 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<krpano version="1.19-pr16">
|
|
|
|
|
|
<!-- Spot Style - ⓐ 레스토랑 후원 -->
|
|
|
|
|
|
<style name="Iconⓐ레스토랑후원"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint0.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓐ레스토랑후원"
|
|
onout="onoutIconⓐ레스토랑후원"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓐ레스토랑후원">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓐ레스토랑후원">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<!-- unsupported kind of display : PointMap -->
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓑ 자수화단(1) -->
|
|
|
|
|
|
<style name="Iconⓑ자수화단_1_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint1.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓑ자수화단_1_"
|
|
onout="onoutIconⓑ자수화단_1_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓑ자수화단_1_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓑ자수화단_1_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓒ 레스토랑 시선 -->
|
|
|
|
|
|
<style name="Iconⓒ레스토랑시선"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint2.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓒ레스토랑시선"
|
|
onout="onoutIconⓒ레스토랑시선"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓒ레스토랑시선">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓒ레스토랑시선">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓓ 보스코 -->
|
|
|
|
|
|
<style name="Iconⓓ보스코"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint3.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓓ보스코"
|
|
onout="onoutIconⓓ보스코"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓓ보스코">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓓ보스코">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓔ 아이노리 -->
|
|
|
|
|
|
<style name="Iconⓔ아이노리"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint4.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓔ아이노리"
|
|
onout="onoutIconⓔ아이노리"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓔ아이노리">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓔ아이노리">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓕ 이벤트필드(1) -->
|
|
|
|
|
|
<style name="Iconⓕ이벤트필드_1_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint5.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓕ이벤트필드_1_"
|
|
onout="onoutIconⓕ이벤트필드_1_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓕ이벤트필드_1_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓕ이벤트필드_1_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓕ 이벤트필드(2) -->
|
|
|
|
|
|
<style name="Iconⓕ이벤트필드_2_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint6.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓕ이벤트필드_2_"
|
|
onout="onoutIconⓕ이벤트필드_2_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓕ이벤트필드_2_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓕ이벤트필드_2_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓕ 이벤트필드(3) -->
|
|
|
|
|
|
<style name="Iconⓕ이벤트필드_3_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint7.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓕ이벤트필드_3_"
|
|
onout="onoutIconⓕ이벤트필드_3_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓕ이벤트필드_3_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓕ이벤트필드_3_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓖ 테라스가든 -->
|
|
|
|
|
|
<style name="Iconⓖ테라스가든"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint8.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓖ테라스가든"
|
|
onout="onoutIconⓖ테라스가든"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓖ테라스가든">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓖ테라스가든">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓘ 로즈가든(1) -->
|
|
|
|
|
|
<style name="Iconⓘ로즈가든_1_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint10.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓘ로즈가든_1_"
|
|
onout="onoutIconⓘ로즈가든_1_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓘ로즈가든_1_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓘ로즈가든_1_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓙ 가우디움(1) -->
|
|
|
|
|
|
<style name="Iconⓙ가우디움_1_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint11.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓙ가우디움_1_"
|
|
onout="onoutIconⓙ가우디움_1_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓙ가우디움_1_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓙ가우디움_1_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - 타이틀 -->
|
|
|
|
|
|
<style name="Icon타이틀"
|
|
url="%FIRSTXML%/spots/_5106053952_user_defaultpoint12.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIcon타이틀"
|
|
onout="onoutIcon타이틀"
|
|
|
|
|
|
/>
|
|
<action name="onhoverIcon타이틀">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIcon타이틀">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓑ 자수화단(2) -->
|
|
|
|
|
|
<style name="Iconⓑ자수화단_2_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint13.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓑ자수화단_2_"
|
|
onout="onoutIconⓑ자수화단_2_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓑ자수화단_2_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓑ자수화단_2_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓕ 이벤트필드(4) -->
|
|
|
|
|
|
<style name="Iconⓕ이벤트필드_4_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint14.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓕ이벤트필드_4_"
|
|
onout="onoutIconⓕ이벤트필드_4_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓕ이벤트필드_4_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓕ이벤트필드_4_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓙ 가우디움(3) -->
|
|
|
|
|
|
<style name="Iconⓙ가우디움_3_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint17.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓙ가우디움_3_"
|
|
onout="onoutIconⓙ가우디움_3_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓙ가우디움_3_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓙ가우디움_3_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓙ 가우디움(2) -->
|
|
|
|
|
|
<style name="Iconⓙ가우디움_2_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint18.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓙ가우디움_2_"
|
|
onout="onoutIconⓙ가우디움_2_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓙ가우디움_2_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓙ가우디움_2_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓚ 매표소(2) -->
|
|
|
|
|
|
<style name="Iconⓚ매표소_2_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint19.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓚ매표소_2_"
|
|
onout="onoutIconⓚ매표소_2_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓚ매표소_2_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓚ매표소_2_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓚ 매표소(1) -->
|
|
|
|
|
|
<style name="Iconⓚ매표소_1_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint20.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓚ매표소_1_"
|
|
onout="onoutIconⓚ매표소_1_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓚ매표소_1_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓚ매표소_1_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓛ 토스카나길(2) -->
|
|
|
|
|
|
<style name="Iconⓛ토스카나길_2_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint21.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓛ토스카나길_2_"
|
|
onout="onoutIconⓛ토스카나길_2_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓛ토스카나길_2_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓛ토스카나길_2_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- Spot Style - ⓛ 토스카나길(1) -->
|
|
|
|
|
|
<style name="Iconⓛ토스카나길_1_"
|
|
url="%FIRSTXML%/spots/_4719650612_47004_4719644256_user_defaultpoint22.png"
|
|
visible="false"
|
|
edge="center"
|
|
onhover="onhoverIconⓛ토스카나길_1_"
|
|
onout="onoutIconⓛ토스카나길_1_"
|
|
|
|
height="40"
|
|
width="40"
|
|
/>
|
|
<action name="onhoverIconⓛ토스카나길_1_">
|
|
showtooltip('hotspot');
|
|
</action>
|
|
<action name="onoutIconⓛ토스카나길_1_">
|
|
hideTooltip();
|
|
|
|
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<!-- MAP -->
|
|
<action name="hideMap">set(tour_displaymap, false);events.dispatch(onhidetourmap);</action>
|
|
<action name="showMap">set(tour_displaymap, true); events.dispatch(onshowtourmap);</action>
|
|
|
|
<!-- FLOORPLAN -->
|
|
<action name="hideFloorplan">set(tour_displayfloorplan, false);events.dispatch(onhidetourfloorplan);</action>
|
|
<action name="showFloorplan">set(tour_displayfloorplan, true); events.dispatch(onshowtourfloorplan);</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>
|
|
|
|
|
|
<!-- Fullscreen Management -->
|
|
<action name="exitFullScreen" devices="fullscreensupport">set(tour_fullscreen,false);js(setFullscreen(false));</action>
|
|
<action name="enterFullScreen" devices="fullscreensupport">set(tour_fullscreen,true);js(setFullscreen(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>
|
|
<action name="enterFullScreenChangeEvent" devices="fullscreensupport">set(tour_fullscreen,true);events.dispatch(onenterfullscreen);</action>
|
|
<action name="exitFullScreenFallback">set(fullscreen,false);</action>
|
|
<action name="enterFullScreenFallback">set(fullscreen,true);</action>
|
|
|
|
<action name="resizeFullScreenEvent">delayedcall(0,updatescreen(););</action>
|
|
|
|
<!-- Sounds Management -->
|
|
|
|
<action name="play3DLocalSounds">
|
|
if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, playpanolocalsounds();););
|
|
</action>
|
|
<action name="stop3DLocalSounds">
|
|
if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, stoppanolocalsounds();););
|
|
</action>
|
|
<action name="resume3DLocalSounds">
|
|
if (xml.scene, if (scene[get(xml.scene)].haslocalsounds,
|
|
set(kill3dSoundOnResume, true);
|
|
if(layer[displayedStandardVideo],
|
|
if(layer[displayedStandardVideo].pausebgsound,
|
|
if(tour_current_played_video,
|
|
set(kill3dSoundOnResume, false);
|
|
);););
|
|
if(layer[webvideodisplay_player],
|
|
if(layer[webvideodisplay_player].pausebgsound,
|
|
if(tour_current_played_web_video,
|
|
set(kill3dSoundOnResume, false);
|
|
);););
|
|
if(tour_current_played_sound_pausesound,
|
|
if(tour_current_played_sound,
|
|
set(kill3dSoundOnResume, false);
|
|
););
|
|
if(kill3dSoundOnResume,
|
|
resumepanolocalsounds();
|
|
);
|
|
););
|
|
</action>
|
|
<action name="pause3DLocalSounds">
|
|
if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, pausepanolocalsounds();););
|
|
</action>
|
|
<action name="set3DLocalSoundsVolume">
|
|
if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, setpanolocalsoundsvolume();););
|
|
</action>
|
|
<action name="playTourSounds">
|
|
set(tour_soundson, true);events.dispatch(playtoursoundsevent);
|
|
resumeTourSoundsActions(true,true,true,true,true);
|
|
</action>
|
|
<action name="stopTourSounds">
|
|
set(tour_soundson, false);events.dispatch(stoptoursoundsevent);
|
|
pauseTourSoundsActions(true,true,true,true,true);
|
|
</action>
|
|
<action name="setTourSoundsVolume">
|
|
set(tour_soundsvolume, %1);events.dispatch(changetoursoundsevent);
|
|
set3DLocalSoundsVolume();
|
|
</action>
|
|
<action name="playTourSoundsActions">
|
|
if(%1,
|
|
play3DLocalSounds();
|
|
);
|
|
</action>
|
|
<action name="stopTourSoundsActions">
|
|
if(%1,
|
|
stop3DLocalSounds();
|
|
);
|
|
if(%3,
|
|
stopVideoActionsSounds();
|
|
);
|
|
</action>
|
|
<action name="resumeTourSoundsActions">
|
|
if(%1,
|
|
resume3DLocalSounds();
|
|
);
|
|
if(%3,
|
|
resumeVideoActionsSounds();
|
|
);
|
|
</action>
|
|
<action name="pauseTourSoundsActions">
|
|
if(%1,
|
|
pause3DLocalSounds();
|
|
);
|
|
if(%3,
|
|
pauseVideoActionsSounds();
|
|
);
|
|
</action>
|
|
<action name="stopVideoActionsSounds">
|
|
if(tour_current_played_video,
|
|
if(layer[displayedStandardVideo],
|
|
layer[displayedStandardVideo].stop();
|
|
removelayer(displayedStandardVideo);
|
|
if(layer[displayedStandardVideoOverlayButton], removelayer(displayedStandardVideoOverlayButton); );
|
|
if(layer[displayedStandardVideoOverlay], removelayer(displayedStandardVideoOverlay); );
|
|
delete(tour_current_played_video);
|
|
set(tour_current_played_video_state, 0);
|
|
);
|
|
);
|
|
if(tour_current_played_web_video,
|
|
displayWebVideoObjectClose();
|
|
);
|
|
</action>
|
|
<action name="resumeVideoActionsSounds">
|
|
if(tour_current_played_video,
|
|
set(resumeVideoActionsVerification, true);
|
|
if(tour_current_played_sound,
|
|
if(tour_current_played_video_state LT tour_current_played_sound_state,
|
|
set(resumeVideoActionsVerification, false);
|
|
);
|
|
);
|
|
if(resumeVideoActionsVerification,
|
|
if (tour_soundson,
|
|
if(device.flash OR (device.webgl AND !device.ios),
|
|
div(volume, tour_soundsvolume, 100);
|
|
set(layer[displayedStandardVideo].volume, get(volume));
|
|
,
|
|
ifnot(device.ios,
|
|
js(kpanotour.Sounds.startVideosSounds(get(volume)));
|
|
,
|
|
if(tour_soundsvolume GT 0,
|
|
set(layer[displayedStandardVideo].muted, false);
|
|
,
|
|
set(layer[displayedStandardVideo].muted, true);
|
|
);
|
|
);
|
|
);
|
|
,
|
|
if(device.flash OR (device.webgl AND !device.ios),
|
|
set(layer[displayedStandardVideo].volume, 0);
|
|
,
|
|
ifnot(device.ios,
|
|
js(kpanotour.Sounds.stopVideosSounds());
|
|
,
|
|
set(layer[displayedStandardVideo].muted, true);
|
|
);
|
|
);
|
|
);
|
|
);
|
|
);
|
|
</action>
|
|
<action name="pauseVideoActionsSounds">
|
|
if(tour_current_played_video,
|
|
if(device.flash OR (device.webgl AND !device.ios),
|
|
set(layer[displayedStandardVideo].volume, 0);
|
|
,
|
|
ifnot(device.ios,
|
|
js(kpanotour.Sounds.stopVideosSounds());
|
|
,
|
|
set(layer[displayedStandardVideo].muted, true);
|
|
);
|
|
);
|
|
);
|
|
</action>
|
|
|
|
<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>
|
|
|
|
</krpano> |