<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.19"
        onstart="startup"
        logkey="false"
        bgcolor="#ffffff"
        projectfloorplanurl="%FIRSTXML%/floorplan/a1.jpg"
        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.12 64bits : 16-07-2018 14-23-20 -->
  <!-- Project file : D:/Projects/glomac/angles/draft_angles/WIP/draft/new/final_revised/360/glomac360a.kpt -->
  <!-- Plugins and Spot Styles -->
  <include url="%FIRSTXML%/glomac360a1_skin_vr.xml"/>
  <!-- Core actions -->
  <include url="%FIRSTXML%/glomac360a1_core_vr.xml"/>
  <!-- Tour Messages -->
  <include url="%FIRSTXML%/glomac360a1_messages_en.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, 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);
    );
    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>

  <!-- 2 Groups -->

  <!-- Group Group 11 : 1 panoramas -->
  

<!-- **** @PanoName="living room" @PanoFile="D:/Projects/glomac/angles/draft_angles/WIP/draft/new/final_revised/360/interior360_livingB1.RGB_color.0000.jpg" **** -->
<!-- **** Width="10000px" Height="5000px" **** -->
<scene name="pano10"
       heading="0"
       thumburl="%FIRSTXML%/herb_garden_10/thumbnail.jpg"

       backgroundsound="_251_full_leap-year_0140.mp3"
       backgroundsoundloops="0"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano10_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">

    <autorotate horizon="0.000000" tofov="80.000000" waittime="1" speed="5"/>


    <panoview h="0.000000" v="0.000000" fov="80.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />

    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom=""
          fovmin="1"
          fovtype="VFOV"
          fovmax="90"
          fov="80.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>

    <preview url="%FIRSTXML%/herb_garden_10/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />

    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="3584" tiledimageheight="3584">
          <front url="herb_garden_10/0/2/%v_%u.jpg"/>
          <right url="herb_garden_10/1/2/%v_%u.jpg"/>
          <back  url="herb_garden_10/2/2/%v_%u.jpg"/>
          <left  url="herb_garden_10/3/2/%v_%u.jpg"/>
          <up    url="herb_garden_10/4/2/%v_%u.jpg"/>
          <down  url="herb_garden_10/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="2048" tiledimageheight="2048">
          <front url="herb_garden_10/0/1/%v_%u.jpg"/>
          <right url="herb_garden_10/1/1/%v_%u.jpg"/>
          <back  url="herb_garden_10/2/1/%v_%u.jpg"/>
          <left  url="herb_garden_10/3/1/%v_%u.jpg"/>
          <up    url="herb_garden_10/4/1/%v_%u.jpg"/>
          <down  url="herb_garden_10/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="herb_garden_10/0/0/%v_%u.jpg"/>
          <right url="herb_garden_10/1/0/%v_%u.jpg"/>
          <back  url="herb_garden_10/2/0/%v_%u.jpg"/>
          <left  url="herb_garden_10/3/0/%v_%u.jpg"/>
          <up    url="herb_garden_10/4/0/%v_%u.jpg"/>
          <down  url="herb_garden_10/5/0/%v_%u.jpg"/>
      </level>
    </image>
      <image type="CUBE" devices="androidstock.and.no-webgl">
        <front url="herb_garden_10/mobile/0.jpg"/>
        <right url="herb_garden_10/mobile/1.jpg"/>
        <back  url="herb_garden_10/mobile/2.jpg"/>
        <left  url="herb_garden_10/mobile/3.jpg"/>
        <up    url="herb_garden_10/mobile/4.jpg"/>
        <down  url="herb_garden_10/mobile/5.jpg"/>
      </image>






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





  <hotspot name="spotpoint130"
           ath="-35.786350" atv="3.214286"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano12"
           onclick="onclickspotpoint130"
           tooltip="spotpoint130_tooltip"
           />
  <hotspot name="spotpoint130" devices="flash" zorder="3"/>
  <hotspot name="spotpoint130" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint130">
  
        mainloadscene(pano12);


  </action>



  <action name="hidepanopointspots">



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



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


  <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>


  <!-- Group poolview : 1 panoramas -->
  

<!-- **** @PanoName="masterbed" @PanoFile="D:/Projects/glomac/angles/draft_angles/WIP/draft/new/final_revised/360/interior360_bedroom.RGB_color.0000.jpg" **** -->
<!-- **** Width="10000px" Height="5000px" **** -->
<scene name="pano12"
       heading="0"
       thumburl="%FIRSTXML%/poolview_12/thumbnail.jpg"

       backgroundsound="_251_full_leap-year_0140.mp3"
       backgroundsoundloops="0"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano12_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">

    <autorotate horizon="0.000000" tofov="80.000000" waittime="1" speed="5"/>


    <panoview h="0.000000" v="0.000000" fov="80.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />

    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom=""
          fovmin="2.25"
          fovtype="VFOV"
          fovmax="90"
          fov="80.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>

    <preview url="%FIRSTXML%/poolview_12/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />

    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="3584" tiledimageheight="3584">
          <front url="poolview_12/0/2/%v_%u.jpg"/>
          <right url="poolview_12/1/2/%v_%u.jpg"/>
          <back  url="poolview_12/2/2/%v_%u.jpg"/>
          <left  url="poolview_12/3/2/%v_%u.jpg"/>
          <up    url="poolview_12/4/2/%v_%u.jpg"/>
          <down  url="poolview_12/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="2048" tiledimageheight="2048">
          <front url="poolview_12/0/1/%v_%u.jpg"/>
          <right url="poolview_12/1/1/%v_%u.jpg"/>
          <back  url="poolview_12/2/1/%v_%u.jpg"/>
          <left  url="poolview_12/3/1/%v_%u.jpg"/>
          <up    url="poolview_12/4/1/%v_%u.jpg"/>
          <down  url="poolview_12/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="poolview_12/0/0/%v_%u.jpg"/>
          <right url="poolview_12/1/0/%v_%u.jpg"/>
          <back  url="poolview_12/2/0/%v_%u.jpg"/>
          <left  url="poolview_12/3/0/%v_%u.jpg"/>
          <up    url="poolview_12/4/0/%v_%u.jpg"/>
          <down  url="poolview_12/5/0/%v_%u.jpg"/>
      </level>
    </image>
      <image type="CUBE" devices="androidstock.and.no-webgl">
        <front url="poolview_12/mobile/0.jpg"/>
        <right url="poolview_12/mobile/1.jpg"/>
        <back  url="poolview_12/mobile/2.jpg"/>
        <left  url="poolview_12/mobile/3.jpg"/>
        <up    url="poolview_12/mobile/4.jpg"/>
        <down  url="poolview_12/mobile/5.jpg"/>
      </image>






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





  <hotspot name="spotpoint133"
           ath="-159.946956" atv="5.744702"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano10"
           onclick="onclickspotpoint133"
           tooltip="spotpoint133_tooltip"
           />
  <hotspot name="spotpoint133" devices="flash" zorder="3"/>
  <hotspot name="spotpoint133" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint133">
  
        mainloadscene(pano10);


  </action>



  <action name="hidepanopointspots">



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



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


  <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>

