Hi,
so can anybody suggest how to speed up the visual load or have something to show loading on the black screen
the loading order is as follow:
- krpano.swf
- the xml
- the preview image / parallel to that it starts loading the plugins/hotspots
- after the preview image the pano image/tiles will starting
but when you get an black screen, then the loading of the html, swf and xml and the preview image already takes too long...
the following things could speed up the loading:
- optimize the filesizes (compression) of the images (as small as possible)
- optimize the tilesizes
- maybe try using cubes (will give faster and better rendering too)
- disable autorotation while loading:
|
Quellcode
|
1
2
|
<autorotatate enabled="false" ... />
<events onloadcomplte="set(autorotate.enabled,true);"/>
|
- use more parallel downloads, e.g.:
|
Quellcode
|
1
|
<network downloadqueues="6" decodequeues="2" />
|
I wish we could prioritize loadin ourselves somewhy besides preload=true it would be nice to assign values to plugins and hotspots that would allow them to be loaded in the order we chose. the important ones could load first and the others later.
partially that can be already done:
- in the kprotect tool by sorting the files
- or by dynamically adding plugins/hotspots (via. addplugin(), addhotspot() and maybe using delayedcall())
- let the url="" empty and set it 'later' (via some events or delayed calls) to start the loading
best regards,
Klaus