Page 1 of 1

View only selected panoramas on autorotate

Posted: Tue Mar 17, 2020 6:40 am
by SAwity
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

Re: View only selected panoramas on autorotate

Posted: Tue Mar 17, 2020 8:01 pm
by Hopki
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

Re: View only selected panoramas on autorotate

Posted: Thu Mar 19, 2020 7:33 pm
by SAwity
Awesome, thanks Hopki!

Re: View only selected panoramas on autorotate

Posted: Thu Mar 19, 2020 9:44 pm
by Hopki
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

Re: View only selected panoramas on autorotate

Posted: Mon Apr 27, 2020 10:08 pm
by SAwity
This is great Hopki! Thank you!