<krpano version="1.0.6" basedir="%CURRENTXML%">

	<include url="../../global.xml" />

	<network downloadqueues="2" decodequeues="1" />

	<view hlookat="162.20" vlookat="21.57" fov="90" fovmin="6" fovmax="179" fisheye="0.35" fisheyefovlink="0.5" />

	<preview url="caroutpreview.jpg" details="12" />
	
	<progress showload="" showwait="loopings()" />

	<image type="SPHERE" multires="yes" tilesize="1024" baseindex="1">
		<level tiledimagewidth= "2048" tiledimageheight= "1024" details="16">  <sphere url="tiles/r19outdoor1k_tile[%00V][%00U].jpg" />  </level>
		<level tiledimagewidth= "4096" tiledimageheight= "2048" details="16">  <sphere url="tiles/r19outdoor2k_tile[%00V][%00U].jpg" />  </level>
		<level tiledimagewidth= "8192" tiledimageheight= "4096" details="20">  <sphere url="tiles/r19outdoor4k_tile[%00V][%00U].jpg" />  </level>
		<level tiledimagewidth="20480" tiledimageheight="10240" details="32">  <sphere url="tiles/10k/r19outdoor10k_tile[%00V][%00U].jpg" />  </level>
	</image>
	
	<action name="load_carin_pano">
		<!-- move/zoom into current pano -->
		lookto(155.15, 23.34, 14.50);
		
		<!-- wait until the tiles of the current pano are loaded -->
		wait(load);
		
		<!-- load the carin.xml pano, keep current setting, don't load preview image, blend over in 2 seconds -->
		loadpano(../carin/carin.xml, null, KEEPBASE|NOPREVIEW, BLEND(2));
		
		<!-- set start viewing position of the next pano -->
		lookat(334.64, 13.49, 32);
		
		<!-- lock the lowest resolution level, to preload it for later zooming transition -->
		set(lockmultireslevel,0);
		
		<!-- wait for loading this levels -->
		wait(load);
		
		<!-- load is done, restore automatic resolution level selection -->
		set(lockmultireslevel,-1);
		
		<!-- wait for loading the tiles for the current resolution, than wait for blending it -->
		wait(blend);
		
		<!-- just wait again 0.5 second -->
		wait(0.5);
		
		<!-- lock the lowest resolution for following moving/zooming to avoid reloads during movement -->
		set(lockmultireslevel,0);
		
		<!-- move/zoom to the new viewing position -->
		lookto(5.4, 8.9, 130, smooth(100,20,50));
		
		<!-- restore automatic resolution level selection -->
		set(lockmultireslevel,-1);
	</action>	

	<hotspot name="carin" visible="true"
			fillcolor     ="0x000000" fillalpha     ="0.00" borderwidth     ="0.0" bordercolor     ="0x000000" borderalpha     ="0.00"
			fillcolorhover="0xFFFFFF" fillalphahover="0.10" borderwidthhover="4.0" bordercolorhover="0xFFFFFF" borderalphahover="0.80"
			fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
			onHover="showtext(get into the car);"
			onClick="action(load_carin_pano);"
			> 
	   
		<point ath="160.913216" atv=" 35.393293" />
		<point ath="151.653042" atv=" 32.068530" />
		<point ath="145.281041" atv=" 29.237914" />
		<point ath="139.126567" atv=" 26.170601" />
		<point ath="136.815483" atv=" 24.714450" />
		<point ath="137.934561" atv=" 22.050693" />
		<point ath="138.956726" atv=" 19.802073" />
		<point ath="142.885004" atv=" 17.091375" />
		<point ath="147.050275" atv=" 14.306573" />
		<point ath="150.724930" atv=" 12.023706" />
		<point ath="153.127577" atv=" 10.810417" />
		<point ath="154.696364" atv=" 10.220886" />
		<point ath="156.798550" atv=" 10.071364" />
		<point ath="162.125544" atv="  9.995230" />
		<point ath="166.329669" atv=" 10.099753" />
		<point ath="169.734794" atv=" 10.135359" />
		<point ath="173.946764" atv=" 10.121521" />
		<point ath="171.737540" atv=" 14.260312" />
		<point ath="169.217983" atv=" 19.324643" />
		<point ath="166.424975" atv=" 25.024742" />
		<point ath="164.198295" atv=" 29.290410" />
		<point ath="162.459412" atv=" 32.477676" />
		<point ath="162.459412" atv=" 32.477676" />
	</hotspot>
	
</krpano>


