Noob question: Keeping the pano level when clicking an arrow hotspot...

  • Hi,

    I created a multi resolution tour using the droplet, then I used the tour_editor.html to add a few arrows.

    When an arrow is clicked, the pano zooms in towards the arrow. I would like to change that default behavior and still keep the zoom in action, but the pano should level itself towards 0 tilt.

    Where do I start ? :)


    Thanks!

  • Thank you ! ;)

    I was looking for a way to do it quicker, without manually defining coordinates, by taking into account the position of the hotspot, but leveling the pano towards 0° pitch.

    The arrows are on the floor, in front of the door, but it's weird to zoom in on the hotspot and look down :)

  • If you are using Krpano 1.19pr2...
    set(view_above_hotspot_atv,calc:atv-10); set(view_above_hotspot_ath,get(ath)); lookto(get(view_above_hotspot_ath),get(view_above_hotspot_atv), 50,smooth(100,50,200));
    or
    set(view_above_hotspot_ath,get(ath)); lookto(get(view_above_hotspot_ath),0, 50,smooth(100,50,200));

Jetzt mitmachen!

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