You are not logged in.

1

Tuesday, March 31st 2020, 4:15pm

Wait till multi res tiles are loaded

Hello,

I've created a multires tour in which the 1st pano auto-rotates to a specific view and then blends to the next pano.
The issue am facing is that once the auto-rotation is done and the designated view is in place, the blend to next pano happens right away while the multi res tiles are still loading.
This makes the experience look bad as the final view is having some details which I wan't the user to see before moving to the next pano.
I tried to find a way through which I can instruct the tour to load the next pano only when current set of multi res tiles are loaded but not able to do it.
As a temporary work around, I added a wait time of 4 second but the final experience differs due to the varying connection speed.

So in a nutshell, can anyone guide me how to create some sort of logic that I can put before loading the next pano so that the pano only loads once the current set of tiles are done loading?

Thanks

2

Tuesday, March 31st 2020, 5:19pm

Hi,

use the PRELOAD flag:
https://krpano.com/docu/actions/#loadpano.flags

Maybe also just try the vtourskin.xml build-in 'autotour' feature - it autorotates the panos and after one round rotation it preloads the next pano and then blends to it.

To enable it:

Source code

1
<skin_settings  ... autotour="true" ... />


Best regards,
Klaus