<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.19-pr16"
        onstart="startup"
        logkey="false"
        bgcolor="#d4ad1f"
        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 : 25-08-2019 10-31-33 -->
  <!-- Project file : C:/travail/visite/projet complet/chateau.kpt -->
  <!-- Plugins and Spot Styles -->
  <include url="%FIRSTXML%/chateau_skin_vr.xml"/>
  <!-- Core actions -->
  <include url="%FIRSTXML%/chateau_core_vr.xml"/>
  <!-- Tour Messages -->
  <include url="%FIRSTXML%/chateau_messages_fr.xml"/>

  <action name="startup">
    preloadSounds();

    if (s !== null, if (startscene === null OR startscene === "undefined", set(startscene, get(s));); );
    if (startscene === null OR startscene === "undefined",
      set(startscene, pano43);
    );
    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);
    );
    if(scene[get(startscene)].full360,
    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 -->

  <panoramagroup name="panogroup44"
                 mainscene="pano43"
                 color="8c8c8c"
                 alpha="1"
                 thumburl="%FIRSTXML%/chateau_43/thumbnail.jpg"
                 floorplanurl=""
                 seen="false"
                 titleid="panogroup44_title"
                 descriptionid=""/>

  <!-- Group Groupe 44 : 2 panoramas -->
  
<!-- **** @PanoName="chateau" @PanoFile="I:/cantal/pano/chateau.psb" **** -->
<!-- **** Width="36882px" Height="18441px" **** -->
<scene name="pano43"
       heading="0"
       group="panogroup44"
       thumburl="%FIRSTXML%/chateau_43/thumbnail.jpg"

       backgroundsound="chopin_-_nocturne_op.9 no.2.mp3"
       backgroundsoundloops="0"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano43_title"
       descriptionid="pano43_description"
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="112.5" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom=""
          fovmin="22.5"
          fovtype="VFOV"
          fovmax="112.5"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/chateau_43/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="11776" tiledimageheight="11776">
          <front url="chateau_43/0/4/%v/%u.jpg"/>
          <right url="chateau_43/1/4/%v/%u.jpg"/>
          <back  url="chateau_43/2/4/%v/%u.jpg"/>
          <left  url="chateau_43/3/4/%v/%u.jpg"/>
          <up    url="chateau_43/4/4/%v/%u.jpg"/>
          <down  url="chateau_43/5/4/%v/%u.jpg"/>
      </level>
      <level tiledimagewidth="6144" tiledimageheight="6144">
          <front url="chateau_43/0/3/%v_%u.jpg"/>
          <right url="chateau_43/1/3/%v_%u.jpg"/>
          <back  url="chateau_43/2/3/%v_%u.jpg"/>
          <left  url="chateau_43/3/3/%v_%u.jpg"/>
          <up    url="chateau_43/4/3/%v_%u.jpg"/>
          <down  url="chateau_43/5/3/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="3072" tiledimageheight="3072">
          <front url="chateau_43/0/2/%v_%u.jpg"/>
          <right url="chateau_43/1/2/%v_%u.jpg"/>
          <back  url="chateau_43/2/2/%v_%u.jpg"/>
          <left  url="chateau_43/3/2/%v_%u.jpg"/>
          <up    url="chateau_43/4/2/%v_%u.jpg"/>
          <down  url="chateau_43/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="chateau_43/0/1/%v_%u.jpg"/>
          <right url="chateau_43/1/1/%v_%u.jpg"/>
          <back  url="chateau_43/2/1/%v_%u.jpg"/>
          <left  url="chateau_43/3/1/%v_%u.jpg"/>
          <up    url="chateau_43/4/1/%v_%u.jpg"/>
          <down  url="chateau_43/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="chateau_43/0/0/%v_%u.jpg"/>
          <right url="chateau_43/1/0/%v_%u.jpg"/>
          <back  url="chateau_43/2/0/%v_%u.jpg"/>
          <left  url="chateau_43/3/0/%v_%u.jpg"/>
          <up    url="chateau_43/4/0/%v_%u.jpg"/>
          <down  url="chateau_43/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="chateau_43/mobile/0.jpg"/>
      <right url="chateau_43/mobile/1.jpg"/>
      <back  url="chateau_43/mobile/2.jpg"/>
      <left  url="chateau_43/mobile/3.jpg"/>
      <up    url="chateau_43/mobile/4.jpg"/>
      <down  url="chateau_43/mobile/5.jpg"/>
    </image>




  <!-- **** 4 Point Spots **** -->








  <hotspot name="spotpoint98"
           ath="-18.072360" atv="-2.654099"
           style="Iconvuesuivante1"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano47"
           onclick="onclickspotpoint98"
           tooltip="spotpoint98_tooltip"
           />
  <hotspot name="spotpoint98" devices="flash" zorder="3"/>
  <hotspot name="spotpoint98" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint98">
  onout();
        mainloadscene(pano47);


  </action>









  <action name="hidepanopointspots">






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






  </action>
  <action name="showpanopointspots">






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






  </action>
  <events name="pano43stopanimatedspots" onremovepano="stopspotanimation(spotpoint93);stopspotanimation(spotpoint98);stopspotanimation(spotpoint105);stopspotanimation(spotpoint113);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

<!-- **** @PanoName="chateau 2" @PanoFile="I:/cantal/pano/chateau 2.psb" **** -->
<!-- **** Width="36960px" Height="18480px" **** -->
<scene name="pano47"
       heading="0"
       group="panogroup44"
       thumburl="%FIRSTXML%/chateau_2_47/thumbnail.jpg"

       backgroundsound="chopin_-_nocturne_op.9 no.2.mp3"
       backgroundsoundloops="0"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano47_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="112.5" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom=""
          fovmin="22.5"
          fovtype="VFOV"
          fovmax="112.5"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/chateau_2_47/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="11776" tiledimageheight="11776">
          <front url="chateau_2_47/0/4/%v/%u.jpg"/>
          <right url="chateau_2_47/1/4/%v/%u.jpg"/>
          <back  url="chateau_2_47/2/4/%v/%u.jpg"/>
          <left  url="chateau_2_47/3/4/%v/%u.jpg"/>
          <up    url="chateau_2_47/4/4/%v/%u.jpg"/>
          <down  url="chateau_2_47/5/4/%v/%u.jpg"/>
      </level>
      <level tiledimagewidth="6144" tiledimageheight="6144">
          <front url="chateau_2_47/0/3/%v_%u.jpg"/>
          <right url="chateau_2_47/1/3/%v_%u.jpg"/>
          <back  url="chateau_2_47/2/3/%v_%u.jpg"/>
          <left  url="chateau_2_47/3/3/%v_%u.jpg"/>
          <up    url="chateau_2_47/4/3/%v_%u.jpg"/>
          <down  url="chateau_2_47/5/3/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="3072" tiledimageheight="3072">
          <front url="chateau_2_47/0/2/%v_%u.jpg"/>
          <right url="chateau_2_47/1/2/%v_%u.jpg"/>
          <back  url="chateau_2_47/2/2/%v_%u.jpg"/>
          <left  url="chateau_2_47/3/2/%v_%u.jpg"/>
          <up    url="chateau_2_47/4/2/%v_%u.jpg"/>
          <down  url="chateau_2_47/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="chateau_2_47/0/1/%v_%u.jpg"/>
          <right url="chateau_2_47/1/1/%v_%u.jpg"/>
          <back  url="chateau_2_47/2/1/%v_%u.jpg"/>
          <left  url="chateau_2_47/3/1/%v_%u.jpg"/>
          <up    url="chateau_2_47/4/1/%v_%u.jpg"/>
          <down  url="chateau_2_47/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="chateau_2_47/0/0/%v_%u.jpg"/>
          <right url="chateau_2_47/1/0/%v_%u.jpg"/>
          <back  url="chateau_2_47/2/0/%v_%u.jpg"/>
          <left  url="chateau_2_47/3/0/%v_%u.jpg"/>
          <up    url="chateau_2_47/4/0/%v_%u.jpg"/>
          <down  url="chateau_2_47/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="chateau_2_47/mobile/0.jpg"/>
      <right url="chateau_2_47/mobile/1.jpg"/>
      <back  url="chateau_2_47/mobile/2.jpg"/>
      <left  url="chateau_2_47/mobile/3.jpg"/>
      <up    url="chateau_2_47/mobile/4.jpg"/>
      <down  url="chateau_2_47/mobile/5.jpg"/>
    </image>




  <!-- **** 1 Point Spots **** -->





  <hotspot name="spotpoint91"
           ath="50.843525" atv="0.241377"
           style="Iconvuesuivante1"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano43"
           onclick="onclickspotpoint91"
           tooltip="spotpoint91_tooltip"
           />
  <hotspot name="spotpoint91" devices="flash" zorder="3"/>
  <hotspot name="spotpoint91" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint91">
  onout();
        mainloadscene(pano43);


  </action>



  <action name="hidepanopointspots">



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



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


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

  <krpano nofullspherepanoavailable="false" />


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

</krpano>

