Preview panorama demonstration.

By enabling the preview panorama feature any panorama loaded initially will first load a low resolution panorama image.  It can be particularly useful on slow network connections or when using very large panorama filesizes.  This enhances the users experience whilst the larger full resolution panorama continues to be fully loaded.  The user may interact by rotating around the preview panorama and the fusionplayer will automatically transition to the full resolution panorama once it is fully loaded.

panorama.xml

<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="panorama.xsl"?>
<config>
<main>
	<pageTitle>Preview panorama Demo</pageTitle>
	<theme_enabled>false</theme_enabled>
	<panoPreview>true</panoPreview>	
	<numConnections>3</numConnections>										
	<preloadFronts>false</preloadFronts>									
	<retryItem>5</retryItem>														
	<qualityMotion>low</qualityMotion>								
	<loresFolder>pano/grid</loresFolder>							
	<defaultRes>low</defaultRes>													
	<panoType>cubical</panoType>																			   																						
	<cubeSize>5000</cubeSize>															
	<tiles>24</tiles>																																						
	<loaderImage>images/loader.png</loaderImage>
</main>
<panorama>
	<frameId>preview_demo</frameId>
	<previewImage>pano/previews/preview.jpg</previewImage>
	<cubic>
		<front>front.jpg</front>
		<right>right.jpg</right>
		<back>back.jpg</back>
		<left>left.jpg</left>
		<bottom>bottom.jpg</bottom>
		<top>top.jpg</top>
	</cubic>	
	<roomTitle>Demo</roomTitle>
	<startX>25</startX>
	<startY>0</startY>
	<startAuto>0.1</startAuto>
	<startDelay>10</startDelay>
	<zoomMin>1</zoomMin>
	<zoomMax>4</zoomMax>
	<zoomStart>1</zoomStart>
	<zoomSteps>0.1</zoomSteps>
	<stepsKeyboard>75</stepsKeyboard>
	<stepsMouse>60</stepsMouse>
	<friction>0.2</friction>
	<threshold>0.001</threshold>
</panorama>
</config>	

config.xml

<?xml version="1.0" encoding="ISO-8859-1" ?>
<config>
<themeDir>themes/demo</themeDir>
</config>

theme.xml

<?xml version="1.0" encoding="ISO-8859-1" ?>
<config>
<theme>
	<canvasWidth>700</canvasWidth>						
	<canvasHeight>513</canvasHeight>					
	<tourWindowWidth>700</tourWindowWidth>		
	<tourWindowHeight>513</tourWindowHeight>	
	<tourWindow_PosX>0</tourWindow_PosX>		
	<tourWindow_PosY>0</tourWindow_PosY>
	<cameraFocus>300</cameraFocus>	
	
	<loadingTxt>Loading</loadingTxt>					
	<mainLoader_PosX>200</mainLoader_PosX>
	<mainLoader_PosY>250</mainLoader_PosY>
	<loader_PosX>200</loader_PosX>
	<loader_PosY>230</loader_PosY>
</theme>
</config>