aspect ratio on flat panoramas

Q&A about the latest versions
Post Reply
mrt
Posts: 56
Joined: Mon May 19, 2008 1:22 pm

aspect ratio on flat panoramas

Post by mrt » Mon Jan 04, 2016 5:03 pm

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

User avatar
Hopki
Gnome
Posts: 9821
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: aspect ratio on flat panoramas

Post by Hopki » Fri Jan 08, 2016 7:29 pm

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

mrt
Posts: 56
Joined: Mon May 19, 2008 1:22 pm

Re: aspect ratio on flat panoramas

Post by mrt » Tue Jan 12, 2016 11:12 am

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

User avatar
Hopki
Gnome
Posts: 9821
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: aspect ratio on flat panoramas

Post by Hopki » Tue Jan 12, 2016 1:37 pm

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

mrt
Posts: 56
Joined: Mon May 19, 2008 1:22 pm

Re: aspect ratio on flat panoramas

Post by mrt » Tue Jan 12, 2016 5:43 pm

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

User avatar
Hopki
Gnome
Posts: 9821
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: aspect ratio on flat panoramas

Post by Hopki » Tue Jan 12, 2016 6:13 pm

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

mrt
Posts: 56
Joined: Mon May 19, 2008 1:22 pm

Re: aspect ratio on flat panoramas

Post by mrt » Tue Jan 12, 2016 6:29 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests