Sie sind nicht angemeldet.

1

Donnerstag, 28. September 2023, 14:52

Cylinder & Preview not positioned correctly.

I'm trying to display a cylinder image (360 not spherical panorama) with a preview.
First I used this script to make tiles for the cylinder panorama:

./krpanotools maketiles 1.jpg ./tiles/tile_%v_%h.jpg 512
Then I created a smaller image to use as preview

./krpanotools convert 1.jpg preview.jpg -resize=*x200

This is the xml part:


<scene type="panorama" autoload="true">
<image voffset='15'>
<preview type="CYLINDER"
url="./assets/preview.jpg"
/>
<cylinder url="./assets/tiles/tile_%v_%h.jpg"
multires="512|6841x1872"
/>
</image>
</scene>

Both the preview and the cylinder are being loaded, but it looks like the preview is not positioned correctly with the cylinder image.
I've attached 3 images.
1. preview: preview image
2. cylinder: the loaded cylinder image
3. merged: the loaded image on top of the preview image (with opacity) to spot the diferences.

Is this a bug or is there a way to align the preview with the cylinder image?

---
"I noticed that if I use sphere instead of cylinder than it works perfectly."
»dajanvulaj« hat folgende Bilder angehängt:
  • preview.jpg
  • cylinder.jpeg
  • merged.jpg

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »dajanvulaj« (28. September 2023, 15:06)


2

Sonntag, 1. Oktober 2023, 09:31

Hi,

this is a bug.
It will be fixed in the next release.

Best regards,
Klaus