Regarding the loading speed of tours with a very large number of scenes

  • I am currently creating a very large-scale project with approximately 1,400 scenes using krpano Ver. 1.21.2.
    However, upon testing the partially completed project on a test site, I discovered that the initial loading takes more than 10 seconds.
    While the project functions normally once the loading is complete, having such a long initial loading time is problematic.

    It appears that the system is designed to load a large number of files at once during the initial loading.
    If there is a way to limit the scope of the initial loading and progressively load additional data in the background, I would greatly appreciate your guidance on possible solutions.

  • I would split such a large project into separate XML files for each panorama. Later, using loadxml(), I would load each panorama separately as needed. This would allow me to load only the XML files needed to display the scene, rather than all 1400 at once.

    I used to do this back when there were no SCENE objects in krpano....
    For now, you can encrypt the tour.xml file, which will significantly reduce its size.

    Piotr

  • Dear Piotr,

    I hope this message finds you well.

    I am planning to look into some documentation regarding how to split the tour.xml file using the loadxml() function. If you are aware of any specific methods or relevant documents on this topic, I would greatly appreciate it if you could share them with me.

    Additionally, I am considering testing how much the file size can be reduced by encryption.

    Thank you very much for your valuable advice. I look forward to your continued guidance.

    Best regards,

  • Hi
    You can use multires.config in Krpano Tools. You will then see what the panorama XML file should look like, without using the ‘scene’ tag. Global files, such as vtourskin.xml, are applied to the entire project and the panorama XML files should only contain IMAGE and hotspots.

    regards Piotr

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!