Sie sind nicht angemeldet.

Boubou

Schüler

  • »Boubou« ist der Autor dieses Themas

Beiträge: 67

Wohnort: Paris

Beruf: Photographer

  • Nachricht senden

1

Freitag, 19. August 2011, 11:58

[Solved] Play two panoramas simultaneously

I would like to have two panoramas side by side in the same window (eg. summer/winter)...
An idea of ​​how to achieve this?
Thanks a lot to help me ;-)

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Boubou« (22. August 2011, 18:42)


jpdeglet69

Fortgeschrittener

Beiträge: 215

Wohnort: France

Beruf: VR Maker and Document Management Expert

  • Nachricht senden

2

Freitag, 19. August 2011, 14:58

Hi,

Download Examples from krPano and have a look on

examples/javascript-interface/js-sync/syncscreen.html

Two panoramas syncronised on same HTML page.
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://eleana.online

Boubou

Schüler

  • »Boubou« ist der Autor dieses Themas

Beiträge: 67

Wohnort: Paris

Beruf: Photographer

  • Nachricht senden

3

Freitag, 19. August 2011, 17:24

Thanks jpdeglet69 ;-)

I knew that those examples existed, but I could not find its *thumbsup*

Boubou

Schüler

  • »Boubou« ist der Autor dieses Themas

Beiträge: 67

Wohnort: Paris

Beruf: Photographer

  • Nachricht senden

4

Samstag, 20. August 2011, 16:56

Hi,

Impossible to get the two panoramas moving simultaneously *wacko*
Each one move, yes, but not together *confused*
An idea? ;-)

5

Samstag, 20. August 2011, 18:26

Hi,

are you testing locally?
if yes, the Flashplayer security settings need to be changed (the syncing is done via Javascript and the Javascript interface of the Flashplayer is locally only available after adding the folder of the swf to the trusted folders),

see here for details:
http://krpano.com/docu/localusage/

best regards,
Klaus

Boubou

Schüler

  • »Boubou« ist der Autor dieses Themas

Beiträge: 67

Wohnort: Paris

Beruf: Photographer

  • Nachricht senden

6

Samstag, 20. August 2011, 19:54

Hi Klaus,

No, it is on the web and all is good exept the panoramas don't move together...
"Here's the trouble "

Best regards

Laurent

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Boubou« (20. August 2011, 20:25)


Boubou

Schüler

  • »Boubou« ist der Autor dieses Themas

Beiträge: 67

Wohnort: Paris

Beruf: Photographer

  • Nachricht senden

7

Montag, 22. August 2011, 09:43

Hi,

Can anybody tell me what's going wrong?
I repeat exactly the example of KRPano (exept the width & height) and... *question* *cursing*

Thanks a lot ;-)

jpdeglet69

Fortgeschrittener

Beiträge: 215

Wohnort: France

Beruf: VR Maker and Document Management Expert

  • Nachricht senden

8

Montag, 22. August 2011, 10:33

Hi boubou,

Are you sure to have managed in your two pano.xml

<events onmousedown="set(syncother,true); events.onviewchange();"
onmousewheel="events.onmousedown();"
onviewchange="if(syncother, js( sync_1to2() ) );"
/>
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://eleana.online

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »jpdeglet69« (22. August 2011, 10:45)


Boubou

Schüler

  • »Boubou« ist der Autor dieses Themas

Beiträge: 67

Wohnort: Paris

Beruf: Photographer

  • Nachricht senden

9

Montag, 22. August 2011, 10:55

Hi jpdeglet69 ;-)

Yes, you can have the source of the html page and here's the code of one xml (the second is the same exept the "<area>"

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<krpano syncother="true" onstart="ifnot(haveexternalinterface, error('ExternalInterface (Javascript Interface) not avaiable!  check your Flashplayer security settings see: http://krpano.com/docu/localaccess/'));">
	
	<panoview h="0" v="0" fov="90"/>

	<view fisheye="0" limitview="range" hlookatmin="-180" hlookatmax="180" vlookatmin="-90" vlookatmax="90" fovmin="60" fovmax="110" fov="90" hlookat="0" vlookat="0"/>
	<progress showload="none" showwait="none"/>

	<preview url="pano1data/pano10/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" details="16"/>

	<image type="CUBE" multires="true" tilesize="955" baseindex="0">
    	<level tiledimagewidth="1910" tiledimageheight="1910">
        	<left url="pano1data/pano10/3/1/%v_%u.jpg"/>
        	<front url="pano1data/pano10/0/1/%v_%u.jpg"/>
        	<right url="pano1data/pano10/1/1/%v_%u.jpg"/>
        	<back url="pano1data/pano10/2/1/%v_%u.jpg"/>
        	<up url="pano1data/pano10/4/1/%v_%u.jpg"/>
        	<down url="pano1data/pano10/5/1/%v_%u.jpg"/>
    	</level>
    	<level tiledimagewidth="955" tiledimageheight="955">
        	<left url="pano1data/pano10/3/0/%v_%u.jpg"/>
        	<front url="pano1data/pano10/0/0/%v_%u.jpg"/>
        	<right url="pano1data/pano10/1/0/%v_%u.jpg"/>
        	<back url="pano1data/pano10/2/0/%v_%u.jpg"/>
        	<up url="pano1data/pano10/4/0/%v_%u.jpg"/>
        	<down url="pano1data/pano10/5/0/%v_%u.jpg"/>
    	</level>
	</image>
	
	<area x="0%" width="200%"/>

	<events onmousedown="set(syncother,true); events.onviewchange();" 
	onmousewheel="events.onmousedown();" 
	onviewchange="if(syncother, js( sync_1to2() ) );"/>
   
</krpano>

jpdeglet69

Fortgeschrittener

Beiträge: 215

Wohnort: France

Beruf: VR Maker and Document Management Expert

  • Nachricht senden

10

Montag, 22. August 2011, 12:37

Strange Laurent,

Following the Klaus's example code,
I do a similar test with my own panoramas

It's running *confused*
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://eleana.online

Boubou

Schüler

  • »Boubou« ist der Autor dieses Themas

Beiträge: 67

Wohnort: Paris

Beruf: Photographer

  • Nachricht senden

11

Montag, 22. August 2011, 13:29

As you say, stange *confused* *blink* *g*

12

Montag, 22. August 2011, 18:24

Hi,
No, it is on the web and all is good exept the panoramas don't move together...
"Here's the trouble "
try to use the original krpano.swf file,
the swf files from Panotour have the Javascript Interface disabled by default (like when checking the Disable Javascript Interface option in the kprotect Tool),

best regards,
Klaus

Boubou

Schüler

  • »Boubou« ist der Autor dieses Themas

Beiträge: 67

Wohnort: Paris

Beruf: Photographer

  • Nachricht senden

13

Montag, 22. August 2011, 18:41

Thanks a lot Klaus!!!

My first good night since 3 days *rolleyes* *thumbsup*

Best regards,

Laurent

jpdeglet69

Fortgeschrittener

Beiträge: 215

Wohnort: France

Beruf: VR Maker and Document Management Expert

  • Nachricht senden

14

Montag, 22. August 2011, 22:18

Following the idea,

For fun *rolleyes*, the same panorama with a mirror to view back
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://eleana.online

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »jpdeglet69« (22. August 2011, 22:49)


Boubou

Schüler

  • »Boubou« ist der Autor dieses Themas

Beiträge: 67

Wohnort: Paris

Beruf: Photographer

  • Nachricht senden

15

Mittwoch, 24. August 2011, 08:23

Hi,

Very funny *thumbup*
It is also possible to get a window with a magnifying glass in the middle *thumbsup*

jpdeglet69

Fortgeschrittener

Beiträge: 215

Wohnort: France

Beruf: VR Maker and Document Management Expert

  • Nachricht senden

16

Mittwoch, 24. August 2011, 10:10

Hi,

Very funny *thumbup*
It is also possible to get a window with a magnifying glass in the middle *thumbsup*


YES *tongue* in this other thread
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://eleana.online

17

Donnerstag, 21. März 2013, 20:17

the swf files from Panotour have the Javascript Interface disabled by default (like when checking the Disable Javascript Interface option in the kprotect Tool),
A old thread, but is it possible to activate the javascript interface in the panotour swf ?

Thanks!!

18

Donnerstag, 21. März 2013, 20:32

Hi,

I'm not sure if this is still true for the current Panotour version, but so far I know, you need to enable the domain limitations in Panotour to enable the Javascript interface.

Or an other way - just use the krpano.swf instead.

Best regards,
Klaus