• I am trying to get a 2d view from a sphere .jpg I am unable to get it to do anything. If I substitute cube6 instead of view, it does what it is supposed to do. If I have view, It flashes on the screen for a second and then shuts off. I know that I have to be doing something wrong, but what is it?

    My syntax c:\krpano\ktransform view sphere.jpg output.jpg

    I also tried .jpeg and .tif instead of .jpg

    I also tried to add a path for the input and output images.

    Jarredja

  • hi Jarredja,

    Good question... in the documentation https://krpano.com/tools/ktransform/ it seem that a fov parameter is needed with the view mode.
    But how this parameter must be used??? I have tried this:
    - c:\krpano\ktransform view sphere.jpg output.jpg 90
    - c:\krpano\ktransform view sphere.jpg output.jpg fov=90
    - c:\krpano\ktransform view sphere.jpg output.jpg -fov=90

    but the result is arguments error

    Klaus, perhaps an example in the ktransform documentation can help a lot ;)

    Salut.

  • Hi,

    After more try, here is how it work:

    c:\krpano\ktransform view sphere.jpg output.jpg 0 0 0 90
    c:\krpano\ktransform view sphere.jpg output.jpg rx ry rz fov

    syntax:
    ktransform mode inputfile outputfile [rx ry rz [fov]] [options]

    mode ... cube6, hcube, vcube, rotate, view
    cube6 = transform to cube panorama images (6 images)
    hcube = transform to horizontal cube panorama imagestrip
    vcube = transform to vertical cube panorama imagestrip
    rotate = rotates a sphere panorama image
    view = creates a 2d view from a sphere image


    rx,ry,rz ... rotate angles in degrees
    (needed for view and rotate mode)
    fov ... field of view in degrees
    (needed for view mode)

    https://krpano.com/tools/ktransform/

    Salut.

  • How to get rx,ry,rz from image paranomic ?
    I don't know way to get it .

    Thanks you

Participate now!

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