Hi all!
Happy new year 2009
I've just release a new beta version (
beta 5)
News in this version:
multresolution panoramas:
the complete multiresolution loading/rendering part was rewritten,
now the rendering of mutliresolution panoramas should be faster and better,
the selection of the best level has changed, in the previous versions
only the screenheight was respected when selecting the best level,
now also the screenwidth was used, this should provide better results,
the multiresolution loading strategy has changed,
now there are two loading modes:
normal loading:- first the tiles of the level which fit the view best are loaded
- and then the tiles of the lower levels
- like the older versions
progressive loading:- here - at first - the lower resolution levels are loaded
- and when the loading of the lower resolution has finished for the current view then the next level is loaded...
- ...so long until the best level is reached
- it can be enabled with:
|
Source code
|
1
|
<image ... progressive="true"> .... </image>
|
new parameters:
there is a new "maxpixelzoom" parameter for the <view> tag:
this limit the zooming depending on the panorama image resolution,
e.g.
|
Source code
|
1
2
3
|
<view ...
maxpixelzoom="1.0"
/>
|
direct Zoomify support:
now krpano supports the direct loading of the Zoomify ImageProperties.xml,
but note - Zoomify images are only flat images, to view them as panoramas it's necessary
to specify the type (SPHERE or CYLINDER) and the horizontal field of view (hfov) of the image,
the default values are
type="SPHERE" and
hfov="360",
if you want to view the image "flat" - just set a very small hfov, e.g. hfov="1"
to use it, you must set the path to the Zoomify
"ImageProperties.xml" file,
this can be done in the xml file or direct as variable in the html file,
(a html example is included in the beta5 download)
xml example:
|
Source code
|
1
2
3
4
5
|
<image type="ZOOMIFY" hfov="360">
<zoomify type="CYLINDER"
url="http://--->ZOOMIFY-PATH<----/ImageProperties.xml"
/>
</image>
|
html example (SWFObject 1.5):
|
Source code
|
1
2
3
4
5
|
var so = new SWFObject("krpano.swf", "krpanoSWFObject", "100%", "100%", "9.0.28");
so.addVariable("zoomify", "--->ZOOMIFY-PATH<----/ImageProperties.xml");
so.addVariable("zoomifytype", "CYLINDER");
so.addVariable("hfov", "360");
if ( so.write("krpanoDIV") ) { var mousewheelfixes = new SWFkrpanoMouseWheel(so); }
|
addtional changes:
- the loading bar should now work correct for normal panoramas (but still not perfect for multiresolution panoramas)
- with "trace(var1,var2,var3,...);" it's now possible to trace the contents of variables
- cylindrical preview images
- many small bugfixes (more details in the final version)
best regards,
Klaus