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.

Johannes

Anfänger

  • »Johannes« ist der Autor dieses Themas

Beiträge: 28

Wohnort: South Africa

Beruf: Photographer

  • Nachricht senden

1

Sonntag, 30. Januar 2011, 14:13

<autorotate>

Hi there.

Im busy implementing the auto rotate function of a pano is it possible to have the pano to auto rotate at start or completion of loading and then the moment the user click on pano to move manually it must stop auto rotating for like 60secs and then auto rotate again.

Is it possible ?

Code below :

<action name="onstart">
set(autorotate.waittime, 0);
</action>
<events onviewchange="set(autorotate.waittime, 5)"/>


Tried code above but doesn't work can some one advise please :)
Johann Victor.
Virtual Tour Photographer.
http://www.virtualtours360.co.za/
http://virtualtourphotographer.net

+27828552611

2

Freitag, 4. Februar 2011, 08:02

Hi!

If i got it right, you want to change the wait time of autorotate to be 60 sec? This can be easily done with this code:

Quellcode

1
2
3
4
5
6
7
    <autorotate enabled="true" 
            waittime="1.0" 
            accel="1" 
            speed="3"
            horizon="0" 
            tofov="90" 
            />


Just change waittime to be your wanted value and it will affect the autorotate :) Check the documentation for autorotate here

Hope this helped!

Regards,
Jesse Passoja
Nelike Imagery
www.inelike.fi
Jesse Passoja
Passoja design
www.passojadesign.com

3

Donnerstag, 5. Dezember 2013, 21:12

Thx for the code!

4

Mittwoch, 24. Mai 2023, 10:23

after one rotate can it change to next pano???

5

Mittwoch, 24. Mai 2023, 10:50

after one rotate can it change to next pano???

There is an 'onautorotateoneround' event for this:
https://krpano.com/docu/xml/#events.onautorotateoneround

6

Mittwoch, 24. Mai 2023, 11:18

hi thanks for the response


how can i enable 'onautorotateoneround' event?

7

Freitag, 2. Juni 2023, 09:11

Quellcode

1
<events onautorotateoneround="...your code..." />


e.g. using the vtourskin.xml:

Quellcode

1
<events onautorotateoneround="skin_nextscene_loop(+1);" />


Or simply enable the 'autotour' setting in the <skin_settings> in the tour.xml - then this will be done automatically (look for 'autotour' in the vtourskin.xml for details).

8

Dienstag, 6. Juni 2023, 07:47

thanks its working
and also the transition from one pano to another is default now

is there any possibility to change transition settings to something like GTransition ??

thanks

9

Donnerstag, 8. Juni 2023, 09:14

thanks its working
and also the transition from one pano to another is default now

is there any possibility to change transition settings to something like GTransition ??

thanks
please let me know if its possible or not


thanks