How to hide tour thumbnails on startup?

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Dirk Schenk
Posts: 12
Joined: Sat May 14, 2011 3:24 pm
Location: Dortmund, Germany

Sun Nov 25, 2018 12:12 am

Hello,
is it possible to hide the thumbnails of the panos, that were shown above the simplex_V6 controller on startup?
I know that i can disable the complete function in the skin configuration but i only want that the thumbnails are hided at startup and can be shown by pressing the dedicated button in the controller afterwards.

regards
Dirk
User avatar
Hopki
Gnome
Posts: 10978
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Sun Nov 25, 2018 8:54 pm

Hi Dirk,
The packaged skins are quite complex but were designed so people could modify them for their own use using the skin configuration button.
To walk you through this, have a look at the action to show and hide the thumbnail menu.
You will see two, one for the computer version and one for mobile.
The action is a Not(¬) which is a toggle action toggling the variable between true and false.

So knowing the thumbnail menu is visible on open, the default variable must be true.
To hide the menu on open the default needs to be changed to false.

Click in a blank area of the skin canvas to see all the variable.
When building the skin I used the following name prefix:
opt_ for skin configuration options
vis_ for any variable that will be used to show and hide elements
pos_ to change the position of an element

So what your looking for is the variable, this is displayed in the hide and show thumbnail button:
Source: Mouse Click
Action: Set Variable Value
Variable Name: vis_thumbnail_menu_show
Operation: Not(¬)

So in the list of vis_ variables find, vis_thumbnail_menu_show and change the default from true to false.

Screenshot 2018-11-25 at 19.34.36.png
Screenshot 2018-11-25 at 19.34.36.png (64.02 KiB) Viewed 1050 times

The skin is write protected so save the skin to your project folder.

The attached skin:
What I have done is set the variable: vis_thumbnail_menu_show to be Exposed.
I then gave it the description: Show Thumbnail Menu on open
I then moved it under the variable: opt_thumbnail

So under the Skin configuration button you now have the options:

Screenshot 2018-11-25 at 19.45.10.png
Screenshot 2018-11-25 at 19.45.10.png (69.97 KiB) Viewed 1050 times

The default in the attached skin is "Show thumbnail menu on open" is deflected, just check this to show it on open.
Regards,
Hopki
Attachments
silhouette_v6_thumbnail_hide.ggsk
(82.35 KiB) Downloaded 52 times
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Dirk Schenk
Posts: 12
Joined: Sat May 14, 2011 3:24 pm
Location: Dortmund, Germany

Tue Nov 27, 2018 6:48 pm

Hello Hopki,
works great. Thanks you very much!

Dirk
User avatar
stalwart
Posts: 649
Joined: Thu Oct 02, 2008 11:52 am

Wed Nov 28, 2018 10:51 am

I do something similar the "old fashioned way" of show / hide elements (only 'cos I hadn't realised Martin is 14 steps ahead of me already and done this with the packaged skins!).

http://www.360imagery.co.uk/portfolio/st-georges-park/

Last time I looked at a Pano2VR Skin, it looked like this...!! Back in the day....... :D :D :D :D :D

Image
Post Reply