vfov for flat panoramas - kmakemultires ver 1.0.8.15

  • 1.0.8.14 kmakemultires tool generates panoramas with hfov=1.0, vfov is not defined, equal 1.0 by default.

    However, 1.0.8.15 kmakemultires tool generate panoramas with hfov=1.0 and vfov < 1.0.

    Why is this? The documentation refers only to hfov not vfov. See below:

    <image type="CYLINDER" hfov="1.0"
    tiled="false"
    tiledimagewidth="..."
    tiledimageheight="..."
    tilesize="..."
    baseindex="1"
    frames="1"
    frame="1"
    prealign=""

    multires="true"
    multiresthreshold="0.025"
    progressive="true"
    tilesize="..."
    baseindex="1"
    frames="1"
    frame="1"
    prealign=""
    >

    Edited once, last by marek_c: adding more info (May 8, 2013 at 4:30 PM).

  • Hi,

    when the vfov value is not defined in the xml, then it will be automatically calculated depending on the pano-image-size.

    But there is a problem when the image-size is unknown - e.g. for non-multires panos - there the image-size is unknown until the pano-image is fully loaded. The preview-pano-image also needs to know to vfov too for correct displaying, but the preview images are typically much smaller so that the width-to-height ratio of the preview-image will be not exactly the same as the width-to-height of the real pano-image.

    That means without predefined-vfov, the on-the-fly-calculated-vfov value can differ for the preview image and the pano image and this can lead to a 'jumpy display' and 'jumpy viewing limiting' during loading - first the view will show the fov-ranges and limits for the preview pano and then when the real pano is ready the fov for the real one.

    And to avoid this kind of problem, the newer tool versions are precalculating the vfov value and write them in the xml.

    About the documentation - the vfov image setting was always there and could also be used in version before 1.0.8.15 of course, the only difference was that the tools weren't writing it into the xml.

    Best regards,
    Klaus

Participate now!

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