VTOUR: how to pre-download the cube faces of scene_2 just after scene_1 is loaded

  • Hi,

    Consider a VTOUR with two scenes (so two pano images to load) and where the first scene to be loaded is scene_1. I've noticed that the 6 cube faces of scene_2 are downloaded from the server when the user click to view scene_2.

    Instead, I need to pre-download the 6 cube faces just after the 6 cube faces have been downloaded (at least for my application, I know in advance that the user will have to load scene_2, so it's much better to pre-download the 6 cube faces of scene_2 while he/she is spending time on scene_1, rather than let him/her wait later).

    How can I do that?

    Thanks

  • There is already a post very well related to my question : How to preload panorama source images?
    where it was suggested to use this code:


    This actually seems to work but this solution was written on January 11th 2010, so I'm wondering whether this is still ok in 2016.


    Thanks

Participate now!

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