Posts by djoss

    Hello!


    I've been making stereo panoramas of venues for some time now and viewing them on my

    phone using krpano (see https://stillevenschilders.nl/krpanoexamples/ (press arrow for

    cross eyed viewing :))). Most are

    stand alone panos, but i also have a series of panos that I'd like to link using hotspots like

    in a virtual tour.


    It seems to me that adding hotspots manually is quite a cumbersome chore, especially

    when the user should get a consistent experience moving around in the terrain. Ie: hotspot

    locations should match the location where the photograph was taken. And they should link

    back or I mean the user should be able to navigate the path in reverse. I know about autogarrows

    but unfortunately my photos dont have gps tags.


    So I wondered what is the usual way of

    adding hotspots? Yesterday I cobbled together (well gemini did) a python/tk app to do

    this visually. One can put in a jpeg image of a map of the terrain or house, and then

    put red dots where the hotspots should go. The dots link to the url of the corresponding

    scene etc. But I wondered if there is anything like this already available.


    thnx!

    Hello!

    I'm trying to make a button that will swap the left and right image in display.stereo=true 'mode', for cross eyed viewing. So I figured I'd just swap around the labels and reload the panoimage. First define a variable that remembers if the images should be swapped:

    <action name="init_swaplr">
    if ( get(swaplr)===null ,
    def(swaplr,boolean,false)
    );
    </action>

    Then swap the lablels if necessary and reload the panoimage to have the swap take effect:


    <action name="update_swaplr">
    if ( get(swaplr)==true , set(image.stereolabels,'2|1'),
    set(image.stereolabels,'1|2')
    );
    loadpanoimage("KEEPHOTSPOTS|KEEPVIEW|KEEPMOVING");
    </action>


    I call the functions here:

    <events onxmlcomplete="init_swaplr(); update_swaplr();"/>

    so the swap takes effect after the images initially load in the regular, un-swapped way.
    This works, but there is some delay when switching scenes, and if I try to combine it with this smooth transition:


    https://krpano.com/forum/wbb/index.php?page=Thread&postID=79325#post79325[/size]
    [size=10]

    the swap is visible as a short black screen, interrupting the transition.

    I tried to find a better way to do this, but haven't found one yet. Hope someone can give suggestions to get rid of the black screen flash..

    thnx.




    Thnx ! Sorry for the delayed reply, getting back into it now. This was what I was looking for. I added stereo="true" to the <display> tag in vtourskin.xml to test it. First I thought I was missing something, as on chrome it didn't have an effect. But it turned out it does work on firefox. Not sure if this is a bug? In chrome I just see one single image, no side by side.

    I'm running chrome Version 97.0.4692.99 (Official Build) (64-bit) on ubuntu 18.04.

    I see the same difference between firefox and chrome on my android phone....

    thnx

    Hello


    on the website there is a nice demo showing a side by side view of a
    stereoscopic panorama

    https://krpano.com/releases/1.20.…ur-stereoscopic


    I prefer this over webvr because it allows panning (left/right/up/down) of
    the view, and pinch to zoom. This is handy when viewing the panorama
    on a phone with open vr goggles like these:

    https://www.veercardboard.com/veer-mini-goggle


    Is there a config file for krpanotools to produce a tour with this kind of
    setup? It doesn't seem to be listed in the gui. Or can alternatively, webvr
    be configured to do panning and zooming using the touch screen?

    kind regards,

    joss