View only selected panoramas on autorotate

Q&A about the latest versions
Post Reply
SAwity
Posts: 15
Joined: Fri Sep 07, 2018 9:38 am

Tue Mar 17, 2020 6:40 am

Hello Team Pano2VR,

I am building a multi tour project with individual sub tours, based off this project by Hopki viewtopic.php?f=13&t=14112.

I am running into a little problem, however. When viewing the tour and i start autorotate, it first plays through the selected sub tour panoramas, then plays through the others as well. Is there a way to limit the autorotate to just the panoramas i want to see?

Thanks in advance
User avatar
Hopki
Gnome
Posts: 9924
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Tue Mar 17, 2020 8:01 pm

Hi,
What you can do is use the animation editor.
You can set up multiple sequences, each sequence can represent each sub tour.
The Auto Rotate button would then have a Start Animation action for each sequence.
But use an action filter so it looks at tags.

As an example, have tags, tourA, tourB and tourC.

You can have one button with three start animation actions to play each sequence, but each to have an action filter.
So while in any nodes with the tag tourB, only the start animation sequence for that sub tour will start.
Regards,
Hopki
SAwity
Posts: 15
Joined: Fri Sep 07, 2018 9:38 am

Thu Mar 19, 2020 7:33 pm

Awesome, thanks Hopki!
User avatar
Hopki
Gnome
Posts: 9924
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Thu Mar 19, 2020 9:44 pm

Had a bit more of a play with this.
Please see the attache project.

I am using Tags A and B, nodes 1, 2 and 5 have A and nodes 3 and 4 has B.
The HTML5 output has to have the auto-rotate set.

The Stop autorotate button has a config loaded action to stop the auto rotate on open.

The 1, 2, 5 button when pressed starts the autorotate but also has a Javescript call to use the Tag A
Button 3, 4 starts the autorotate using tag B.

Regards,
Hopki
Attachments
test_Auto_rotate.zip
(54.13 KiB) Downloaded 1 time
Post Reply