Sie sind nicht angemeldet.

1

Donnerstag, 11. Juni 2009, 17:37

Simultaneous panorama play/view

Is it/Would it be possible to handle two panoramas at once simultaneously? E.g.: Client moves the first panorama and the other behaves like the 1st.

Thx in advance!

AEnima
Hungary

Shanti

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

2

Donnerstag, 11. Juni 2009, 19:12

I am sure it can be done, but I am not sure how accurate, using javascript you could pass the values from one to the other.

I'll try to make an example.

3

Donnerstag, 11. Juni 2009, 19:27

I have to make a panomorphing with two panos (first on work and the second after the work), if you have somes issues

Shanti

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

4

Donnerstag, 11. Juni 2009, 19:38

here is the example :)

http://mundopano.com/test/javascript2.html
I modified the JS2 example that came with krpano.

basically you need to copy the swfobject code to create another instance, name it krpano2.

then modifiy the javascript code to this

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
function krpano() 
	{
		return document.getElementById("krpanoSWFObject");
	}
	
	function krpano2() 
	{
		return document.getElementById("krpanoSWFObject2");
	}
	
	function getlookat()
	{
		var hlookat = Number( krpano().get("view.hlookat") );
		var vlookat = Number( krpano().get("view.vlookat") );
		var fov     = Number( krpano().get("view.fov")     );
		
		krpano2().set("view.hlookat",hlookat);
		krpano2().set("view.vlookat",vlookat);
		krpano2().set("view.fov",fov);


click on "click to continuous get lookat"

I think this could be posible with a AS3 plugin, using events it should be much smoother.

:)

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

5

Sonntag, 14. Juni 2009, 08:58

That could be fun to play with.

Place the two panos side by side... one a day shot, the other a night view... or two different seasons... or for some remodeling demos... etc...

Could have some creative fun with it as well... have them stacked on top like the demo... but flip / invert / rotate to make the bottom the mirror image of the top... and then just go get stupid dizzy. That pano klaus used for the 3d sound demo would look great like that *g*

Nice idea AEnima and good demo Shanti.

*thumbsup*

olihar

Schüler

Beiträge: 132

Wohnort: Iceland

Beruf: Interaction Designer

  • Nachricht senden

6

Sonntag, 14. Juni 2009, 10:02

Possibilities with that idea are endless, thanks for sharing this example.

7

Montag, 6. Juli 2009, 10:03

Thanx a lot!

Hello Shanti,

thanx for the sollution! That's great! Sorry for not responding for such a long time! There's only one problem with this that the 2nd panorama isn't so smooth and its quality is always low. Could it be smoother and the quality high?
Thanx in advance!!!

AEnima

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

8

Dienstag, 7. Juli 2009, 07:21

Not sure about making it smoother... there's lots of simultaneous processing going on in that case.

You can change the quality with the display properties... movequality / stillquality... ref link: http://www.krpano.com/docu/xml/#display

But - bumping the movequality to high is likely to increase the bumpiness.

I think the overall quality / speed would improve by scaling down the "stages"... but haven't tried.

9

Dienstag, 7. Juli 2009, 12:47

Hi,

it should be possible to use the "onviewchanged" event to make it smoother, then the updates are intermediately,

and the problem of always "low" quality should be also fixed with that (it was always low because the view variables were always updated by the timer, even if there was no moving),

I'm trying to prepare an example for that,

best regards,
Klaus

10

Dienstag, 7. Juli 2009, 12:57

Hi, Klaus

how to make a panomorphing automaticly (change night to day light or before and after work) with 2 pano *confused*

11

Mittwoch, 8. Juli 2009, 12:37

This is something I'm interessed too.

There is a famous example with spi-v viewer :

http://fieldofview.com/spv/show.php?dcr=…le=euromast.xml
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

12

Mittwoch, 8. Juli 2009, 12:43

There is another exemple here :

http://www.360icon.com/VR/SPiV.html

Really really great !
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

13

Mittwoch, 8. Juli 2009, 14:18

Theses examples are good, but i don't want this kind of view, when you turn the pano it change of view automaticly

14

Freitag, 10. Juli 2009, 19:45

a example

turn on right or left side at 180°and 360° change view *g*

but I don't want this stop

15

Mittwoch, 22. Juli 2009, 15:52

BTW is it possible that 2 flash application talks together ? with Externalnterface for instance ? or do we necessessarily need javascript ?

Thanks !
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

16

Donnerstag, 23. Juli 2009, 14:49

BTW is it possible that 2 flash application talks together ? with Externalnterface for instance ? or do we necessessarily need javascript ?

Thanks !


I have my answer : yes with the localconnection class !
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).