Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Mittwoch, 21. Oktober 2009, 11:27

onviewchange & moveto

Hi Klaus,

I coded a compass for my actual pano-tour (landscape scenes) and - after defining values for "noth" for each scene - it does the job as expected (driven by onviewchange...).
I now added an onclick action to the compass to move the pano to the north view which also works fine (using moveto) but: during this move the compass "freezes" - it seems not to recieve onviewchange events for this period. After the move has finished the compass quickly jumps to show up the right corresponding direction (north of course).
Is there a way to have the compass rotationg simulatniously during the move-action?

thanx!
best regards from www.PanAustria.com

2

Mittwoch, 21. Oktober 2009, 11:31

Hi,
Is there a way to have the compass rotationg simulatniously during the move-action?
the moveto/lookto/zoomto actions are 'blocking' actions (for 'historic' reasons, I plan to make also non-blocking ones),
that means during these actions no other action code will be processed (e.g. onviewchange),

to get it working, using tween() instead of moveto/lookto would be a way...

best regards,
Klaus

3

Mittwoch, 21. Oktober 2009, 11:50

Thank you, i´ll try this with a tween ...
best regards from www.PanAustria.com