Flat to Spherical browsing

  • Hi Gang

    I have been thinking of trying to give some power to the user of browsing my pano's

    Is it possible to create a button that turns a flat 360° pano like I have used to display in the past to a 360° spherical browsing.

    From this
    http://www.olihar.com/gallery/Panorama/United States/Burning Man/2010_09_01_112429R.txt.php
    to this
    http://www.olihar.com/gallery/Panorama/United States/Burning Man/2010_09_01_112429R_sphere.txt.php

    and then back to flat.

    I have a test there next to the full screen button but I have not gotten anything to work, as I am not sure if something like this is possible to do unless you load 2 different xml files, I would love to try and not do that.

    One of the tries I assigned this to the button.

    Any ideas how this can be done...?

    Thanks...

  • Hi,

    at the moment that's not possible,
    but in the next release I have extended the 'updateobject()' action to re-parse also the "image.hfov" and "image.vfov" settings,
    then it would be possible to change dynamically the hfov of the pano image,

    best regards,
    Klaus

  • When can that be expected? are you talking about the next beta or the next big release?

    Do you have a suggestion for a workaround for now?

    It would be so great as well if the button I will make could read from the file giving it the needed values for changing to spherical view, let say for images that are not 360°.

    So the button would pull the values out of the html file for each image as they will have different values, for flat and spherical, if you follow my drift

  • Hi Olihar,

    I have played around your request and finally I got this code (using sphere type):

    Hope this can be useful...

    SAlut.

  • Fantastic, tiny modifications and this seems to work like a charm...

    Have a look here and tell me what you guys think and see if it works.

    http://www.olihar.com/gallery/Panora…112429R.txt.php

    Thanks again for your suggestion... Hopefully what Klaus has in mind does it a little bit more on the fly instead of the little delay... As well it would be fantastic to be able to do this with partial panos as well, by pulling info from the zoomify xml file for example and assign the fov that way...

    Again thanks a lot and please tell me how it works on your system...

    Einmal editiert, zuletzt von olihar (23. September 2010 um 03:16)

Jetzt mitmachen!

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