Distorted hotspots scale calculation in a Cylindrical flat pano?

  • Hello everyone,
    Thank you for letting me join the community,


    The question is in the title.
    I am actually working on a map of a City, and on it, i'm adding hotspots of old structures that were there a long time ago (Castle walls for example). The end user will be able to toggle hotspots visibility with switches on another layer. To do all of this , I need a perfect pixel match.


    I settle all my hotspots in photoshop in differents layers, on the jpg I use in my flat pano. I then proceed to take all layers center coordinates in px, and convert x and y into ath and atv, using

    Quote


    ath = ((x/width-0.5) * hfov)
    atv = ((y/height-0.5) * vfov)


    It works perfectly and hotspots are placed on the place I want them to be on the pano. On the other hand, I can't find a way to perfectly set the Scale of the hotspot.

    I found some clues in the thread below but I didn't manage to convert it for a Flat Pano.
    https://krpano.com/forum/wbb/index.php?page=Thread&threadID=7272[/size]


    Thank you in advance for your answer,
    Hugues
    [size=10]

Participate now!

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