krpano 1.0.8 beta (Flash10, QTVR, Zoomify, Partials Panos, ...)

  • Hello,


    Download:
    krpano 1.0.8 beta 8 and Tools

    krpano 1.0.8 beta 8 Documentation
    krpano 1.0.8 beta 7 Documentation
    krpano 1.0.8 beta 6 Documentation
    krpano 1.0.8 beta 5 Documentation

    older beta version:
    krpano-1.0.8-beta7.zip
    krpano-1.0.8-beta6.zip
    krpano-1.0.8-beta5.zip
    krpano-1.0.8-beta4.zip
    krpano-1.0.8-beta3.zip
    krpano-1.0.8-beta2.zip
    krpano-1.0.8-beta1.zip


    Examples:

    New Features:

    Flash10 support:

    • full Flash10 support, but still compatible to Flashplayer 9.
    • switch between Flash10 and Flash9 interactively with the "display.flash10" parameter. (check the options plugin)
    • unfortunately Flash10 is a bit slower than Flash9, but I have tried to get the maximum performance out of it,
      see the notes below for more details.

    NOTES for using Flash10:

    • Flash10 allowes to render correct 3D distorted images, this avoids the "waves" known from the Flash9 rendering.
    • using LOW quality (disabled Anitaliasing) while moving doesn't give any performance increase like it was in Flash9, so quality is always HIGH per default now.
      (there are also 2 new parameters - "movequality10" and "stillquality10" to control this - see the options plugin)
    • the performance of the rendering depends very much on the number of the drawn triangles.
      (see them by switching the "show faces" setting in the options plugin or just press TAB)
    • when using cubical panos, then typcial only 2 triangles are needed (the details settings is ignored here),
      this allowes to get the best performance with Flash10.
      but note - when using fisheye distortion the cubical pano still must be split into more triangles (details setting) to get a correct result (test this by by using a cubical pano and change the fisheye setting interactivly from 0 to ... and enable showing the faces)
    • spherical and cylindrical panos also must be still split into many triangles for correct 3D distortion.
      (but fewer triangles compared to Flash9 are needed to get a qood result)
    • Flash9 has a build-in automatic mipmapping (smaller scaled images were subsampled), this reduces "aliasing" of images that have a higher resolution then the current output/screen resolution, Flash10 don't have this anymore.
    • this Beta version has some debug-keys activated:
      • press '9' to switch to the Flash9 renderer
      • press '0' to switch to the Flash10 renderer
      • press TAB to toggle showing the triangles/faces

    QTVR (.mov) support:

    • krpano has now a build-in supports for QTVR (.mov) files.
    • the beta version supports only CUBICAL .mov files, but the final will also suport CYLINDRICAL ones.
    • it loads also the preview and the viewing settings ("setview"-parameter) from the QTVR file.
    • limitations:

      • only "jpeg" or "png" image compression is supported
      • no "header-compression"

    QTVR XML usage:

    Code
    <krpano>
        <image type="QTVR">
            <qtvr url="pano.mov" setview="true" />
        </image>
    </krpano>


    Direct usage without XML:

    Code
    krpano.swf?qtvr=pano.mov


    SWFObject 1.5 example:

    Code
    so.addVariable("qtvr", "pano.mov");


    Partial and cylindrical panos:

    • krpano supports now also partial spherical and cylindrical panos.
    • the view is automatically limited to the area of the image (limitview="auto"), but it's necessary to set "fisheye" to "0" for correct limiting.
    • new parameters for the image tag:

      • "hfov" - hortizontal field of view of the image (default=360)
      • "vfov" - vertical field of view of the image (default=automatically calculated)
      • "voffset" - vertical offset (default=0)

    XML example - cylindrical 360 degree pano:

    Code
    <krpano>
        <view fisheye="0" />
        <image type="CYLINDER" hfov="360">
            <cylinder url="cylinderpano.jpg" />
        </image>
    </krpano>


    XML example - partial spherical pano with a 120 degree hortizontal field of view:

    Code
    <krpano>
        <view fisheye="0" />
        <image type="SPHERE" hfov="120">
            <shpere url="partialpano.jpg" />
        </image>
    </krpano>


    XML example - simulating a flat/2D pano (hfov=1):

    Code
    <krpano>
        <view fisheye="0" fovmin="0.01" />
        <image type="SPHERE" hfov="1">
            <shpere url="flatpano.jpg" />
        </image>
    </krpano>


    The possibility to use Zoomify tiles:

    • I'm still not sure if it's allowed to direct support the Zoomify ImageProperties.xml file, but it's possible now to use the same tiles for krpano and Zoomify.
    • there is a new placeholder "%g" - this is a "group"-counter of 256 tiles, this allowes using the Zoomify tiles.

    here is a example for using Zoomify tiles:


    A new Sound Plugin - soundinterface.swf

    • this plugin adds functions to play and controls sounds direct from the xml.
    • only this one plugin must be loaded for all sound.

    Usage:

    Code
    <plugin name="soundinterface"
            url="soundinterface.swf"
            onloaded="action(preloadsounds);"
            rootpath="."
            />


    Attributes:

    • onloaded
      • this action is called when the plugin was loaded and is ready for use.
      • can be used for preloading sound.
    • rootpath
      • root path of the sound files.
      • relative from the xml file, default="".

    Functions:

    • preloadsound(mp3file);
      • preloads a sound file
      • this can be used to reduce the latency when starting play
      • mp3file = the filename/path of a sound file
    • playsound(id,mp3file,loops);
      • plays a sound file
      • id = id/name of the sound (use "auto" for a automatic new id for every play)
      • loops = optional, number of loops, 0=endless, default=1
    • stopsound(id);- stops playing a sound
      • id = id/name of the sound
    • stopallsounds();
      • stop all current playing sounds

    XML usage example:

    Further changes:

    • improved rendering performance on high details setting in Flash9.
    • improved performance when using small tilesizes (e.g. 256).
    • some small bugfixes, more informations in the final version.

    What's still left in this version:

    • a automatic usage of Flash9 on slower computers
    • the complete loading/multiresolution loading code is not finished yet
    • the loading progress is currently not finished
    • cylindrical QTVR panos
    • optimized QTVR previews
    • partial preview panoramas
    • addtional features/bugfixes for the hotspots/plugins
    • addtional actions
    • updated plugins
    • documentation/examples
    • updated website


    okay that's all now, have fun with Flash10!

    Best regards,
    Klaus

  • Hi klaus! :)  
    My congratulations!! :thumbup:  
    Whether It is possible to realise directional sound in KRPano?
    It would be desirable to have such possibility in the panoramas and to see in one of following versions of yours viewer.
    Here a creation example "directional sound", the truth only under Mac and QTVR:
    The description
    Video example

    Best regards, Ildar.

    Edited once, last by Mr.nOGot' (December 11, 2008 at 6:16 PM).

  • Great work Klaus! :thumbsup:

    With the other Flash panorama players that support Flash 10, some have reported problems with Flash 10 & cubic display on the Mac OS. Apparently there are visual anomolies where the cube faces join. Can any Mac users here detect similar behavior with Krpano 1.0.8b1?

    Question for Klaus: Is there a performance difference (FPS or loading speed) between QTVR files and standard cube faces? Will a future version of krpano tools support QTVR creation?

  • Hi, Klaus

    Thank a lot for your work

    I have a trouble in local with this new version on a MAC, when I want open a multi-tiles pano, Safari, FF and Opera don't work and shut the window 8|

    Hi, it shut down? very strange! only local??
    do you have a beta version of the Flashplayer10 installed? (the current version is the 10.0.12.36)

  • that's would be not difficult
    okay, I will a add a possibility for the new soundinterface plugin to allow also playing "directional sound"

  • Quote

    With the other Flash panorama players that support Flash 10, some have reported problems with Flash 10 & cubic display on the Mac OS. Apparently there are visual anomolies where the cube faces join. Can any Mac users here detect similar behavior with Krpano 1.0.8b1?

    yes, that would be interesting...

    Quote

    Question for Klaus: Is there a performance difference (FPS or loading speed) between QTVR files and standard cube faces? Will a future version of krpano tools support QTVR creation?

    no, there should be no performance difference from the krpano side (FPS),
    maybe a little bit from the server side... (loading speed)
    for a QTVR there is only one single file download,
    and for standard cube faces (6 or more files when tiled) there can be more downloads parallel,
    this could be a little bit faster on good internet connections and fast servers...

    best regards,
    Klaus

  • What about Partial Cylindricals? I tried with the HFOV less than 360:

    Code
    <krpano> 
    <view fisheye="0" /> 
    <image type="CYLINDER" hfov="180"> 
    <cylinder url="cylinderpano.jpg" /> 
    </image> 
    </krpano>


    and it doesn't seem to work. It warps the image into a flat 2D view. And I also tried it with an even lesser value for the HFOV, ex: hfov="90", and it still seems to go past 180° anyways.

    I guess this will be fixed in the full version?

  • I think the partial cylinder is working as it is supposed to do.

    I don't think the hvof is setup to limit the range of view on a full pano... just adjusts the "distortion".

    If you adjust the hvof from 359 and down... you can see the effect on the pano.

    I've been playing with it using the standalone flash player... makes it really fast to make a change and reload to see the effect.

Participate now!

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