Cylinder / Partial Pano Won't Pan Full 360?

  • I'm not experienced working with cylindrical panoramas with limited vertical FOV, how do I setup a cylindrical 360 panorama strip to be able to pan horizontally all the way around? When I get to the edge of the image, krpano bounces me back instead of allowing me to continue spinning.

    The images are 360, tiles were created with makevtour - which made the XML define images as FLAT by default. I've tried changing it to CYLINDER or SPHERE but it still stops and bounces back when I get to the edge. What do I need to change about this to get krpano to consider the image 360?

    Here's the krpano mkvtour scene code:

    <scene name="scene_Cafe_CROP" title="Cafe_CROP" onstart="" thumburl="panos/Cafe_CROP.tiles/thumb.jpg" lat="" lng="" alt="" heading="">
            
    <control bouncinglimits="calc:image.cube ? true : false" />

    <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="0" fovmin="70" fovmax="140" limitview="auto" />

    <preview url="panos/Cafe_CROP.tiles/preview.jpg" />

    <image hfov="1.00" vfov="0.275298" voffset="0.00">
    <flat url="panos/Cafe_CROP.tiles/l%l/%0v/l%l_%0v_%0h.jpg" multires="512,3328x916,6720x1850" />
    </image>

    </scene>

  • Use hfov="360" and <cylinder>:

    Code
    <image hfov="360">
      <cylinder url="panos/Cafe_CROP.tiles/l%l/%0v/l%l_%0v_%0h.jpg" multires="512,3328x916,6720x1850" />
    </image>

    or if you want a flat pano wraping around, enable the image.wraparound setting:

    krpano.com - Documentation - XML Reference

    Code
    <image hfov="1.00" vfov="0.275298" wraparound="true">
      <flat url="panos/Cafe_CROP.tiles/l%l/%0v/l%l_%0v_%0h.jpg" multires="512,3328x916,6720x1850" />
    </image>
  • Cylinder with hfov at 360 is working to wrap around, but any cylinder that doesn't have the horizon directly in the middle of the image appears distorted. FLAT doesn't give the distortion, but wraparound="true" is not working. Is there something else I should check for wraparound?

  • Thanks klaus,

    I have 1.22.2, I could try and swap for 1.22.3. Do I need to have the recent license upgrade for this feature?

    Unfortunately I have a weird set of images my client gave to me, they're equirectangular, but cropped into strips. So the voffset makes distortion worse near the top and bottom. The panos aren't a true cylindrical projection, but they want them to behave like cylindrical, they don't want any up/down motion, only horizontal panning. It's been very difficult to make them look right, some need to set as cylinders, others may need to be set as flat.

    Edited once, last by 360labs (January 8, 2025 at 1:34 AM).

Participate now!

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