Page 1 of 1

aspect ratio on flat panoramas

Posted: Mon Jan 04, 2016 5:03 pm
by mrt
Hello,

I'm trying to recreate the following page layout using pano2vr as I'm not happy with the way zoomify works on mobile devices: http://www.southamericanlandscapes.com/ ... BAcar.html

However, when I export using Pano2vr, the aspect ratio is determined by that of the screen. Is it possible to set it manually within pano2vr so as to achieve the original aspect ratio by "letter-boxing" the image?

Thanks in advance,

Nick

Re: aspect ratio on flat panoramas

Posted: Fri Jan 08, 2016 7:29 pm
by Hopki
Hi Nick,
If you embed the HTML page in an iframe of another HTML page where you can set the size.
Or edit the HTML page from Pano2VR.

Open with simple text editor.

Change:
<div id="container" style="width:100%;height:100%;">
to
<div id="container" style="width:1000px;height:500px;">
Of course change the 1000 x 500 to your images size.

Regards,
Hopki

Re: aspect ratio on flat panoramas

Posted: Tue Jan 12, 2016 11:12 am
by mrt
Hi Hopki,

Thanks for getting back to me. I have followed your suggestion and uploaded the page here: http://southamericanlandscapes.com/test2/

This displays the correct aspect ratio. However, when you go full-screen, the original problem of the aspect ratio being determined by that of the screen persists. Is it possible to get the letter-boxing in the full-screen mode so that the image can be whole viewed?

Thanks again,

Nick

Re: aspect ratio on flat panoramas

Posted: Tue Jan 12, 2016 1:37 pm
by Hopki
Hi Nick,
There is a setting under the advanced tab.
Display FoV Mode: Set this to Horizontal.
Also under the Image tab set the Background colour to white so the letter box surround is white.
Let me know ho you get on.
Regards,
Hopki

Re: aspect ratio on flat panoramas

Posted: Tue Jan 12, 2016 5:43 pm
by mrt
Hi Hopki,

Still no joy, I'm afraid. You don't seem to be able to set the FOV to more then 100 degrees with flat panoramas. I've tried overriding this manually in the .xml but as far as I can see, it doesn't make any difference. The amended work in progress is still here: http://southamericanlandscapes.com/test2/

Do you have any other suggestions?

Thanks again!

Nick

Re: aspect ratio on flat panoramas

Posted: Tue Jan 12, 2016 6:13 pm
by Hopki
Hi Nick,
As your going fullscreen I don't this this will be possible but I will run this past the developers and see what they say.
It wont be quick as trying to get V5 out of beta.
Regards,
Hopki

Re: aspect ratio on flat panoramas

Posted: Tue Jan 12, 2016 6:29 pm
by mrt
Hi Hopki,

Ok. Thanks for letting me know and for putting it on the list of things to do. Just to make sure we're on the same page, what I'm after is full image-width across 100% of the screen and for the height to be letter-boxed so that the aspect-ratio of the image is maintained.

Best wishes,

Nick