tour.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <krpano version="1.19" title="">
  2. <include url="skin/vtourskin.xml" />
  3. <!-- <include url="pano_pos.xml" /><events keep="true" name="showpos" onviewchange="show_pos()"/> -->
  4. <!-- customize skin settings: maps, gyro, webvr, thumbnails, tooltips, layout, design, ... -->
  5. <skin_settings maps="false"
  6. maps_type="google"
  7. maps_bing_api_key=""
  8. maps_google_api_key=""
  9. maps_zoombuttons="false"
  10. gyro="true"
  11. webvr="true"
  12. webvr_gyro_keeplookingdirection="false"
  13. webvr_prev_next_hotspots="true"
  14. littleplanetintro="true"
  15. title="true"
  16. thumbs="true"
  17. thumbs_width="140" thumbs_height="90" thumbs_padding="10" thumbs_crop="0|40|240|160"
  18. thumbs_opened="false"
  19. thumbs_text="true"
  20. thumbs_dragging="true"
  21. thumbs_onhoverscrolling="false"
  22. thumbs_scrollbuttons="false"
  23. thumbs_scrollindicator="false"
  24. thumbs_loop="false"
  25. tooltips_buttons="false"
  26. tooltips_thumbs="false"
  27. tooltips_hotspots="false"
  28. tooltips_mapspots="false"
  29. deeplinking="false"
  30. loadscene_flags="MERGE"
  31. loadscene_blend="OPENBLEND(0.5, 0.0, 0.75, 0.05, linear)"
  32. loadscene_blend_prev="SLIDEBLEND(0.5, 180, 0.75, linear)"
  33. loadscene_blend_next="SLIDEBLEND(0.5, 0, 0.75, linear)"
  34. loadingtext="加载中..."
  35. layout_width="100%"
  36. layout_maxwidth="814"
  37. controlbar_width="-24"
  38. controlbar_height="40"
  39. controlbar_offset="20"
  40. controlbar_offset_closed="-40"
  41. controlbar_overlap.no-fractionalscaling="10"
  42. controlbar_overlap.fractionalscaling="0"
  43. design_skin_images="vtourskin.png"
  44. design_bgcolor="0x9f292d"
  45. design_bgalpha="0.8"
  46. design_bgborder="0"
  47. design_bgroundedge="1"
  48. design_bgshadow="0 4 10 0x000000 0.3"
  49. design_thumbborder_bgborder="3 0xD6B970 1.0"
  50. design_thumbborder_padding="2"
  51. design_thumbborder_bgroundedge="0"
  52. design_text_css="color:#FFFFFF; font-family:Arial;"
  53. design_text_shadow="1"
  54. />
  55. <!--
  56. For an alternative skin design either change the <skin_settings> values
  57. from above or optionally include one of the predefined designs from below.
  58. -->
  59. <!-- <include url="skin/vtourskin_design_flat_light.xml" /> -->
  60. <!-- <include url="skin/vtourskin_design_glass.xml" /> -->
  61. <!-- <include url="skin/vtourskin_design_ultra_light.xml" /> -->
  62. <!-- <include url="skin/vtourskin_design_117.xml" /> -->
  63. <!-- <include url="skin/vtourskin_design_117round.xml" /> -->
  64. <!-- <include url="skin/vtourskin_design_black.xml" /> -->
  65. <plugin name="soundinterface"
  66. url="plugins/soundinterface.swf"
  67. alturl="plugins/soundinterface.js"
  68. rootpath=""
  69. preload="true"
  70. keep="true"
  71. />
  72. <!-- startup action - load the first scene -->
  73. <action name="startup" autorun="onstart">
  74. if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); );
  75. loadscene(get(startscene), null, MERGE);
  76. <!-- playsound(bggsnd, 'bgm/bgm.mp3', 10) -->
  77. if(startactions !== null, startactions() );
  78. </action>
  79. <!-- <action name="hide_vtourskin_all" autorun="onstart">
  80. delayedcall(0.45,skin_hideskin());
  81. </action> -->
  82. <autorotate enabled="false"
  83. waittime="2.0"
  84. speed="-10.0"
  85. horizon="0.0"
  86. />
  87. <events name="onautorotateevents" keep="true"/>
  88. <action name="nextscene">
  89. autorotate.stop();wait(0);
  90. set(ns, get(scene[get(xml.scene)].index));
  91. set(maxs, get(scene.count));
  92. add(ns,1);
  93. if(ns == maxs, set(ns,0));
  94. loadscene(get(scene[get(ns)].name), null, MERGE, BLEND(1.5));
  95. autorotate.start();
  96. </action>
  97. <scene name="scene_start" title="俯视全貌" onstart="" thumburl="panos/start.tiles/thumb.jpg" lat="" lng="" heading="">
  98. <view hlookat="15.0" vlookat="52.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
  99. <preview url="panos/start.tiles/preview.jpg" />
  100. <image type="CUBE" multires="true" tilesize="512">
  101. <level tiledimagewidth="2624" tiledimageheight="2624">
  102. <cube url="panos/start.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
  103. </level>
  104. <level tiledimagewidth="1280" tiledimageheight="1280">
  105. <cube url="panos/start.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
  106. </level>
  107. <level tiledimagewidth="640" tiledimageheight="640">
  108. <cube url="panos/start.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
  109. </level>
  110. </image>
  111. <hotspot name="spot1" atv="85" ath="49" style="biaoqian-1" onclick="openurl('./tour2.html?id=service', _self)"/>
  112. <hotspot name="spot2" atv="35" ath="35" style="biaoqian-2" onclick="openurl('./tour2.html?id=life-story', _self)"/>
  113. <hotspot name="spot3" atv="35" ath="65" style="biaoqian-3" onclick="openurl('./tour2.html?id=party', _self)"/>
  114. <hotspot name="spot4" atv="42" ath="0" style="biaoqian-4" onclick="openurl('./tour2.html?id=statue', _self)"/>
  115. <hotspot name="spot5" atv="27" ath="-7" style="biaoqian-5" onclick="openurl('./tour2.html?id=volunteer', _self)"/>
  116. <hotspot name="spot6" atv="24" ath="-20" style="biaoqian-6" onclick="openurl('./tour2.html?id=multi-room', _self)"/>
  117. <hotspot name="spot7" atv="42" ath="-25" style="biaoqian-7" onclick="openurl('./tour2.html?id=tower', _self)"/>
  118. <hotspot name="spot8" atv="27" ath="-31" style="biaoqian-8" onclick="openurl('./tour2.html?id=center', _self)"/>
  119. <hotspot name="spot9" atv="13" ath="-15" style="biaoqian-9" onclick="openurl('./tour2.html?id=former-residence', _self)"/>
  120. </scene>
  121. </krpano>