Problem setting image.fisheye.align dynamically

  • Hi Klaus,

    I need to set image.fisheye.align dynamically.

    I noticed that I can set it
    e.g.

    Code
    set (image.fisheye.align,"0|90|0");


    I can read it,

    Code
    trace ("image.fisheye.align",image.fisheye.align)


    so is there, with the correct value 0|90|0 but has no effect
    Maybe I'm missing some command to force the new align to have effect.

    I found a workaround, by re-embedding panorama but that's a bit odd.
    Appreciate any hint.

    cheers,
    Dorin

  • Hi,

    sorry, the fisheye parameters are currently not designed for dynamic changes.

    But 're-embedding' the whole viewer for change is a bit overdone, a loadxml call with the changed <image> element would be also possible and could be done more 'smooth' (e.g. with blending and keeping everything else).

    Or if you only want to change the 'image.fisheye.align' setting you could alternatively also use the image.prealign setting instead, it has the same effect and this one can be changed dynamically.

    Best regards,
    Klaus

Jetzt mitmachen!

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