XML 65
Tour-html5.xml Guest on 2nd June 2020 12:44:13 PM
  1. <krpano version="1.0.8.14" onstart="startup();">
  2. <action name="startup">
  3. if(device.desktop, buildmap(map1), buildthumbs()); gotoscene(scene_pano);
  4. </action>
  5. <include url="global-V3/generic.xml"/>
  6. <plugin name="credit" keep="true" alpha="0" url="global-V3/credit.png" align="leftbottom" x="105" y="5"/>
  7. <!--  SCENE 1 COCKPIT  -->
  8. <scene name="scene_pano" title="pano" onstart="" thumburl="panos/pano.tiles/thumb.jpg">
  9. <view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto"/>
  10. <preview url="panos/pano.tiles/preview.jpg"/>
  11. <image>
  12. <cube url="panos/pano.tiles/pano_%s.jpg"/>
  13. <cube url="panos/pano.tiles/mobile/pano_%s.jpg" devices="mobile"/>
  14. </image>
  15. <!--
  16. Position ath et éventuellement atv (hauteur) à modifier
  17. -->
  18. <hotspot name="spot2" style="hotspot_white" ath="45" atv="0" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano2',null,MERGE,BLEND(1));" onhover="showtext('Cuisine / Galley',hotspottextstyle);"/>
  19. <hotspot name="spot3" style="hotspot_white" ath="78" atv="0" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano3',null,MERGE,BLEND(1));" onhover="showtext('Salon / Saloon',hotspottextstyle);"/>
  20. <hotspot name="spot4" style="hotspot_white" ath="98" atv="6" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano4',null,MERGE,BLEND(1));" onhover="showtext('Cabine Propriétaire / Master Cabin',hotspottextstyle);"/>
  21. <hotspot name="spot6" style="hotspot_black" ath="71" atv="7" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano6',null,MERGE,BLEND(1));" onhover="showtext('Cabine VIP / VIP Cabin',hotspottextstyle);"/>
  22. <hotspot name="spot9" style="hotspot_white" ath="0" atv="-26" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano9',null,MERGE,BLEND(1));" onhover="showtext('Flybridge',hotspottextstyle);"/>
  23. <hotspot name="spot10" style="hotspot_black" ath="-52" atv="26" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano10',null,MERGE,BLEND(1));" onhover="showtext('Cabine Skipper / Skipper’s Cabin',hotspottextstyle);"/>
  24. <hotspot name="spot11" style="hotspot_white" ath="-52" atv="78" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano11',null,MERGE,BLEND(1));" onhover="showtext('Salle des Machines / Engine room',hotspottextstyle);"/>
  25. </scene>
  26. <!--  SCENE 2 KITCHEN  -->
  27. <scene name="scene_pano2" title="pano2" onstart="" thumburl="panos/pano2.tiles/thumb.jpg">
  28. <view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto"/>
  29. <preview url="panos/pano2.tiles/preview.jpg"/>
  30. <image>
  31. <cube url="panos/pano2.tiles/pano_%s.jpg"/>
  32. <cube url="panos/pano2.tiles/mobile/pano_%s.jpg" devices="mobile"/>
  33. </image>
  34. <!--
  35. Position ath et éventuellement atv (hauteur) à modifier
  36. -->
  37. <hotspot name="spot1" style="hotspot_black" ath="-169" atv="17" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano',null,MERGE,BLEND(1));" onhover="showtext('Cockpit',hotspottextstyle);"/>
  38. <hotspot name="spot3" style="hotspot_white" ath="52" atv="0" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano3',null,MERGE,BLEND(1));" onhover="showtext('Salon / Saloon',hotspottextstyle);"/>
  39. <hotspot name="spot4" style="hotspot_black" ath="94" atv="26" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano4',null,MERGE,BLEND(1));" onhover="showtext('Cabine Propriétaire / Master Cabin',hotspottextstyle);"/>
  40. <hotspot name="spot6" style="hotspot_black" ath="35" atv="6" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano6',null,MERGE,BLEND(1));" onhover="showtext('Cabine VIP / VIP Cabin',hotspottextstyle);"/>
  41. <hotspot name="spot9" style="hotspot_white" ath="-135" atv="-26" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano9',null,MERGE,BLEND(1));" onhover="showtext('Flybridge',hotspottextstyle);"/>
  42. </scene>
  43. <!--  SCENE 3 SALOON  -->
  44. <scene name="scene_pano3" title="pano3" onstart="" thumburl="panos/pano3.tiles/thumb.jpg">
  45. <view hlookat="180" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto"/>
  46. <preview url="panos/pano3.tiles/preview.jpg"/>
  47. <image>
  48. <cube url="panos/pano3.tiles/pano_%s.jpg"/>
  49. <cube url="panos/pano3.tiles/mobile/pano_%s.jpg" devices="mobile"/>
  50. </image>
  51. <!--
  52. Position ath et éventuellement atv (hauteur) à modifier
  53. -->
  54. <hotspot name="spot1" style="hotspot_white" ath="-39" atv="7" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano',null,MERGE,BLEND(1));" onhover="showtext('Cockpit',hotspottextstyle);"/>
  55. <hotspot name="spot2" style="hotspot_black" ath="-13" atv="5" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano2',null,MERGE,BLEND(1));" onhover="showtext('Cuisine / Galley',hotspottextstyle);"/>
  56. <hotspot name="spot4" style="hotspot_white" ath="-65" atv="13" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano4',null,MERGE,BLEND(1));" onhover="showtext('Cabine Propriétaire / Master Cabin',hotspottextstyle);"/>
  57. <hotspot name="spot6" style="hotspot_black" ath="143" atv="28" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano6',null,MERGE,BLEND(1));" onhover="showtext('Cabine VIP / VIP Cabin',hotspottextstyle);"/>
  58. <hotspot name="spot7" style="hotspot_black" ath="130" atv="23" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano7',null,MERGE,BLEND(1));" onhover="showtext('3ème cabine/ 3rd Cabin',hotspottextstyle);"/>
  59. <hotspot name="spot8" style="hotspot_white" ath="156" atv="0" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano8',null,MERGE,BLEND(1));" onhover="showtext('Pont avant/ Forward Deck',hotspottextstyle);"/>
  60. <hotspot name="spot9" style="hotspot_black" ath="-22" atv="-5" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano9',null,MERGE,BLEND(1));" onhover="showtext('Flybridge',hotspottextstyle);"/>
  61. <hotspot name="spot_zoom1" style="hotspot_black" ath="-91" atv="16" zorder="1" onclick="flyin( zoom1 );" onhover="showtext('Large Scree TV',hotspottextstyle);"/>
  62. <hotspot name="zoom1" url="panos/box1.jpg" ath="-91" atv="16" distorted="true" zorder="2" scale="0.1376" rx="-1.75" ry="44.75" rz="0.7571" enabled="false" visible="false" alpha="0.0" flying="0.0" onclick="flyout(zoom1);"/>
  63. </scene>
  64. <!--  SCENE 4 MASTER CABIN   -->
  65. <scene name="scene_pano4" title="pano4" onstart="" thumburl="panos/pano4.tiles/thumb.jpg">
  66. <view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto"/>
  67. <preview url="panos/pano4.tiles/preview.jpg"/>
  68. <image>
  69. <cube url="panos/pano4.tiles/pano_%s.jpg"/>
  70. <cube url="panos/pano4.tiles/mobile/pano_%s.jpg" devices="mobile"/>
  71. </image>
  72. <!--
  73. Position ath et éventuellement atv (hauteur) à modifier
  74. -->
  75. <hotspot name="spot3" style="hotspot_black" ath="-30" atv="-15" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano3',null,MERGE,BLEND(1));" onhover="showtext('Salon / Saloon',hotspottextstyle);"/>
  76. <hotspot name="spot2" style="hotspot_black" ath="-30" atv="-5" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano2',null,MERGE,BLEND(1));" onhover="showtext('Cuisine / Galley',hotspottextstyle);"/>
  77. <hotspot name="spot5" style="hotspot_black" ath="-83" atv="0" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano5',null,MERGE,BLEND(1));" onhover="showtext('SdB Propriétaire / Master Bathroom',hotspottextstyle);"/>
  78. <hotspot name="spot_zoom2" style="hotspot_black" ath="-130" atv="19" zorder="1" onclick="flyin( zoom1 );" onhover="showtext('Large Screen TV',hotspottextstyle);"/>
  79. <hotspot name="zoom1" url="panos/box2.jpg" ath="-130" atv="19" distorted="true" zorder="2" scale="0.1376" rx="-1.75" ry="44.75" rz="0.7571" enabled="false" visible="false" alpha="0.0" flying="0.0" onclick="flyout(zoom1);"/>
  80. </scene>
  81. <!--  SCENE 5 MASTER BATHROOM   -->
  82. <scene name="scene_pano5" title="pano5" onstart="" thumburl="panos/pano5.tiles/thumb.jpg">
  83. <view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto"/>
  84. <preview url="panos/pano5.tiles/preview.jpg"/>
  85. <image>
  86. <cube url="panos/pano5.tiles/pano_%s.jpg"/>
  87. <cube url="panos/pano5.tiles/mobile/pano_%s.jpg" devices="mobile"/>
  88. </image>
  89. <!--
  90. Position ath et éventuellement atv (hauteur) à modifier
  91. -->
  92. <hotspot name="spot4" style="hotspot_black" ath="-78" atv="0" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano4',null,MERGE,BLEND(1));" onhover="showtext('Cabine Propriétaire / Master Cabin',hotspottextstyle);"/>
  93. </scene>
  94. <!--  SCENE 6 CABIN VIP  -->
  95. <scene name="scene_pano6" title="pano6" onstart="" thumburl="panos/pano6.tiles/thumb.jpg">
  96. <view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto"/>
  97. <preview url="panos/pano6.tiles/preview.jpg"/>
  98. <image>
  99. <cube url="panos/pano6.tiles/pano_%s.jpg"/>
  100. <cube url="panos/pano6.tiles/mobile/pano_%s.jpg" devices="mobile"/>
  101. </image>
  102. <!--
  103. Position ath et éventuellement atv (hauteur) à modifier
  104. -->
  105. <hotspot name="spot3" style="hotspot_black" ath="180" atv="-7" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano3',null,MERGE,BLEND(1));" onhover="showtext('Salon / Saloon',hotspottextstyle);"/>
  106. <hotspot name="spot_zoom3" style="hotspot_white" ath="-180" atv="19" zorder="1" onclick="flyin( zoom1 );" onhover="showtext('Lavelinge / Washing Machine',hotspottextstyle);"/>
  107. <hotspot name="zoom1" url="panos/box3.jpg" ath="-180" atv="19" distorted="true" zorder="2" scale="0.1376" rx="-1.75" ry="44.75" rz="0.7571" enabled="false" visible="false" alpha="0.0" flying="0.0" onclick="flyout(zoom1);"/>
  108. </scene>
  109. <!--  SCENE 7 3rd CABIN   -->
  110. <scene name="scene_pano7" title="pano7" onstart="" thumburl="panos/pano7.tiles/thumb.jpg">
  111. <view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto"/>
  112. <preview url="panos/pano7.tiles/preview.jpg"/>
  113. <image>
  114. <cube url="panos/pano7.tiles/pano_%s.jpg"/>
  115. <cube url="panos/pano7.tiles/mobile/pano_%s.jpg" devices="mobile"/>
  116. </image>
  117. <!--
  118. Position ath et éventuellement atv (hauteur) à modifier
  119. -->
  120. <hotspot name="spot3" style="hotspot_black" ath="-39" atv="-10" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano3',null,MERGE,BLEND(1));" onhover="showtext('Salon / Saloon',hotspottextstyle);"/>
  121. </scene>
  122. <!--  SCENE 8 FORWARD DECK   -->
  123. <scene name="scene_pano8" title="pano8" onstart="" thumburl="panos/pano8.tiles/thumb.jpg">
  124. <view hlookat="-45" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto"/>
  125. <preview url="panos/pano8.tiles/preview.jpg"/>
  126. <image>
  127. <cube url="panos/pano8.tiles/pano_%s.jpg"/>
  128. <cube url="panos/pano8.tiles/mobile/pano_%s.jpg" devices="mobile"/>
  129. </image>
  130. <!--
  131. Position ath et éventuellement atv (hauteur) à modifier
  132. -->
  133. <hotspot name="spot3" style="hotspot_white" ath="-7" atv="3" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano3',null,MERGE,BLEND(1));" onhover="showtext('Salon / Saloon',hotspottextstyle);"/>
  134. <hotspot name="spot9" style="hotspot_black" ath="3" atv="-13" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano9',null,MERGE,BLEND(1));" onhover="showtext('Flybridge',hotspottextstyle);"/>
  135. </scene>
  136. <!--  SCENE 9 FLYBRIDGE   -->
  137. <scene name="scene_pano9" title="pano9" onstart="" thumburl="panos/pano9.tiles/thumb.jpg">
  138. <view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto"/>
  139. <preview url="panos/pano9.tiles/preview.jpg"/>
  140. <image>
  141. <cube url="panos/pano9.tiles/pano_%s.jpg"/>
  142. <cube url="panos/pano9.tiles/mobile/pano_%s.jpg" devices="mobile"/>
  143. </image>
  144. <!--
  145. Position ath et éventuellement atv (hauteur) à modifier
  146. -->
  147. <hotspot name="spot1" style="hotspot_black" ath="-143" atv="39" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano',null,MERGE,BLEND(1));" onhover="showtext('Cockpit',hotspottextstyle);"/>
  148. <hotspot name="spot8" style="hotspot_white" ath="26" atv="10" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano8',null,MERGE,BLEND(1));" onhover="showtext('Forward Deck',hotspottextstyle);"/>
  149. </scene>
  150. <!--  SCENE 10 SKIPPERs CABIN   -->
  151. <scene name="scene_pano10" title="pano10" onstart="" thumburl="panos/pano10.tiles/thumb.jpg">
  152. <view hlookat="52" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto"/>
  153. <preview url="panos/pano10.tiles/preview.jpg"/>
  154. <image>
  155. <cube url="panos/pano10.tiles/pano_%s.jpg"/>
  156. <cube url="panos/pano10.tiles/mobile/pano_%s.jpg" devices="mobile"/>
  157. </image>
  158. <!--
  159. Position ath et éventuellement atv (hauteur) à modifier
  160. -->
  161. <hotspot name="spot1" style="hotspot_black" ath="-117" atv="0" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano',null,MERGE,BLEND(1));" onhover="showtext('Cockpit',hotspottextstyle);"/>
  162. <hotspot name="spot11" style="hotspot_black" ath="-52" atv="0" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano11',null,MERGE,BLEND(1));" onhover="showtext('Salle des Machines / Engine Room',hotspottextstyle);"/>
  163. </scene>
  164. <!--  SCENE 11 ENGINE ROOM   -->
  165. <scene name="scene_pano11" title="pano11" onstart="" thumburl="panos/pano11.tiles/thumb.jpg">
  166. <view hlookat="13" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto"/>
  167. <preview url="panos/pano11.tiles/preview.jpg"/>
  168. <image>
  169. <cube url="panos/pano11.tiles/pano_%s.jpg"/>
  170. <cube url="panos/pano11.tiles/mobile/pano_%s.jpg" devices="mobile"/>
  171. </image>
  172. <!--
  173. Position ath et éventuellement atv (hauteur) à modifier
  174. -->
  175. <hotspot name="spot1" style="hotspot_black" ath="104" atv="-43" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano',null,MERGE,BLEND(1));" onhover="showtext('Cockpit',hotspottextstyle);"/>
  176. <hotspot name="spot10" style="hotspot_black" ath="146" atv="5" zoom="false" onclick="looktohotspot(get(name)); loadscene('scene_pano10',null,MERGE,BLEND(1));" onhover="showtext('Cabine Skipper / Skipper’s Cabin',hotspottextstyle);"/>
  177. </scene>
  178. <!--  Plan interactif  -->
  179. <include url="global-V3/automap.xml"/>
  180. <map name="map1" editmode="false" edge="lefttop" align="lefttop" x="10" y="10" path="global-V3/" map="%CURRENTXML%/panos/plan.png" zorder="1" scale="0.8" alpha="0.8" radar_alpha="1" radar_visible="false" point_url="global-V3/viewpoint.png" point_crop="32" onclick="switch(map[map1].scale,0.8,0.5); tween(plugin[map1].scale,get(map[map1].scale), 0.3); switch(map[map1].alpha,1); tween(plugin[map1].alpha,get(map[map1].alpha), 0.3);" viewpoint_auto="false">
  181. <!--  Position x, y et heading à modifier  -->
  182. <viewpoint name="p1" scene="scene_pano" x="91" y="104" heading="0" scale="1" onclick="gotoscene(scene_pano);" onhover="showtext(Cockpit,maponhovertext);"/>
  183. <viewpoint name="p2" scene="scene_pano2" x="143" y="104" heading="0" scale="1" onclick="gotoscene(scene_pano2);" onhover="showtext(Cuisine / Galley,maponhovertext);"/>
  184. <viewpoint name="p3" scene="scene_pano3" x="208" y="104" heading="0" scale="1" onclick="gotoscene(scene_pano3);" onhover="showtext(Salon / Saloon,maponhovertext);"/>
  185. <viewpoint name="p4" scene="scene_pano4" x="169" y="130" heading="0" scale="1" onclick="gotoscene(scene_pano4);" onhover="showtext(Cabine Propriétaire / Master Cabin,maponhovertext);"/>
  186. <viewpoint name="p5" scene="scene_pano5" x="221" y="130" heading="0" scale="1" onclick="gotoscene(scene_pano5);" onhover="showtext(SdB Propriétaire / Master Bathroom,maponhovertext);"/>
  187. <viewpoint name="p6" scene="scene_pano6" x="300" y="130" heading="0" scale="1" onclick="gotoscene(scene_pano6);" onhover="showtext(Cabine VIP / VIP Cabin,maponhovertext);"/>
  188. <viewpoint name="p7" scene="scene_pano7" x="265" y="130" heading="0" scale="1" onclick="gotoscene(scene_pano7);" onhover="showtext(3ème cabine/ 3rd Cabin,maponhovertext);"/>
  189. <viewpoint name="p8" scene="scene_pano8" x="339" y="91" heading="0" scale="1" onclick="gotoscene(scene_pano8);" onhover="showtext(Pont avant/ Forward Deck,maponhovertext);"/>
  190. <viewpoint name="p9" scene="scene_pano9" x="208" y="52" heading="0" scale="1" onclick="gotoscene(scene_pano9);" onhover="showtext(Flybridge,maponhovertext);"/>
  191. <viewpoint name="p10" scene="scene_pano10" x="65" y="139" heading="0" scale="1" onclick="gotoscene(scene_pano10);" onhover="showtext(Cabine Skipper / Skipper’s Cabin,maponhovertext);"/>
  192. <viewpoint name="p11" scene="scene_pano11" x="91" y="156" heading="0" scale="1" onclick="gotoscene(scene_pano11);" onhover="showtext(Salle des Machines / Engine room,maponhovertext);"/>
  193. </map>
  194. </krpano>

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.