Sie sind nicht angemeldet.

1

Montag, 5. Dezember 2011, 20:10

passing yaw position to next panorama

Hi,

I'm trying to set the new scene to the yaw of the closing panorama by hovering the button which leads to this new panorama.
I write :

Quellcode

1
2
onhover="set(pan,get(view.hlookat);trace('PAN : ',get(pan);"
onclick="loadscene(scene0, null, MERGE, BLEND(1)); set(view.hlookat,get(pan)); trace('PAN : ',get(pan);" 

All seems OK to me, but I even not get the pan with trace command... and if I get this pan variable, I don't know if it will set the new panorama to the right yaw.

Any help please?

Thanks,

Phil

panomaster

Fortgeschrittener

Beiträge: 297

Wohnort: Kobyłka, Poland

Beruf: Virtual Tours - Spherical Panoramas - Krpano developer

  • Nachricht senden

2

Dienstag, 6. Dezember 2011, 00:31

Watch your code - you didn't close parentheses.

3

Dienstag, 6. Dezember 2011, 05:15

Hi Panomaster,

Thanks for your response. You're right ! It works now.
So stupid mistake !

Regards

Phil

Ähnliche Themen