PDA

View Full Version : Pano synchronizing plugin


allSaints
11-25-2010, 05:38 PM
Hi,

I have been experimenting a bit with plugins for synchronizing FPP panos.

The latest one that I tried makes use of the ExternalInterface API and proved to be surprisingly fast. It is working with the concept of one master pano and any number of slave panos that follow every panning, tilting and zooming movements of the master.

In my test page (http://wirestam.com/panos/Flash/panosync/synctest2.html) I have disabled all controls in the slaves with disableControls="1" not to confuse any viewers.

I would like to hear some of your viewpoints and questions.

Tommy

Edit: Link does not work anymore - use new link in post below.

sapper
11-25-2010, 08:14 PM
Tommy you are a genius, for a before and after effect this is perfect.

Thanks again,

sapper

zakato
11-26-2010, 09:45 AM
Very nice Tommy! ... I could think of a table top pano with as many panos as people around ... rotating the master will rotate the other panos too so that you get a people carrousel sort of thing ?!?!?!?!? ... just a quick thought! :)

thanks again Prof!

Antonio

visionman
11-30-2010, 12:29 PM
Hi Tommy,

This looks really great.

Could it also be used in the case where you have a low res pano load first, followed by a high res version of the same pano. I have tried to do this before, but can never synch the 2 panos. The result is that if a user starts to pan the low res version before the high res version has loaded, the 2 panos become out of synch, so you get a ghosting effect.

Thanks

Visionman

discocandy
11-30-2010, 12:45 PM
it would be so cool to have a slider where you can use a synced pano in one view. Like a day/night transition orbefore After. and you can deside yourself which one to look and slide it into view.
saw that on a krpano.
probably need a rewrite of the pano.swf to do that.
klick on the right botom house to open up a sample.
http://www.virtualnorthland.com/beta2/present/nclt/intro.html

link was provided by trausti to me so he is aware of this possibility in krpano

allSaints
12-07-2010, 02:54 PM
I have made a new version of the plugin which makes it possible to pan and zoom in all of the synchronized panos.

This (http://wirestam.com/panos/Flash/panosync/synctest3.html) test page shows 3 seasons from the same point (winter is coming soon). It also tells the html page which pano is active (just to show that it's easy to do).

Tommy

Virtualguide
12-07-2010, 03:27 PM
I have made a new version of the plugin which makes it possible to pan and zoom in all of the synchronized panos.

This (http://wirestam.com/panos/Flash/panosync/synctest3.html) test page shows 3 seasons from the same point (winter is coming soon). It also tells the html page which pano is active (just to show that it's easy to do).

Tommy

very nice plugin

zakato
01-15-2011, 10:05 PM
I have made a new version of the plugin which makes it possible to pan and zoom in all of the synchronized panos.

This (http://wirestam.com/panos/Flash/panosync/synctest3.html) test page shows 3 seasons from the same point (winter is coming soon). It also tells the html page which pano is active (just to show that it's easy to do).

Tommy

winter is here already! ... what a lovelly example this is! ... thanks Prof!

gr.panorama
01-21-2011, 07:57 PM
Very nice plugin Tommy,
I m trying to reproduce your example, but it seems i m missing something.
Is there any chance to have at this stage access to attributes and control info, or a zip file like in your other plugins? I d like to try it on a "before-after" project for interior decoration.
Thanks in advance,
Minos

allSaints
01-22-2011, 09:34 AM
Hello Minos,

as a matter of fact, I had forgotten to add this plugin to my plugin page (Alzheimer, you know :)).

But I'm glad you reminded me, so you can now download it here (http://wirestam.com/panos/Flash/plugins/panosync.html).

Tommy

gr.panorama
01-22-2011, 06:51 PM
Much appreciated Tommy.
Minos

seeinside360
01-23-2011, 02:13 PM
Really great plugin as it always Tommy do it agan. Thanks

gr.panorama
01-27-2011, 10:40 AM
Works like a charm Tommy.
My test here: http://tinyurl.com/6h5ak4z
A few more questions:

a) Is it possible to embed it using the "so.addVariable" technique?
That way i have managed to have virtual tours display offline
with "flashvars" I can't.
(btw Anyone that could start a new thread, listing all the ways to embed FPP with pros and cons all in one place I think would be very usefull topic. Or maybe in the future tutorials
b)The toolbar hotspots synchronise all fine, except the info button does not. Is it possible to have other hotspots too, (synchronus and asynchronus) like arrows leading to other panos, image hotspots opening still photos? ( I tried with opening new pano without success since the new pano has to be named and embeded with javascript somehow).

Thanks in advance,
Minos

allSaints
01-27-2011, 01:01 PM
I'm glad you got it working, Minos,

but when I use Firefox I just get a black screen with "Before" and "After" at the top - no panos. In IE it seems to work OK.

Regarding your first question, I'm not the right person to give you an answer - I have no experience from these matters as I don't build any offline tours (and hardly any online tours). And maybe I misunderstand your question, but I guess you can do anything with SWFobject 2 that you can do with the older 1.5 version.

As for your second question, I don't know what you expect the info button to do. This is a pano movement sychronizing plugin - it is not supposed to send any other commands between your panos. It knows nothing about any hotspots - it just traps the panning, tilting and zooming commands in the master pano and transmits them to the slave panos.

Tommy

gr.panorama
01-27-2011, 02:00 PM
-Thanks you are right Tommy,
on chrome and safari it shows fine,
on firefox it does not work
on ie it shows with very short hight
so i assume the issue is that
i messed up the style somewhere.
-Ok is clear now that any hotspot
or "loadPano()" should be considered individually.
-But i also tried gobedroom="loadPano(panoName=pano1a)" and <spot id="gobedroom" url="images/go.png" pan="106.00" tilt="-25.00" depth="20" blockMouse="1"onClick="global.gopbedroom()"/> and loading failed. But anyway since this cannot load another pano on the 2nd window too, is better just to link it to another html set of synchronised panos.
-The 2 SFWObjects seem very different to me and I cannot easily convert between them, as I do not understand javascript and code, so I guess is time for me to read more abour the new one as I have been layed back on 1.5. I know there are plenty of posts and examples here, as well as on your pages.
Thanks again,
Minos

allSaints
01-28-2011, 03:08 PM
I discovered there was an error in the panosync plugin when loading new panos. So, I have fixed this in the 2.0.1 version that can be downloaded here (http://wirestam.com/panos/Flash/plugins/panosync.html).

There is a new test page (http://wirestam.com/panos/Flash/panosync/synctest4.html) with two synchronized panos. It shows that you can also load new panos and keep the synchronization.

Tommy

Cameleer
01-30-2011, 01:29 PM
I?m trying to synchronize 2 photos for a stereoscopic panorama view, but I have not been able to get them to link, all I get is 2 impendent panos. I have gone over and over the code but just can?t find what?s wrong.
http://www.indiavrtours.com/vrphotos/3d2.html

Thanks for looking,
Roger

allSaints
01-30-2011, 03:32 PM
Roger,

when I set up your files on my own computer, the synchronization worked perfectly.

And I have the ability to let the panos melt together by looking at them cross-eyed - I just have to let them change places. But then I got a real 3D pano - really interesting!

Please check that you have the latest version of the plugin.

Tommy

Cameleer
01-31-2011, 05:32 AM
Thanks Tommy,
Your new plugin did the trick.
Now I can work on improving my 3D photos.

Roger

kbellis
02-02-2011, 08:38 PM
This sounds very interesting Roger. I tried crossing my eyes but that didn't seem to do much... is the http://www.indiavrtours.com/vrphotos/3d2.html the working 3D version?

allSaints
02-02-2011, 08:52 PM
Kelly, when using the cross-eyed method you have to let the panos change places, because you see the right pano with your left eye and vice-versa. Takes a bit of practice to get used to. :)

Tommy

Cameleer
02-03-2011, 06:08 AM
This sounds very interesting Roger. I tried crossing my eyes but that didn't seem to do much... is the http://www.indiavrtours.com/vrphotos/3d2.html the working 3D version?

Hi Kelly,
I did not set that one up for cross-eye viewing, you need some special glasses to view it.
Here is one with the images switched around for cross-eye viewing.
http://www.indiavrtours.com/vrphotos/3d3.html

I didn?t have time to set these images up right for good 3d viewing before I had to be at work for one week, I will be spending more time on them soon and setting them up right.

Roger

allSaints
02-03-2011, 08:21 AM
Roger,

I don't think the last link (3d3) is any different from the previous one (3d2).

Tommy

Cameleer
02-03-2011, 09:20 AM
Roger,

I don't think the last link (3d3) is any different from the previous one (3d2).

Tommy

You're right, it didn't change the images around. I tried changing the names to the 2 xml pages, that didn't work (I changed them back) Then I tried changing the red part of the code putting pano2 on top, that also didn't work.
<div id="container">

<div id="pano2" class="pano">
<div id="flashsummer">

<p>
This content requires <a href="http://www.adobe.com/go/getflashplayer/">Adobe Flash Player</a> and a browser with JavaScript enabled.<br />
</p>
</div>
</div>


<div id="pano1" class="pano">
<div id="flashspring">

<p>

allSaints
02-03-2011, 09:26 AM
No, that didn't work because the positioning is decided by CSS.

I think it's easiest to change the loadPano's in the xml files.

Tommy