• How can i get the value of the hlookat and/or vlookat when leaving a scene in which way when i start the new pano(next pano) i would be facing the same direction.
    i.e : if i am looking to the east and the hotspot is at north when i click the hotspot (which is this case is to my left) when i enter the new scene i want the camera to keep looking to the east, and it need to be dynamic in some way where the lookat would change on startscene accordingly to last direction on the previous scene.

    here is the reference . https://www.google.co.uk/maps/@51.51889…12!8i6656?hl=en

  • The default behavior is what you need. The bat files used to create your tour automatically added the hlookat="0" and vlookat="0" to your "view" elements, which reset the view with every scene change. Erase those and you’re good to go!

  • thanks alot, i come to realise that it is a default feature however what i have learnt about this that u always have to have you virtual north set, in case u are using a stitching software then u shouldn't worry yet if u are using a 360 camera like theta u have to consider the alignment while taking the images.

  • Hi,

    I'm not fully sure what you mean, but you could keep the looking direction between the scenes in a tour by changing these settings in the tour.xml:

    webvr_gyro_keeplookingdirection="false"
    to
    webvr_gyro_keeplookingdirection="true"

    and:

    loadscene_flags="MERGE"
    to
    loadscene_flags="MERGE|KEEPVIEW|KEEPMOVING"


    Quote

    if u are using a 360 camera like theta u have to consider the alignment while taking the images.


    The krpano tools are using the EXIF orientation information by default for alignment:
    https://krpano.com/tools/kmakemultires/config/#autolevel
    https://krpano.com/tools/kmakemul…prealignheading

    Best regards,
    Klaus

  • Hello,
    quick bump on this subject,
    I am trying to get the Keeplookingdirection=true to work also on desktop.

    I tried desktop_keeplookingdirection="true"
    html5_keeplookingdirection="true"


    and some others but it does notseem to work...

    Am I missing something?
    Thank you,

Participate now!

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