What sets 'zoom amount' into hotspot ?

  • I noted on some examples the nice "zoom into the hotspot" effect. So I've used it in a couple of linked scenes. But although I used the exact same code for each scene, it zooms on one, but not the other. Also, I can't figure out which part of the code controls the actual zooming.

    I feel like a very "high maintenance" customer at the moment, but I'm trying to get a really robust standard XML template complete so I can start processing many tours.

    Thanks again for any help. Below is (what I think) is the vital part of the code.

    THIS ONE ZOOMS IN:

    THIS ONE DOESN'T ?!

  • Hi,

    this code controls the zooming to the hotspot:

    Code
    looktohotspot(hotspot1,auto,smooth(150,25,100));

    the first parameter is the name of hotspot to look/move/zoom,
    the second - the zoom fov, when it is set to auto, it's tries to fill the screen with the hotspot,
    the third - the moving speed

    so you could replace the "auto" value with a fov value to control the zooming deep
    e.g.

    Code
    looktohotspot(hotspot1,30,smooth(150,25,100));

    have also a look here:
    https://krpano.com/docu/actions/#looktohotspot

    best regards,
    Klaus

Participate now!

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