<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.20.9"
        onstart="startup"
        logkey="false"
        debugmode="false"
        debugkeys="true"
        debugjsactions="false"
        debugjsplugins="false"
        bgcolor="#ffffff"
        projectfloorplanurl=""
        projecttitleid="project_title"
        projectdescriptionid="">


  <security cors="">
    <!--
    <crossdomainxml url="http://RESSOURCES_URL/crossdomain.xml" />
    -->
    <allowdomain domain="*" />
  </security>

  <krpano tour_firststartactiondone="false" />
  <events name="startbehavioursevents" onxmlcomplete="startbehavioursxmlcompleteaction();" keep="true"/>

  <!-- generated by Panotour Pro V2.5.14 64bits : 28-10-2021 16-55-58 -->
  <!-- Plugins and Spot Styles -->
  <include url="%FIRSTXML%/test-gedimat_skin.xml"/>
  <!-- Core actions -->
  <include url="%FIRSTXML%/test-gedimat_core.xml"/>
  <!-- Tour Messages -->
  <include url="%FIRSTXML%/test-gedimat_messages_fr.xml"/>

  <action name="startup">

    if (s !== null, if (startscene === null OR startscene === "undefined", set(startscene, get(s));); );
    if (startscene === null OR startscene === "undefined",
      set(startscene, pano10);
    );
    if(startlanguage !== null AND startlanguage !== "undefined",
      set(tour_language, get(startlanguage));
    );
    if(starttime !== null AND starttime !== "undefined" AND starttime GT 0,
      set(videoscenestarttime, get(starttime));
    ,
      set(videoscenestarttime, 0);
    );
    mainloadsceneStartup(get(startscene));
    if (h !== null,
      if (v !== null,
        if (f !== null,
          lookat(get(h), get(v), get(f));
         ,
          lookat(get(h), get(v));
        );
      ,
        if (f !== null,
          lookat(get(h), get(view.vlookat), get(f));
         ,
          lookat(get(h), get(view.vlookat));
        );
      );
    ,
      if (v !== null,
        if (f !== null,
          lookat(get(view.hlookat), get(v), get(f));
         ,
          lookat(get(view.hlookat), get(v));
        );
      ,
        if (f !== null,
          lookat(get(view.hlookat), get(view.vlookat), get(f));
        );
      );
    );
  </action>

  <!-- 1 Groups -->

  <!-- Group Groupe 13 : 1 panoramas -->
  
<!-- **** @PanoName="Tout" @PanoFile="C:/Users/Xavier/Desktop/Plan salle - Copie - Copie.jpg" **** -->
<!-- **** Width="1920px" Height="1080px" **** -->
<scene name="pano10"
       heading="0"
       thumburl="%FIRSTXML%/tout_10/thumbnail.jpg"
       backgroundsound=""
       backgroundsoundloops="true"
       haspolygons="true"
       titleid="pano10_title"
       descriptionid=""
       multires="true"
       planar="true"
       full360="false"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="1.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="1.000000" hmin="-0.5" hmax="0.5" vmin="-0.28125" vmax="0.28125" fovmax="1.0" />
    <view fisheye="0"
          limitview="fullrange"
          maxpixelzoom=""
          fovmin="0.1875"
          fovmax="1.0"
          fovtype="HFOV"
          fov="1.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/tout_10/preview.jpg" type="CYLINDER" />
    <image type="CYLINDER" hfov="1" vfov="0.5625" voffset="0" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="1920" tiledimageheight="1080">
        <cylinder url="tout_10/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="960" tiledimageheight="540">
        <cylinder url="tout_10/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CYLINDER" hfov="1" vfov="0.5625" voffset="0" devices="androidstock.and.no-webgl">
      <cylinder url="tout_10/preview.jpg"/>
    </image>
  <!-- **** 2 Polygonal Spots **** -->

  <hotspot name="spotpolygon17"
           tag="polygon"
           style="PolygonDefaultPolygonSpotStyle"
           descriptionid=""
           linktarget="pano10"
           onclick="onclickspotpolygon17"
           >
    <point ath="-0.135099" atv="0.077186" />
    <point ath="-0.037748" atv="0.064598" />
    <point ath="-0.039073" atv="0.193794" />
    <point ath="-0.145695" atv="0.193132" />
  </hotspot>
  <hotspot name="spotpolygon17" zorder="1"/>

  <action name="onclickspotpolygon17">
  lookat(-0.097321, 0.129149, 0.148124);


  </action>


  <hotspot name="spotpolygon18"
           tag="polygon"
           style="PolygonDefaultPolygonSpotStyle"
           descriptionid=""
           linktarget="pano10"
           onclick="onclickspotpolygon18"
           >
    <point ath="0.103974" atv="-0.227584" />
    <point ath="0.222517" atv="-0.226921" />
    <point ath="0.227815" atv="-0.129527" />
    <point ath="0.148344" atv="-0.130190" />
    <point ath="0.131788" atv="-0.163980" />
    <point ath="0.105298" atv="-0.164642" />
  </hotspot>
  <hotspot name="spotpolygon18" zorder="1"/>

  <action name="onclickspotpolygon18">
  hideTooltip();looktohotspot(get(name),get(view.fovmin),smooth(400,20,100));lookat(0.164514, -0.173041, 0.134658);


  </action>


  <action name="hidepanopolygonalspots">
    set(hotspot[spotpolygon17].visible, false);
    set(hotspot[spotpolygon18].visible, false);
  </action>
  <action name="showpanopolygonalspots">
    set(hotspot[spotpolygon17].visible, true);
    set(hotspot[spotpolygon18].visible, true);
  </action>
  <action name="removepanopolygonalspots">
    removehotspot(spotpolygon17);
    removehotspot(spotpolygon18);
  </action>





  <!-- **** 2 Point Spots **** -->



  <hotspot name="spotpoint19"
           ath="-0.086806" atv="0.145833"
           style="IconDefaultPointSpotStyle"
           tag="point"
           descriptionid=""
           onclick="onclickspotpoint19"
           />
  <hotspot name="spotpoint19" devices="flash" zorder="3"/>
  <hotspot name="spotpoint19" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint19">
  open_infobox_popup('spotpoint19easyhtmllightbox|easyhtmllightbox|open_infobox_popuptitle','%FIRSTXML%/spots/dsc_7164.jpg;','spotpoint19easyhtmllightbox|easyhtmllightbox|open_infobox_popuptext','300px','400px','ltr','','','','','','');

  </action>





  <hotspot name="spotpoint21"
           ath="0.177083" atv="-0.173611"
           style="IconDefaultPointSpotStyle"
           tag="point"
           descriptionid=""
           onclick="onclickspotpoint21"
           />
  <hotspot name="spotpoint21" devices="flash" zorder="3"/>
  <hotspot name="spotpoint21" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint21">
  open_infobox_popup('spotpoint21easyhtmllightbox|easyhtmllightbox|open_infobox_popuptitle','%FIRSTXML%/spots/dsc_6959.jpg;','spotpoint21easyhtmllightbox|easyhtmllightbox|open_infobox_popuptext','300px','400px','ltr','','','','','','');

  </action>



  <action name="hidepanopointspots">

    set(hotspot[spotpoint19].visible, false);

    set(hotspot[spotpoint21].visible, false);
  </action>
  <action name="showpanopointspots">

  
  set(hotspot[spotpoint19].visible, true);

  
  set(hotspot[spotpoint21].visible, true);
  </action>
  <events name="pano10stopanimatedspots" onremovepano="" />

  <action name="showpanospotsaction">
    if (tour_displayspots,
    showpanopointspots();
    showpanopolygonalspots();
    );
  </action>
  <action name="hidepanospotsaction">
    hidepanopointspots();
    hidepanopolygonalspots();
  </action>



</scene>

  <krpano nofullspherepanoavailable="true" />


  <!-- Awake HTML5 plugins -->
  <events name="eventKrpanoLoadedEvts" onxmlcomplete="eventKrpanoLoadedAction();" keep="true" />
  <action name="eventKrpanoLoadedAction">
    
    set(events[eventKrpanoLoadedEvts].name, null);
    js(eventKrpanoLoaded());
  </action>

</krpano>

