Page 1 of 1

Display not full 360 x 180 degrees panorama

Posted: Wed Jun 14, 2017 10:01 am
by kub27
Hi,
I have panorama which covers 360 degrees in the horizontal angle, but does not cover 180 degrees in the vertical angle.
Is there any option to use that images?

Here is my panorama:
http://ags.arcdata.cz/pano/doudlevce_pano_8.jpg

Here is my test application with forge js:
http://ags.arcdata.cz/pano
But my panorama is stretched to 180 degrees in vertical angle.

Thank you for your answer.

Jakub

Re: Display not full 360 x 180 degrees panorama

Posted: Wed Jun 14, 2017 2:23 pm
by rroux
Hello kub27,

At this time ForgeJS does not handle partial panoramas, but it should be developed in the future.
What you can do is to make an image that have a 2:1 ratio and fill the blanks with black or any color of your choice.
In you case, the file is 8000 x 938. Just make it 8000 x 4000 and it should be good assuming that you cropped the top and bottom the same amount of pixels!
You can also add limits to the camera to avoid the user to see black areas.
I add a small resolution preview of what you can do in 800 x 400.

Hope this helps, have a nice day!

Re: Display not full 360 x 180 degrees panorama

Posted: Fri Jun 16, 2017 6:44 am
by kub27
Hi Raphaƫl,
thank you for your reply.
This is interesting workaround.

It is little bit challenging for images with higher resolution.
The image size grows up a lot and the image is loading slowly, but it works.

Thank you for doing that fascinating framework.

Jakub

Re: Display not full 360 x 180 degrees panorama

Posted: Fri Jun 16, 2017 8:13 am
by rroux
Hello Jakub,

We are working on multi resolution tiled panoramas. This will support partial panoramas.
So you will have the perfect solution as soon as we get ready to release this :)

Have a nice day, thanks for your support!