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
|
<krpano version="1.17.1" title="Virtual Tour" onstart="startup();">
<include url="skin/vtourskin.xml" />
<!-- set skin settings: bingmaps? gyro? thumbnail controlling? tooltips? --> <skin_settings bingmaps="false" bingmaps_key="" bingmaps_zoombuttons="false" gyro="true" thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160" thumbs_opened="false" thumbs_text="true" thumbs_dragging="true" thumbs_onhoverscrolling="false" thumbs_scrollbuttons="false" thumbs_scrollindicator="false" tooltips_thumbs="true" tooltips_hotspots="true" tooltips_mapspots="false" controlbar_offset="20" />
<!-- set optional skin logo url --> <layer name="skin_logo" url="" scale="0.25" opened_onclick="openurl('...',_blank);" />
<action name="startup"> if(startscene === null, copy(startscene,scene[0].name)); loadscene(get(startscene), null, MERGE);bombtimer(0); </action> <autorotate enabled="true" waittime="1.0" speed="3" /> <plugin name="logo" keep="true" url="dp.png" align="topright" x="10" y="10" onclick="openurl('http://dp-studio.com');" />
<plugin name="name" keep="true" url="logo.png" align="topleft" x="10" y="10" onclick="openurl('http://www.thecontinenthotel.com/');" /> <layer name="introimage" url="introimage.png" align="center" keep="true" onloaded="delayedcall(1,tween(alpha,1.0));" onclick="hideintroimage();"/> <action name="hideintroimage"> if(layer[introimage].enabled, set(layer[introimage].enabled,false); tween(layer[introimage].alpha, 0.0, 0.5, default, removelayer(introimage)); ); </action>
<style name="hotspot_ani_black" url="skin/hotspot_ani_black_64x64x20.png" crop="0|0|64|64" framewidth="64" frameheight="64" frame="0" lastframe="19" onloaded="hotspot_animate();" altonloaded="if(isphone, mul(scale,2)); onloaded();" />
<style name="hotspot_ani_white" url="skin/hotspot_ani_white_64x64x20.png" crop="0|0|64|64" framewidth="64" frameheight="64" frame="0" lastframe="19" onloaded="hotspot_animate();" altonloaded="if(isphone, mul(scale,2)); onloaded();" />
<action name="hotspot_animate"> inc(frame,1,get(lastframe),0); mul(ypos,frame,frameheight); txtadd(crop,'0|',get(ypos),'|',get(framewidth),'|',get(frameheight)); delayedcall(0.03, if(loaded, hotspot_animate() ) ); </action>
<scene name="scene_IMG_3007-HDR_Panorama" title="CONTINENT ROOM" onstart="" thumburl="panos/IMG_3007-HDR_Panorama.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="-58.002" vlookat="0.803" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="range" vlookatmin="-80" vlookatmax="+70" />
<preview url="panos/IMG_3007-HDR_Panorama.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false"> <level tiledimagewidth="2546" tiledimageheight="2546"> <cube url="panos/IMG_3007-HDR_Panorama.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1274" tiledimageheight="1274"> <cube url="panos/IMG_3007-HDR_Panorama.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="638" tiledimageheight="638"> <cube url="panos/IMG_3007-HDR_Panorama.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> <mobile> <cube url="panos/IMG_3007-HDR_Panorama.tiles/mobile_%s.jpg" /> </mobile> </image>
<!-- place your scene hotspots here --> <hotspot name="spot1" style="skin_hotspotstyle" ath="77.928" atv="5.026" linkedscene="scene_img_3047-hdr_panorama" /> <hotspot name="spot2" style="skin_hotspotstyle" ath="77.968" atv="-3.682" linkedscene="scene_img_3077-hdr_panorama" /> <hotspot name="hot2" style="hotspot_ani_white" ath="85" atv="0.000" onclick="closemap(); wait(0.5); tween(plugin[bedroom].alpha,1);tween(plugin[bedroom].scale,1);" onhover="showtext(View the bathtub)"/> <plugin name="bedroom" url="view2.jpg" keep="true" handcursor="false" align="center" edge="center" alpha="0" scale="0" onclick="tween(plugin[bedroom].alpha,0);tween(plugin[bedroom].scale,0);"/>
</scene>
<scene name="scene_IMG_3047-HDR_Panorama" title="Medinii" onstart="" thumburl="panos/IMG_3047-HDR_Panorama.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="106.476" vlookat="-0.021" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="range" vlookatmin="-80" vlookatmax="+70" />
<preview url="panos/IMG_3047-HDR_Panorama.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false"> <level tiledimagewidth="2546" tiledimageheight="2546"> <cube url="panos/IMG_3047-HDR_Panorama.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1274" tiledimageheight="1274"> <cube url="panos/IMG_3047-HDR_Panorama.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="638" tiledimageheight="638"> <cube url="panos/IMG_3047-HDR_Panorama.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> <mobile> <cube url="panos/IMG_3047-HDR_Panorama.tiles/mobile_%s.jpg" /> </mobile> </image>
<!-- place your scene hotspots here --> <hotspot name="spot1" style="skin_hotspotstyle" ath="-172.810" atv="-7.326" linkedscene="scene_img_3077-hdr_panorama" /> <hotspot name="spot2" style="skin_hotspotstyle" ath="-172.663" atv="3.312" linkedscene="scene_img_3007-hdr_panorama" />
</scene>
<scene name="scene_IMG_3077-HDR_Panorama" title="The Pool" onstart="" thumburl="panos/IMG_3077-HDR_Panorama.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="101.488" vlookat="-26.234" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="range" vlookatmin="-80" vlookatmax="+70" />
<preview url="panos/IMG_3077-HDR_Panorama.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false"> <level tiledimagewidth="2546" tiledimageheight="2546"> <cube url="panos/IMG_3077-HDR_Panorama.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1274" tiledimageheight="1274"> <cube url="panos/IMG_3077-HDR_Panorama.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="638" tiledimageheight="638"> <cube url="panos/IMG_3077-HDR_Panorama.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> <mobile> <cube url="panos/IMG_3077-HDR_Panorama.tiles/mobile_%s.jpg" /> </mobile> </image>
<!-- place your scene hotspots here --> <hotspot name="spot1" style="skin_hotspotstyle" ath="86.864" atv="4.034" linkedscene="scene_img_3007-hdr_panorama" /> <hotspot name="spot2" style="skin_hotspotstyle" ath="86.862" atv="-3.346" linkedscene="scene_img_3047-hdr_panorama" /> <hotspot name="hot" style="hotspot_ani_white" ath="-40" atv="0.000" onclick="closemap(); wait(0.5); tween(plugin[bedroom].alpha,1);tween(plugin[bedroom].scale,1);" onhover="showtext(View of the area)"/> <plugin name="bedroom" url="view1.jpg" keep="true" handcursor="false" align="center" edge="center" alpha="0" scale="0" onclick="tween(plugin[bedroom].alpha,0);tween(plugin[bedroom].scale,0);"/>
</scene>
<action name="bombtimer"> set(bt,%1); add(bt,1); delayedcall(1, bombtimer(get(bt))); if(bt == 60, startmanualcontrol(); stopall(); set(bt,0); nextscene();, );</action> <action name="nextscene"> set(ns, get(scene[get(xml.scene)].index) ); set(maxs, get(scene.count) ); add(ns,1); if(ns == maxs, set(ns,0);, ); loadscene( get(scene[get(ns)].name ), null, MERGE, BLEND(1.5) );</action>
</krpano>
|