Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
@Eric Chen,
I'm not sure if i would use such but i'm interested how this works and looks in code. I would also like to see what is the difference and what the limits are, data load wise etc
Would you be so kind to share it open source? Maybe some more people want to see the code to learn and we can collect some money together to get you some?
Tuur
![]()
@Tuur@Eric Chen,
I'm not sure if i would use such but i'm interested how this works and looks in code. I would also like to see what is the difference and what the limits are, data load wise etc
Would you be so kind to share it open source? Maybe some more people want to see the code to learn and we can collect some money together to get you some?
Tuur
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
Hey guys, here is the source code of the preload plugin. I haven't prepared the documentation, but there are necessary comments in the preload.xml.![]()
https://github.com/Eric-Chen1990/KR-preload-plugin
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
For too many scenes, or very large resolution panos, limiting the maximum preload level is a wise choice. We don't need to preload all the levels. Preloading the preview and level 1 are generally sufficient.tx eric, very nice of you to share it !
for tours without too many scenes it makes a lot of sense to use this.
the idea was, after the load, to load the "normal res pano" (might be a normal or a multires) after the "loadscnee" to the "very low res" would never appear
thank you all
You should be able to see the “preloading_page” layer in preload.xml. You can hide this layer.either way I'm a sw developer (in other area) and i value testing
I added it to the tour i'm working on and it loads the whole tour on the beginning and not "behind the scenes".
Didnt find the place where you added it to work.. may be an event that i could not find
by testing the functionality i tried to add more levels but i don't think its working for multilevel since the placeholders are not solved
regular panos preload ok
the url in the browser console looks like ->
2022_10_11_14_19_23_DSC02508_HDR_Panorama.tiles/l2_b_%0v_%0h.jpg
![]() |
Source code |
1 |
panos/a3.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg |