Issues with PanoSalado

I've been trying to get PanoSalado to work. So far, the basic example included in rev 73 works, and I can change it to show my images. However I have a problem with the "segments" setting: it does not seem to work with equirectangular images.

Here are two images, one showing a house that should not be crooked; the second showing the nadir. Both are from a single equirectangular image and with segments="50", but changing the number of segments shows no visible effect.


The base equirectangular can be seen here, and here is the PanoSalado.xml I use:

<PanoSalado>
<layer id="PanoSalado" url="PanoSalado.swf?xml=PanoSalado.xml" depth="0" onStart="loadSpace:pano">
        <spaces onTransitionEnd="removeLastSpace" autorotator="false"
        >

                <space id="pano"
                        interactive="true"
                        onTransitionEnd="removeLastSpace"  segments="50"
                >

                        <sphere id="pano1">
                                <file>louba360-6-enfuse-5000.jpg</file>
                        </sphere>
                </space>
        </spaces>
</layer>
</PanoSalado>

Another thing I have found is that the xml parser is very sensitive to errors (that's fine for me) but the only problem is that once there is a problem, I have to restart firefox (this is under linux kubuntu amd64).

And a final one: I found no way to read the old entries for the PanoSalado blog. I'm sure I missed something, but where?

re: Segments problem

I've found the solution: the segments has to be an attribute to the sphere object, not to the space. However the number of segments has to be quite high no avoid issues with the nadir.

Glad you solved it

I was just getting around to looking at the question.

And, yes, the number of segments on a Sphere has to be quite high to avoid zenith and nadir problems. It is an intrinsic problem with how Papervision maps an equirectangular image onto a sphere, the triangles at the nadir and zenith become very long and skinny, whereas the ones at the equator are nearly equilateral. And the closer to equilateral a triangle is the less the bitmapfill is going to look distorted.

This is why I use Cubes for panoramas because there are no problem areas like the nadir and zenith.

One other solution would be took look for (or create, yikes!) a geodesic sphere class for Papervision. A geodesic sphere is made up of congruent triangles, so there wouldn't be any "problem areas". This is one thing I have one the long term list to investigate, so I would be happy to help out if you want to try it, and definitely happy to roll it in with credit to you on it.

Zephyr

__________________

Zephyr Renner

Another question: the scrollwheel

Is there a way to activate the mouse scroll wheel, so that scrolling up zooms in and down zooms out? this is the standard way in other viewers and it is very convenient.

As for the cubes, I agree quality is better, but having to package one file instead of 6 is easier. It will be better when the support for QTVR is finally there.

re: PanoSalado blog

sbprzd wrote:

And a final one: I found no way to read the old entries for the PanoSalado blog. I'm sure I missed something, but where?

Hi Seb:

All the PanoSalado blog entries are on the page at http://flashpanos.com/blog/79 . It may be that there aren't enough blog entries yet to make it span multiple pages. Smile

Cheers,

__________________

Patrick Cheatham
FlashPanos.com creator, Panoramic Photographer
Got PanoSalado?

re: PanoSalado and scrollwheel...

sbprzd wrote:

Is there a way to activate the mouse scroll wheel, so that scrolling up zooms in and down zooms out? this is the standard way in other viewers and it is very convenient.

As for the cubes, I agree quality is better, but having to package one file instead of 6 is easier. It will be better when the support for QTVR is finally there.

Mouse scroll wheel support should be easy enough to include (I thought it was there already?). Well, leave it to a couple Mac guys who don't use mouses with buttons, let alone scroll wheels... Wink

The QTVR parsing support is on its way, soon!

Cheers,

Patrick

__________________

Patrick Cheatham
FlashPanos.com creator, Panoramic Photographer
Got PanoSalado?

Scroll Wheel Support

Yes, scroll wheel support is an easy addition. We just don't have scrollwheels on our computers, so I've never seen a panorama zoom with the scroll wheel.....

Yet another item for the list....

Zephyr

__________________

Zephyr Renner