Loading ...
Sorry, an error occurred while loading the content.

11741Re: Convert between different panorama formats

Expand Messages
  • Pablo dAngelo
    Aug 1, 2007
    • 0 Attachment
      Hi Chris,

      pano.chris wrote:
      > @Pablo - If I understand you correctly, I need to add the w and h
      > parameters to the input lines like so:
      >
      > i n"stitch-blended-sm.jpg" w4000 h2000
      > (4000x2000 being the size of the input image).
      >
      > This time I get no errors but the results aren't cube faces either. I
      > get 6 750x750 images but they're all the same image -- each shows the
      > entire equirectangular image, slightly warped (approx 360x185)
      > centered within each image.

      This is due to a bug in the nona parser, which doesn't handle some scripts
      where the parameters are mixed between i and o lines.

      For the time being try the attached script:

      ------------------------------
      p w1280 h1280 f0 v90 u20 n"TIFF_m"

      i w4000 h2000 n"pano.tif" f4 y0 r0 p0 v360
      i w4000 h2000 n"pano.tif" f4 y-90 r0 p0 v360
      i w4000 h2000 n"pano.tif" f4 y-180 r0 p0 v360
      i w4000 h2000 n"pano.tif" f4 y90 r0 p0 v360
      i w4000 h2000 n"pano.tif" f4 y0 r0 p-90 v360
      i w4000 h2000 n"pano.tif" f4 y0 r0 p90 v360

      This works with both PTmender and nona.

      ciao
      Pablo
    • Show all 14 messages in this topic