Multires of picture size 121000x4000

  • I have made a multires from a picture that is 121k wide and 4k high, see http://www.rundskuer.no/krpano/sundalsnipa_horisonten.html
    The result is fine, but there is a small annoyment :
    - the multires level 1 is 104 tiles, 57 wide and 2 high
    - I thought krpano would load only the pieces displayed, by demand
    - it seems to me as all 104 tiles in level 1 is loaded before the loadwheel stops
    the xml-file is the one made from the templates in the 1.08 beta 8 package.
    any suggestions ?

  • attributes for level:

    * tiledimagewidth
    image width of the whole tiled image
    * tiledimageheight
    image height of the whole tiled image
    * details
    individual details setting for this level
    * download - settings for downloading tiles:
    o view - download only the tiles that are needed for the current view
    o all - download all tiles of the current level (not recommended)
    o auto - automatic, if imageheight is smaller than 2000 then all tiles are downloaded, if greater only the ones for the current view (=default)

    So with this in mind,

    Try adding this : download="view" like so below.

    <level tiledimagewidth="28027" tiledimageheight="1032" download="view">

    Let us know how it does.

    This information was taken from
    http://www.krpano.com/docu/xml/


    Jarredja

  • the xml now looks like :
    <preview type="CYLINDER" url="sundalsnipa_horisonten.tiles/preview.jpg" />

    <image type="CYLINDER" multires="true" tilesize="810">
    <level tiledimagewidth="112106" tiledimageheight="4126" download="view">
    <cylinder url="sundalsnipa_horisonten.tiles/l3_%00v_%00h.jpg" />
    </level>
    <level tiledimagewidth="56053" tiledimageheight="2063">
    <cylinder url="sundalsnipa_horisonten.tiles/l2_%00v_%00h.jpg" />
    </level>
    <level tiledimagewidth="28027" tiledimageheight="1032">
    <cylinder url="sundalsnipa_horisonten.tiles/l1_%00v_%00h.jpg" />
    </level>
    </image>


    And download="view"does not do the trick. From the log I can see that it loads 70 tiles for the initial look.

  • Try adding the view coding to the level 1 instead of level 3. Or add it to all ?

    Level one is actually the one listed at the bottom. In fact, in my example posted above, I used level 1 code.

    <level tiledimagewidth="28027" tiledimageheight="1032" download="view">
    <cylinder url="sundalsnipa_horisonten.tiles/l1_%00v_%00h.jpg" />
    notice the l1

  • it now looks like:
    <image type="CYLINDER" multires="true" tilesize="810">
    <level tiledimagewidth="112106" tiledimageheight="4126" download="view">
    <cylinder url="sundalsnipa_horisonten.tiles/l3_%00v_%00h.jpg" />
    </level>
    <level tiledimagewidth="56053" tiledimageheight="2063" download="view">
    <cylinder url="sundalsnipa_horisonten.tiles/l2_%00v_%00h.jpg" />
    </level>
    <level tiledimagewidth="28027" tiledimageheight="1032" download="view">
    <cylinder url="sundalsnipa_horisonten.tiles/l1_%00v_%00h.jpg" />
    </level>
    </image>


    but it does not work. the log shows that 70 level 1 tiles is loaded at startup.
    this is what one tile look like: http://www.rundskuer.no/krpano/sundals…/l1_001_001.jpg

  • Problem solved, sort of ! I have commented out the preview:

    <preview type="CYLINDER" url="sundalsnipa_horisonten.tiles/preview.jpg"

    It now loads 6 tiles instead of 70 and the panorama loads at no time.
    Its OK for me, but maybe there is something fishy in the template or elsewhere ?
    *smile*

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!