You are not logged in.

Johannes

Beginner

  • "Johannes" started this thread

Posts: 28

Location: South Africa

Occupation: Photographer

  • Send private message

1

Sunday, January 30th 2011, 2:13pm

<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

Friday, February 4th 2011, 8:02am

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:

Source code

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

Thursday, December 5th 2013, 9:12pm

Thx for the code!

4

Wednesday, May 24th 2023, 10:23am

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

5

Wednesday, May 24th 2023, 10:50am

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

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

6

Wednesday, May 24th 2023, 11:18am

hi thanks for the response


how can i enable 'onautorotateoneround' event?

7

Friday, June 2nd 2023, 9:11am

Source code

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


e.g. using the vtourskin.xml:

Source code

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

Tuesday, June 6th 2023, 7:47am

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

Thursday, June 8th 2023, 9:14am

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