VTour with multiple panoramas and image maps per scene (location)

  • My apologies if this problem has been dealt with before:

    I should like to build a small virtual tour consisting of 3 or 4 scenes (locations) with two or three panorama's per scene. Think of a series of before/during/after panorama's of a building site all taken in exactly the same three or four locations at two or three different times.

    Each panorama series should have its own image map and radar combination (e.g., site view before/during/after) and by clicking a screen button the user should be able to switch seamlessly between the panorama's in a particular scene, e.g., the "before" panorama should blend over into the "during" or "after" panorama with yaw, tilt, zoom, etc. settings preserved.

    Of course, this type of tour has been built before but I am not aware yet of krpano implementations. I have been experimenting with the sample code and documentation provided with the krpano package (for intermediate results, see http://www.ariederuiter.nl/concern_vtour3/ and http://www.ariederuiter.nl/vtour_test01/ ) but the learning curve is a steep one for me and I wonder if one of you can point me in the right direction. Maybe there are appropriate script examples hidden within the krpano docs and examples which I have overlooked until now.

    Arie de Ruiter

  • Hi,

    Have a look, 26 panos, 5 maps...
    With Krpano a lot is possible... but with a lot of time and tests (for me).

    From my own and small experiment, because an only big xml or swf was not a good solution, I have defined :
    1) a hierarchical file system organisation for tour, plugin, images, graphics, images, languages...
    2) to work with a main xml "engine" which is in charge of all actions,
    3) a list of global and shared variables and values
    ...
    For sure, some others krpano specialists get the same or better results by another way.

  • Thank you for your comments. You have made an impressive and interesting tour but it is not quite what I am looking for. I should like to build a "one HTML5 + XML file" tour with a minimum of Flash (only the radar plugin) which for tablet and phones defaults to the non-Flash pano thumbnails solution.

    Assuming 4 locations and 3 panorama series I can make 12 single panoramas each with their own radar and imagemap. I could then combine them in a 12 scene xml file and it would probably work to some degree. But that's ugly. Of course I should like to have only one radar plugin in the code with appropriate parameter passing between scenes, imagemaps and plugin. I can see that the krpano scripting language is more than rich enough to make this possible but I am lacking knowledge and experience in the "How to" area.

    So, what I hope to find is appropriate scripting examples from which I can learn how to build my own solution.

    Regards,

    Arie de Ruiter

  • Good morning,

    Probably you can elaborate/try :

    HTML-1 which call XML-1
    - in this XML-1
    all data/plugin to manage your Pano-1
    and use
    openurl(HTML-2..., _self) to call your HTML-2

    HTML-2 which call XML-2
    - in this XML-2
    all data/plugin to manage your Pano-2
    and use
    openurl(HTML-1..., _self) to call your HTML-1
    openurl(HTML-3..., _self) to call your HTML-3

    ...
    about openurl() target :
    _self - open the url in a current frame in the current window
    _blank - open the url in a new window (the default)
    _parent - open the url in the parent of the current frame
    _top - open the url in the top-level frame in the current window

    I have seen a complete tour built like that but I don't found the URL.
    The limit, between each openurl(), you got a flash/empty screen depending of the respons time of the wan/lan/web server and effects are impossible.

  • If I understand you correct you are missing the codes for maling the before and after panos load in same direction always .

    It can be done and codes are quit simple.
    I used it in this page.
    http://www.panoramas.dk/2010/carl-bloch.html

    Here is the XML.'http://www.panoramas.dk/2010/carlbloch/tour.xml
    The codes for the 2 panos are at the bottom and the special code is KEEEPVIEW.

    Note that the KEEPVIEW is not supported on my iPad.

    Hans

  • Hans,

    Thank you for this example. The KEEPVIEW flag is the obvious route for me to explore further and may solve part of my problem. It is a real pity though that this code doesn't work on the iPad because that is definitely part of what I'm looking for. Maybe Klaus can suggest another approach that does work across all devices?

    Another question remains: How to replace one imagemap + radar instance (specific for e.g. the "before" panorama series) by another one (for e.g. the "after" series) in exactly the same screen location? Putting them side-by-side is not too difficult as I showed in one of the examples in my first message but that's not as it should be of course.

    Regards,

    Arie de Ruiter


    "If I understand you correct you are missing the codes for maling the before and after panos load in same direction always .

    It can be done and codes are quit simple.
    I used it in this page.
    http://www.panoramas.dk/2010/carl-bloch.html

    Here is the XML.'http://www.panoramas.dk/2010/carlbloch/tour.xml
    The codes for the 2 panos are at the bottom and the special code is KEEEPVIEW.

    Note that the KEEPVIEW is not supported on my iPad.

    Hans"

  • This weekend I had time to play with the |KEEPVIEW flag as suggested by Hans. It proved to be very easy and very effective as well. The test result, a 3 x 2 vtour (3 scenes, 2 panoramas per scene), can be seen at http://www.ariederuiter.nl/concern_vtour12/index.html (with imagemap, and thumbnails for tablets,etc.), and http://www.ariederuiter.nl/concern_vtour12/index2.html (pano thumbnails only).

    The xml files are http://www.ariederuiter.nl/concern_vtour12/scenes-with-imagemap-mod.xml and http://www.ariederuiter.nl/concern_vtour12/tour.xml, respectively.

    I am very pleased with the result, but oh what a pity that |KEEPVIEW doesn't work on my iPad. The multiple imagemap/radar issue is my next topic.

    Arie de Ruiter

  • Klaus,

    I finally found some time to check if the beta of 1 feb 2011 would solve the |KEEPVIEW problem on my iPad and, YES, it does! Thank you very much for providing the solution so quickly.

    I have also checked it with the 9 feb 2011 beta. |KEEPVIEW still works fine on the iPad but I find that there's something wrong now with the panothumbnails of the vtour on the iPad. Only one thumbnail shows (no stack), it seems somewhat smaller than it should be and is inoperational.

    Regards,

    Arie

  • Hi,

    I have also checked it with the 9 feb 2011 beta. |KEEPVIEW still works fine on the iPad but I find that there's something wrong now with the panothumbnails of the vtour on the iPad. Only one thumbnail shows (no stack), it seems somewhat smaller than it should be and is inoperational.

    that was a bug with the action parameters in that version,
    get here a newer and fixed version:
    https://krpano.com/download/beta/#2011-02-23

    best regards,
    Klaus

Jetzt mitmachen!

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