PDA

View Full Version : full screen display looks wierd


rhendricks
07-15-2008, 08:57 PM
Hello,
I am very new to panoramas in general and I am trying to get partial (not 360 degrees) panoramas to look right with FPP.

I got a panoarama to look great without using full screen mode:

www.roberthendricks.net/hollandpano/index.html

But when I use the same settings and add the full screen option, the pano looks very strange with gaps at the top and bottom and a weird pattern.

http://www.roberthendricks.net/hollandpano/index_fullscreen.html

My guess is it has something to do with the size of the panorama or some of code in the xml.

Is there an optimal size or resolution for panoramas with FPP? Is there a maximum or a minimum size?

Below is the XML incase that is the issue:

This is the xml for the non-full screen:
<?xml version='1.0'?>
<panorama>
<parameters>


loaderTextColor = #FF6600
loaderBackColor = #EEEEEE
loaderText =



layer_10 = files/glassMeter.swf
layer_1 = files/fps.swf
layer_3 = files/limits.swf
layer_4 = files/loadMeter.swf
layer_5 = files/cylConverter.swf
layer_6 = files/autorotator.swf


panoType=cylinder
panoName=images/holland_pano

loaderStreamed = 1
loaderBandwidth = 100




</parameters>

<autorotator>
speed = 0.06
interval = 30
pause = 3000
quality = best
</autorotator>

<cylconverter>

hfov = 180
vfov = 15
</cylconverter>

</panorama>

This is the XML for the full screen version. Everything is the same except added the openFullscreen.swf:
<panorama>
<parameters>


loaderTextColor = #FF6600
loaderBackColor = #EEEEEE
loaderText =


layer_2 = files/openFullscreen.swf
layer_10 = files/glassMeter.swf
layer_1 = files/fps.swf
layer_3 = files/limits.swf
layer_4 = files/loadMeter.swf
layer_5 = files/cylConverter.swf
layer_6 = files/autorotator.swf


panoType=cylinder
panoName=images/holland_pano

loaderStreamed = 1
loaderBandwidth = 100




</parameters>

<autorotator>
speed = 0.06
interval = 30
pause = 3000
quality = best
</autorotator>

<cylconverter>
autoLimits=1
strictBorders=0
hfov = 180
vfov = 15
</cylconverter>

</panorama>


So any suggestions how I can get the full screen version to look as good as the non-full screen version?

Please help. Thanks.

Trausti Hraunfjord
07-16-2008, 01:20 AM
Hi there rhendricks.

Replace the following in the xml:

<cylconverter>
hfov = 180
vfov = 15
</cylconverter>

with:

<borders>
pan_min = -155.5
pan_max = 158.8
</borders>

This will make this particular image of yours fit in both fullscreen and windowed mode.

rhendricks
07-16-2008, 02:34 AM
Thanks for the tip. I tried replacing that XML code you suggested but it still doesn't look right. Plus now the pano doesn't stop at the the end but loops back around.

Here's the entire XML code for this page:

http://www.roberthendricks.net/hollandpano/index_fullscreen.html

<?xml version='1.0'?>
<panorama>
<parameters>


loaderTextColor = #FF6600
loaderBackColor = #EEEEEE
loaderText =


layer_2 = files/openFullscreen.swf
layer_10 = files/glassMeter.swf
layer_1 = files/fps.swf
layer_3 = files/limits.swf
layer_4 = files/loadMeter.swf
layer_5 = files/cylConverter.swf
layer_6 = files/autorotator.swf


panoType=cylinder
panoName=images/holland_pano

loaderStreamed = 1
loaderBandwidth = 100




</parameters>

<autorotator>
speed = 0.06
interval = 30
pause = 3000
quality = best
</autorotator>

<borders>
pan_min = -155.5
pan_max = 158.8
</borders>

</panorama>

Am I doing something wrong here?

What else can I try?

Thanks again for your help.

Trausti Hraunfjord
07-16-2008, 02:46 AM
Sorry.... my error.

What was I thinking... no one will ever know... and certainly not me.

The placement is correct

What you also need to do, is to copy the borders.swf plugin to the same place you have your other plugins ( files/ ) and add the following layer to your xm with the other layers:

layer_7 = files/borders.swf

I'm just not into this copying and pasting business... when working with Flashificator it's just click this and click that... sorry for the confusion.

rhendricks
07-16-2008, 02:59 AM
Thanks and sorry for all the newbie questions.

Added the border.swf layer in the xml.

That fixed the looping around issue but still in full screen it has the weird pattern at the top and bottom of the pano. In otherwords, the image doesn't bleed to the edge of the screen. But it looks like a strange shape of some sort.

Could it be that my image is too low res or not big enough to render at full screen?

The pano image is: 3438 pixels wide by 225 pixels @ 72 dpi

Is there an optimal size for the full screen to display well?

Thanks again for your willingness to help me.

Trausti Hraunfjord
07-16-2008, 03:29 AM
The attached image is a screenshot from my monitor when in full screen, and it looks the way it should. No curving or distortion or black holes....

Could you make a screenshot of your fullscreen pano (copy screen key on keyboard and paste inside your photo editing program).

Regarding the ideal size...

I don't know what would be considered "ideal"... but if I intend to have a cylinder to display on monitors that use resolution 1024x768, I would rather like the image to be no less than 768 pixels in hight so that it would display nicely.

Using Photoshop's "Save for Web & Devices" to reduce the mb weight of the image is probably the best option to keep the image from taking way too long time to download... and still have reasonable quality.

I'm always hoping to be able to be of assistance here... but I seem to stumble over my own fingers too often in the process.

rhendricks
07-16-2008, 03:57 AM
Your screen shot does look fine. But that's not what mine looks like. But my monitor might is probably at a higher resolution. Could that be the difference.

Here are two screen shots of the pano in full screen where you can see the cutout look and distortion at the bottom of the pano.

Thanks again.

Trausti Hraunfjord
07-16-2008, 06:05 AM
The images you posted represent how it looked before introducing the borders.swf to the pano....

I was sure you are simply watching the cached pano, until I had someone else (Discocandy) to check, and he confirmed your view.

Another thing you might want to do, is to remove at least one of the loaders. You have both glassMeter.swf and loadMeter.swf running, one on top of the other....

... and personally I would remove both of the following, since these seem to be slowing the loading considerably - on my end in any case:

loaderStreamed = 1
loaderBandwidth = 100

I checked it in both IE and Firefox on this puter, and it displays correctly (1440x900 19" flatscreen monitor). Tried it on my laptop, and it looks fine. Tried it on another puter of mine with 22" CRT monitor... and it looks the way you see it. Darn! Now I am totally confused!

Does someone else know what the problem is?