View Full Version : black jagged edges :-s
AussieFreelancer
07-18-2008, 12:03 AM
Hi all, does anyone know why I would be getting some really weird results here:
http://www.ladybrand.com/pages/virtual_tour
(Click on the very bottom left icon in the map on the right. When you hover over it, it should say street_11.swf)
But the same thing, here:
http://www.ladybrand.com/app/webroot/img/uploads/panoramas/street_11/street_11.html
is fine... I am guessing it must be to do with the way that I am embedding the flash, rather than something wrong with the flash image itself, but I am not doing anything different to the many other pans on the site, and they are fine..
I am using flashificator to turn a 360 image into the right format, i have tried increasing the height of the original image in case that got rid of it, but that hasn't helped, so pretty clueless...
Any ideas would be appreciated.
Thanks
Patrick
Trausti Hraunfjord
07-18-2008, 12:11 AM
Hi Patrick.
What does the xml look like for the street_11.swf pano?
Disregard that question... got it already:
<?xml version="1.0" encoding="utf-8" ?>
- <panorama>
<parameters>
panoType = cylinder
layer_1 = cylConverter.swf
layer_2 = limits.swf
layer_3 = cylConverter.swf
</parameters>
</panorama>
What should do the trick of hiding the tacked edges, would be to use the borders.swf plugin
SHOULD fix it... but only yesterday there was another one having a very similar if not identical problem.
It looks as if it depends on the window you provide for the viewing whether you get the problem to show or not.
I can see the black edges in the small window, but with your other link to the full screen version (using my 16:10 monitor), I have no problem on display... and THAT represents a problem for me...
I would recommend to at least try the borders plugin.
AussieFreelancer
07-18-2008, 12:36 AM
ok i will try those borders, so that will be the tilt, yes?
well i think i have put the borders bit in right, but nothing seems to happen. I tried it with them all at 90/-90, and have also tried 0 and 180, and the pan doesnt change at all.. i only need to chnage the xml file dont i? Or do i need to do something with the flashificator again?
Trausti Hraunfjord
07-18-2008, 12:47 AM
You have to put the borders.swf plugin into your project folder, and also add the layer for the borders plugin to your xml file
layer_4 = borders.swf
and finally put in the values for the borders (outside the parameters section)
<borders>
pan_min =
pan_max =
tilt_min = -(your value)
tilt_max = (your value)
</borders>
AussieFreelancer
07-18-2008, 01:01 AM
hmm, i have done that now, but still not seeing any change :( really appreciate your prompt help by the way, you are a life saver :D
Trausti Hraunfjord
07-18-2008, 01:08 AM
Try to add the following to your xml (inside parameters)
zoomMax = 3
zoomMin = 1.5
zoomHome = 1.5
If that doesn't fix it, then I am at a loss again.
... well... unless you change the window you let it preview in... make it more like 16:10 than 4:3 in the layout.
As I say... on my wide screen monitor I don't see the problem in full screen... but do see it in the small on-page window.
siesfor
07-18-2008, 10:52 PM
hey AF, I tried the fine version you mentioned, and it looked fine till I clicked open then "history" box in IE, which caused the viewing area's width to scrunch up and caused the black jagged lines to appear. close the history box, and everything was normal again.
I seem to recall having had this happen to me before as well, and after some remembering I borrowed your script and image and played around with them a little and think I found a couple solutions.
The best possible solution, is also the simplest, which is to add...
ratio = 1.6
inside your <parameter> brackets. Less than 1.6 left the jagged lines visible, but 1.6 was just enough for allowing the pano to resize properly. also, be sure to take out the "borders" info AND the "borders" plugin layer or it'll interfere with letting FPP do it's thing and it won't work.
I think my old similar problem had to do with previous panos leaving behind their "vfov" info, causing the pano to compress diagonally. I tried specifying the "cylConverter" plugin's "hfov" and "vfov" values for your image, which also worked, but I could never seem to get the values right, because the cars always looked a bit compacted, which is why I don't recommend it first, but it's also a possibility in case "ratio" doesn't work for some reason.
also, finally, I noticed in your css file, that you specified the height of your pano viewing div, but not the width, which may have been a part of the problem as well (ie. the browser may have adjusted the width too narrow, which caused the pano to scrunch up). I didn't test this hypthesis out, but it seems like it makes sense.
so, there's a couple possible fixes, I would try the ratio parameter first, which SHOULD take care of the width scrunching problems without affecting the image's look, but if not, one of the others will.
Trausti Hraunfjord
07-18-2008, 11:35 PM
Interesting! Thanks siesfor!
Looking forward to see how this pans out.
AussieFreelancer
07-26-2008, 10:27 AM
gday all! sorry for the delay, have only just had a chance to try the above, and..... works perfectly! :D thanks heaps for that, I do have a question though...
If the borders must be removed, then how would I go about setting limits on one of the panoramics in question? All of them are 360 except one, which is more like 150.
Thanks for the help on the edges!
siesfor
07-26-2008, 05:38 PM
actually, scratch the borders plugin removal. I was getting some funky reactions last time w/ the plugin, even without any parameters set for it, but everything seems to be working okay with it today. not really sure what that was about, maybe the browser cache or something.
cheathamlane
07-26-2008, 06:46 PM
gday all! sorry for the delay, have only just had a chance to try the above, and..... works perfectly! :D thanks heaps for that, I do have a question though...
If the borders must be removed, then how would I go about setting limits on one of the panoramics in question? All of them are 360 except one, which is more like 150.
I have had great success when using the Limits plugin versus Borders...
AussieFreelancer
07-27-2008, 01:04 AM
ah ok, i will give it a try then :D thanks again!
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.