123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <krpano maxwidth="2048" maxheight="1024" logkey="false" showerrors="false" debugmode="false">
-
- <renderer devicescale="auto" gpu="true" />
- <plugin name="webvr" devices="vr_headset" html5="prefer-webgl" />
- <include url="skin/vtourskin.xml" />
- <skin_settings maps="false"
- maps_type="google"
- maps_bing_api_key=""
- maps_google_api_key=""
- maps_zoombuttons="false"
- maps_loadonfirstuse="true"
- gyro="true"
- gyro_keeplookingdirection="false"
- webvr="true"
- webvr_keeplookingdirection="false"
- webvr_prev_next_hotspots="false"
- autotour="false"
- littleplanetintro="false"
- followmousecontrol="false"
- title="false"
- thumbs="false"
- thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160"
- thumbs_opened="false"
- thumbs_text="false"
- thumbs_dragging="false"
- thumbs_onhoverscrolling="false"
- thumbs_scrollbuttons="false"
- thumbs_scrollindicator="false"
- thumbs_loop="false"
- tooltips_buttons="false"
- tooltips_thumbs="false"
- tooltips_hotspots="false"
- tooltips_mapspots="false"
- deeplinking="false"
- loadscene_flags="MERGE|KEEPVIEW"
- loadscene_blend="OPENBLEND(0.5, 0.0, 0.75, 0.05, linear)"
- loadscene_blend_prev="SLIDEBLEND(0.5, 180, 0.75, linear)"
- loadscene_blend_next="SLIDEBLEND(0.5, 0, 0.75, linear)"
- loadingtext=""
- layout_width="100%"
- layout_maxwidth="814"
- controlbar_width="-24"
- controlbar_height="0"
- controlbar_offset="20"
- controlbar_offset_closed="-1555540"
- controlbar_overlap.no-fractionalscaling="10"
- controlbar_overlap.fractionalscaling="0"
- design_skin_images="vtourskin.png"
- design_bgcolor="0x2D3E50"
- design_bgalpha="0.8"
- design_bgborder="0"
- design_bgroundedge="1"
- design_bgshadow="0 4 10 0x000000 0.3"
- design_thumbborder_bgborder="3 0xFFFFFF 1.0"
- design_thumbborder_padding="2"
- design_thumbborder_bgroundedge="0"
- design_text_css="color:#FFFFFF; font-family:Arial;"
- design_text_shadow="1"
- />
- <!-- <scene name="test12">
- <image>
- <cube url="" />
- </image>
- <view hlookat="90.0" vlookat="-60.0" fovtype="HFOV" fov="-1" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
- </scene> -->
- <!-- <contextmenu fullscreen="false" versioninfo="false" /> -->
- <action name="startup" autorun="onstart"> if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); ); loadscene(get(startscene), null, MERGE); if(startactions !== null, startactions() ); </action>
- <action name="add_all_the_time_tooltip_for_VR"> txtadd(tooltipname, 'vrtooltip_', get(name)); addhotspot(get(tooltipname)); set(hotspot[get(tooltipname)], type=text, edge=get(hotspot[get(name)].edge), distorted=get(hotspot[get(name)].distorted), ath=get(hotspot[get(name)].ath), atv=get(hotspot[get(name)].atv), oy=-36, ox=0, vcenter=true, padding='3 8', mipmapping=true, oversampling=2, bg=true, bgcolor=rgba(18, 18, 18, 0.8), bgroundedge=2, bgalpha=0.8, bgborder=0, bgshadow='0 0 0 0x000000 0', css=calc(device.mobile ? 'text-align:center; color:#FFFFFF; font-family:MicrosoftYahei; font-size:14px;':'text-align:left; color:#FFFFFF; font-family:MicrosoftYahei; font-size:14px;'), txtshadow='0 0 0 0x000000 0'; enabled=true, ); txtadd(hotspot[get(tooltipname)].onclick,'callwith(hotspot[',get(name),'],onclick)'); if(text == '' OR text === null, copy(hotspot[get(tooltipname)].html,scene[get(linkedscene)].title), copy(hotspot[get(tooltipname)].html,text); ); if(lp_running == false, set(hotspot[get(tooltipname)].visible,true); , if(!webvr.isenabled, if(lp_running == true, set(hotspot[get(tooltipname)].visible,false); set(hotspot[get(tooltipname)].mark2,true); ); ); ); if(hotspot[get(name)].normal == false, set(hotspot[get(tooltipname)].normal,false); set(hotspot[get(tooltipname)].onloaded, if(webvr.isenabled, set(visible,false); , if(lp_running == false OR lp_running == null OR lp_running === null, set(visible,true); ); ); ); ); </action>
- <action name="draghotspot">
- spheretoscreen(ath, atv, hotspotcenterx, hotspotcentery, 'l');
- sub(drag_adjustx, mouse.stagex, hotspotcenterx);
- sub(drag_adjusty, mouse.stagey, hotspotcentery);
- asyncloop(pressed,
- sub(dx, mouse.stagex, drag_adjustx);
- sub(dy, mouse.stagey, drag_adjusty);
- screentosphere(dx, dy, ath, atv);
- roundval(ath, 3);
- roundval(atv, 3);
- js(GetHotspot(get(name),get(ath), get(atv))));
- )
- </action>
- <action name="draghotspot1">
- screentosphere(mouse.x,mouse.y,toh,tov);
-
- js(GetHotspot1(get(toh), get(tov),get(name)));
- </action>
- <style name="skin_filter" opacity="0.5"/>
- <scene name="test1" title="99" onstart="" thumburl="" lat="" lng="" heading="0.0">
- <!-- <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="95" fovmin="70" fovmax="120" limitview="auto"/> -->
- <!-- <preview url=""/> -->
- <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="95" fovmin="70" fovmax="120" limitview="auto" />
- <preview url="" />
- <image>
- <cube url="" />
- </image>
- </scene>
- <!-- <events name="nadirlogorotation" keep="true" onviewchange="copy(hotspot[nadirlogo].rotate,view.hlookat);"/> -->
- <memory maxmem="100" devices="Desktop" />
- <memory maxmem="80" devices="Tablet" />
- <memory maxmem="40" devices="iOS" />
- <memory maxmem="40" devices="iOS7.1" />
- <events name="sync" keep="true" onclick="draghotspot1();"
- onmousedown="draghotspot1();"
- />
- <!-- <events name="" keep="true" /> -->
- </krpano>
|