Preloading closest scenes

  • Hi all.
    Currently I'm preloaded first five scenes and loading remaining scenes in the background but I wanna preloading closest scenes
    My hotspot was place in 3d position tx, ty, tz. I wanna calculate distance between first hotspot and others hotspot and find the minimum distance.
    Do u guys think it is possible or any other way better?
    Thanks

  • Yes it is possible, you just need to know a little trigonometry or geometry)

    I use this method to calculate and search for the nearest point from the place of clicking on the panorama to make a transition in this direction.

    And for the preloader you can just write down all connections and possible transitions with each point, and then just load those panoramas to which you can move from the current one) as realized in my preloader). *thumbsup*

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!