krpano 1.0.8 beta 8 and Tools
- Flash9 - Flash10 Comparison
- QTVR .mov Support - Thanks to Bernd Dohrmann (http://www.360bilder.de) for this great panorama!
- Partial Multiresolution Panorama
- 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.
- only "jpeg" or "png" image compression is supported
- no "header-compression"
QTVR XML usage:
Direct usage without XML:
SWFObject 1.5 example:
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:
XML example - partial spherical pano with a 120 degree hortizontal field of view:
XML example - simulating a flat/2D pano (hfov=1):
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:
<image type="SPHERE" multires="yes" tilesize="256" baseindex="0" hfov="100" voffset="0"> <level tiledimagewidth="10000" tiledimageheight="4000"> <sphere url="http://.../ZOOMIFY_EXAMPLE/TileGroup%g/5-%u-%v.jpg" /> </level> <level tiledimagewidth="5000" tiledimageheight="2000"> <sphere url="http://.../ZOOMIFY_EXAMPLE/TileGroup%g/4-%u-%v.jpg" /> </level> <level tiledimagewidth="2500" tiledimageheight="1000"> <sphere url="http://.../ZOOMIFY_EXAMPLE/TileGroup%g/3-%u-%v.jpg" /> </level> ... </image>
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.
- this action is called when the plugin was loaded and is ready for use.
- can be used for preloading sound.
- root path of the sound files.
- relative from the xml file, default="".
- preloads a sound file
- this can be used to reduce the latency when starting play
- mp3file = the filename/path of a sound file
- 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
- stop all current playing sounds
XML usage example:
<plugin name=soundinterface" url="plugins/soundinterface.swf" rootpath="sounds/" /> <hotspot name="s1" url="spot.png" onclick="playsound(auto,tada.mp3);" onover="playsound(auto,over.mp3);" onout="playsound(auto,out.mp3);" /> <hotspot name="s2" url="spot.png" onclick="stopallsounds(); loadpano(next.xml,null,MERGE,BLEND(1)); playsound(auto,newsound.mp3);" />
- 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
- updated website
okay that's all now, have fun with Flash10!