Multiple Gallery Hotspots

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Ink8455
Posts: 30
Joined: Tue Nov 29, 2016 10:34 am

Multiple Gallery Hotspots

Post by Ink8455 » Wed Jun 28, 2017 4:17 am

Can anyone help?

I'm trying to add multiple gallery hotspots to a project. Unfortunately, I can only open up the original gallery hotspot images or none at all.

So far,

I’ve opened up Hopki's Gallery Hotspot project.
I have added a folder of images called gallery_1 to the project folder and to the output folder.
Images within the folder have been renamed img_00 onwards.
In the project, I have added a new hotspot

I’ve copied the original gallery hotspot in skin editor and renamed it ht_gallery_1

I’ve added Variables
Gallery_1_show_hide True / False False
Gallery_1_pictures Number 0


In the ht_gallery_1 Actions, I’ve added


Mouse Click Set Variable Value Se(-) true galery_1_show_hide
In the Logic Block Settings, I’ve added the following

*gallery_show_hide _ true And
*gallery_1_show_hide _ true


Screen shots below

What am I doing wrong?


Many thanks in advance.
Attachments
Capt5.JPG
Capt5.JPG (43.42 KiB) Viewed 220 times
Capt4.JPG
Capt4.JPG (31.5 KiB) Viewed 220 times
Capt3.JPG
Capt3.JPG (33.99 KiB) Viewed 220 times
Capt2.JPG
Capt2.JPG (263.07 KiB) Viewed 220 times
Capt1.JPG
Capt1.JPG (27.34 KiB) Viewed 220 times

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

Re: Multiple Gallery Hotspots

Post by Hopki » Thu Jun 29, 2017 2:53 pm

Hi,
I have made a small project.
This uses gallery folders gallery00 and gallery01 which has etc be aded to the output folder after creation.

When you add the second Gallery component you are asked weather to use the same variable or not.

Screen Shot 2017-06-29 at 13.47.24.png
Screen Shot 2017-06-29 at 13.47.24.png (22.55 KiB) Viewed 195 times
You need to Rename the variable, you will be asked a few times for each element that uses it.

Open each external loader and modify the path to the gallery, example the element gallery_picture00 under the URL has the path:
gallery00/img_00.jpg
gallery00/img_01.jpg
etc.

Don't forget to update the Preloader found in the gallery_controler container to include the new path.
Regards,
Hopki
Attachments
gallery.zip
(777.35 KiB) Downloaded 31 times

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests