Thumbnail menu which removes visited nodes

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Hopki
Gnome
Posts: 9651
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Thumbnail menu which removes visited nodes

Post by Hopki » Tue Mar 12, 2019 9:55 pm

Hi,
There was a Facebook request to be able to remove nodes from a thumbnail menu as you click the thumbnails.
The attached project does this.

To use this just copy the skin elements and place them in your own.
The key parts to this are each node has its node number in its user data "Source" text field, example, node1 = n1, node2 = n2, and so on.

Then each node has tags for all nodes other than its own:
Tags for node1, n2, n3, n4, n5
Tags for node2, n1, n3, n4, n5
Tags for node3, n1, n2, n4, n5
And so on

The skin has a text variable:
Name: ft (filter thumbnails)
Type: Text
Init Value: blank

So here's the clever bit...
When you click a thumbnail this modifies the text variable which gets applied to the cloners tag and filters out the nodes.
Thanks to Thomas for the information that the operation, "Add(+)" can be used with a text variable.
Regards,
Hopki
Attachments
menu.zip
(54.44 KiB) Downloaded 30 times

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

Re: Thumbnail menu which removes visited nodes

Post by stalwart » Tue Mar 12, 2019 11:49 pm

Martin,

How do you even work this shit out??!!!

Just. Too. Clever.

:shock:

Stu

User avatar
Tony
Posts: 817
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Re: Thumbnail menu which removes visited nodes

Post by Tony » Wed Mar 13, 2019 4:04 am

Another great Hopki tutorial skin for the collection :D
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/

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

Re: Thumbnail menu which removes visited nodes

Post by Hopki » Wed Mar 13, 2019 10:59 am

Hi Stu,
I must confess I almost got there but the key part I was missing was the fact you could use the operation Add(+) with a text variable.
Once Thomas had a little play and found the answer all was plan sailing.

The trick with this is to add the comma, so n1,n2,n3.
The the action to add the comma had to me muted until after the first, n1.
This when the action filter came into play.

Yeah as said Pano2VR can be really simple to use but then if you want to dig deep you can.
Sadly I see often on the Facebook user group page, people only see all this kind of stuff and think you have to be a jet pilot to even open the program.
And the amount of people that say all this and have never see the documents or getting started videos!

Hopki

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests