• Is there currently a way to script smooth pan jumps from one view to another ?

    If not I`d like to request the option. With more people making hires gigapixel images showed with KrPano we need better scripting of the viewer to show various points of interest in the image.

    If you have a look at the Dresden image youll see that pan jumps follow a linear motion thats less than optimal: http://www.dresden-26-gigapixels.com/dresden26GP Click some times on the various point of interests, and then have a look at this Silverlight case and youll see the difference in user friendlyness: http://blogs.msdn.com/lutzg/archive/…animations.aspx

    From the DeepZoom blog:

    Quote

    Here's a problem: I want to pan smoothly from one area in a map to another. One way to do that is simply update Viewport Origin and ViewportWidth and let Deep Zoom handle the transition animation. Unfortunately that will lead to animations that look like you are traveling at the speed of light across the globe if you have large distances to cover.
    Ideally, you'd want to zoom out a tad bit, nudge over a bit, and zoom back in. Well, thanks to Dan Cory and James Darpinian, we have such a solution. Based on this paper, we implemented this.

    Heres a paper on the subject: http://www.win.tue.nl/~vanwijk/zoompan.pdf

    Theres also this paper: http://www.cs.umd.edu/hcil/jazz/lear…-spacescale.pdf

    Is this possible in KrPano ? If yes it will make the viewer much better suited for hires panos and zoomable images.

    John Myrstad

  • May there be a way to make a "pseudo" effect like the effect proposed by some smart scripting ?

    Is it possible to do with movto type smooth ? If yes, are there any examples online ?

  • Hi,

    If you have a look at the Dresden image youll see that pan jumps follow a linear motion thats less than optimal: http://www.dresden-26-gigapixels.com/dresden26GP

    right, they doing a linear motion via the tween() action,
    have a look at the javascript on this page,

    May there be a way to make a "pseudo" effect like the effect proposed by some smart scripting ?

    yes, should be possible,

    the default moveto/zoomto/lookto actions are designed for motions in a larger coordinates systems (e.g. 360x180),
    but with the right (small) values for the smooth() function it should also work good for flat panos,
    (flat panos in krpano are just partial panos defined with a horizontal field of view (hfov) of 1.0 degree),

    e.g.

    Code
    looktohotspot(get(name), 0.1, smooth(0.3, 0.5, 1.0));

    other ways to change/control the motion would be either to use the tween() action
    to change the "view.hlookat", "view.vlookat" and "view.fov" variables,

    or use a external flash actionscript plugin or a simple javascript to change
    these variables completely manually via krpano get() and set() interface,
    that means read out the variables, calculate the new variables (position)
    like you want and set them again,

    best regards,
    Klaus

  • I guess the best way to "jump" between two positions in multires panos would be to "zoom" out quit a bit, possibly up 60-75% of max fov, from the current position, and then have a smooth "jump" to the new position using the remaining fov and then zoom in.

    How does the caching work ? Will higher levels of the pyramide be cached whan at a specific position/fov ? If you examine the GigaPan viewer youll see that it doesnt work very well cause it has black tiles while trying to do is smooth trajectory.

  • How does the caching work ? Will higher levels of the pyramide be cached whan at a specific position/fov ? If you examine the GigaPan viewer youll see that it doesnt work very well cause it has black tiles while trying to do is smooth trajectory.

    yes, if there is 'enougth' memory they will be cached,
    and if not the preview image will be displayed,

    just try it

    best regards,
    Klaus

Participate now!

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