Beiträge von staier

    Hello, Klaus!

    I have a big problem in my plugin and in my life!
    I'm writing plugin like "Editor plugin" and I need to edit loaded from krpano hotspots.
    But there is only function screentosphere in krpano viewer.

    Can you add function SphereToScreen in next release or give me a formula to calculate sphere coordinates from screen?

    Thank you!

    Hi,

    I have the same problem in my plugin!
    I'm writing plugin like "Editor plugin" and I need to edit loaded from krpano hotspots.
    As I know krpano has only screentosphere function and hasn't spheretoscreen function. For this reason I can't load hotspots from krpano to show on screen and edit.
    I had tried to find some formulas to calculate sphere coordinates to screen manually, but found only "screen to sphere" formula here http://www.experts-exchange.com/Programming/Ga…Q_21869528.html.
    I had tested this formula. It works, but not exactly. The errors are the tenth shares or whole units of spherical coordinates.
    Now I'm trying to calculate "sphere to screen" formula but has no any satisfying results yet.

    Have you any results in your problem?