How to create a button that gives the node number of the current pano

Post Reply
User avatar
frostyfriday
Posts: 35
Joined: Mon Jan 29, 2018 5:22 pm
Location: Nanaimo, BC and Portland OR
Contact:

How to create a button that gives the node number of the current pano

Post by frostyfriday » Mon Feb 05, 2018 7:35 am

Is there some way to reveal the node number of the currently displayed pano from within an active tour?

I know I can easily find it from within the tour browser but I want to be able to provide it to a user real time from the tour itself.

This is the scenario:

I am creating a tour with a lot of very boring views of a marina.
The marina manager gets a request for a vacant slip.
They navigate to the slip in the tour, which could take a bit of clicking - it's a big place.
The manager then clicks the "Get link" button which copies the link to their clipboard.
The manager then emails the link to the customer.
The customer opens the link and goes directly to the exact slip the manager wants to show them.

-Dennis

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

Re: How to create a button that gives the node number of the current pano

Post by Hopki » Mon Feb 05, 2018 9:25 am

Hi Dennis,
Use direct node access: https://ggnome.com/wiki/Direct_Node_Acc ... al_Node_ID
Regards,
Hopki

User avatar
frostyfriday
Posts: 35
Joined: Mon Jan 29, 2018 5:22 pm
Location: Nanaimo, BC and Portland OR
Contact:

Re: How to create a button that gives the node number of the current pano

Post by frostyfriday » Mon Feb 05, 2018 8:41 pm

Hi Hopki,

I have already searched this quite a bit and found and viewed that tutorial video and know how to find a node number using the tour browser. That is great but what I would like to be able to do is find the node number programatically.

I probably wasn't clear. Over the years I have had several customers ask for a way to navigate to a particular view in a pano and then right click (or just click an icon) to get a bookmark to that exact view. Kind of like you do with a Facebook/Google/Twitter link button but instead of just linking to the main tour page, it links to that exact view. I personally have wanted to do this as a user with other peoples tours on many occasions. Instead I have to just bookmark their opening pano and then try to remember where the pano I wanted to bookmark is located. Often in a big tour, I just can't find it again.

So what I would like to do in a nutshell is:
Have a way from within a tour to display the url of the current panorama, preferably with it's rotation and zoom.

Thanks for the quick response. I have heard good things about your help from an acquaintance, Tony in Australia, who recommended GGnome over other solutions and said you were very helpful. It would seem he was spot on.

-Dennis
Dennis Frost
-----------------------------------------------------
Awden Photography - http://Awden.com

Virtual tour samples: http://bit.ly/PaintedBoat, http://bit.ly/ShelterPoint, https://roundme.com/embed/hB6FOhIv0JvPfnQhk0F2

User avatar
frostyfriday
Posts: 35
Joined: Mon Jan 29, 2018 5:22 pm
Location: Nanaimo, BC and Portland OR
Contact:

Re: How to create a button that gives the node number of the current pano

Post by frostyfriday » Sun Feb 11, 2018 3:38 am

Hey guys,

Is there any mechanism to display the url of the current panorama, from within the tour?
Dennis Frost
-----------------------------------------------------
Awden Photography - http://Awden.com

Virtual tour samples: http://bit.ly/PaintedBoat, http://bit.ly/ShelterPoint, https://roundme.com/embed/hB6FOhIv0JvPfnQhk0F2

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

Re: How to create a button that gives the node number of the current pano

Post by Hopki » Mon Feb 12, 2018 7:04 pm

Hi Dennis,
Been out of the loop enjoying 23-25 degrees in Tenerife.
Back today in 1 degree UK :( and playing catch up.

In answer to your questions we have an active feature request for being able to use angle data, pan, tilt etc for Direct Node Access.
But not to display it.

However you can add a text box in the skin to display this date.
If you use the place holder: $ap (Angle Pan) $at (Angle Tilt) and $af (Angle FoV) then use $ut (Userdata Title)
You would then use the use data title as the customer node ID.

As and when the feature request gets added the you can just add this to the end of the URL.
Regards,
Hopki

User avatar
frostyfriday
Posts: 35
Joined: Mon Jan 29, 2018 5:22 pm
Location: Nanaimo, BC and Portland OR
Contact:

Re: How to create a button that gives the node number of the current pano

Post by frostyfriday » Mon Feb 12, 2018 8:12 pm

Hi Hopki,

I am originally from South Africa so understand the need for sun this time of year. I am very jealous!

Thanks for the angle, pan & tilt etc pointers. That info will work as a stop gap till the feature is implemented. I had stumbled across $ut and put it in a random text box on a text tour but could only get it to display when I moused over a hotspot icon. It wouldn't just automatically update the text with the info from the currently displayed pano. I am sure that is just some programmatic thing I need to figure out - I am still a newbie to Pano2VR.

Thanks,
Dennis
Dennis Frost
-----------------------------------------------------
Awden Photography - http://Awden.com

Virtual tour samples: http://bit.ly/PaintedBoat, http://bit.ly/ShelterPoint, https://roundme.com/embed/hB6FOhIv0JvPfnQhk0F2

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

Re: How to create a button that gives the node number of the current pano

Post by Hopki » Tue Feb 13, 2018 1:54 pm

HI Dennis,
Here is the list of placeholders.
The $ut place holder in a text box displays the name of the user data title all the time.
The placeholder $hs (HotSpot title) will display the Hotspot Title only when you hover over the hotspot.
So the only thing I can think of is maybe the text box displays when you mouse over the hotspot but the place holder will display the text all the time.

To test add a text box, make sure its visible and then add $ut. Make sure all the nodes have a user data title and it should permanently display the title of the node then the text should change when you visit another node.
Regards,
Hopki

User avatar
frostyfriday
Posts: 35
Joined: Mon Jan 29, 2018 5:22 pm
Location: Nanaimo, BC and Portland OR
Contact:

Re: How to create a button that gives the node number of the current pano

Post by frostyfriday » Tue Feb 13, 2018 3:13 pm

Driving back to BC today. I experiment tomorrow. Thanks.
Dennis Frost
-----------------------------------------------------
Awden Photography - http://Awden.com

Virtual tour samples: http://bit.ly/PaintedBoat, http://bit.ly/ShelterPoint, https://roundme.com/embed/hB6FOhIv0JvPfnQhk0F2

User avatar
frostyfriday
Posts: 35
Joined: Mon Jan 29, 2018 5:22 pm
Location: Nanaimo, BC and Portland OR
Contact:

Re: How to create a button that gives the node number of the current pano

Post by frostyfriday » Fri Feb 16, 2018 11:55 pm

Hopki,

I have a work around for my current job.

I will manually assign each Custom Node ID. This is a bit tedious but doable.

I can show the "Custom Node ID" using $un in a text box.

There are are few things I feel are missing to make direct Node access really useful:
Give us a way to get at the "Node ID" of the currently displayed node programmatically, $node perhaps? or the $y you already use for file paths.
Give us a way to get the base url of the current tour "http://tour.awden.com/2hg4h/index.html" or whatever it is.

I can then easily output that combined info to the user as "http://tour.awden.com/2hg4h/index.html#node47" and they could email that to a customer and say "here, go look at this room of our hotel or slip in a marina or whatever"

You said: "...we have an active feature request for being able to use angle data, pan, tilt etc for Direct Node Access. But not to display it."

I think being able to do that is critical but it does require you to always know what pano is what node with no way to figure it out other than during the building of the tour. To allow for programming flexibility I think we should be able to read the Node ID, angle, pan. tilt etc as well as the url and then be able to use it with a direct access.

A side note, when I hover over the blue "Custom Node ID:" info icon, I get a popup that reads: "To see what you can do with custom node ID's, click here. (Click on the info icon to open the documentation.)"
When I click the icon my Chrome opens:

Code: Select all

http://localhost:8080/doc_redir/glossary/custom-node-id/
Which displays:

Code: Select all

403 Forbidden
unknown prefix 'doc_redir'

go to index
The other blue icons work.

-Dennis
Dennis Frost
-----------------------------------------------------
Awden Photography - http://Awden.com

Virtual tour samples: http://bit.ly/PaintedBoat, http://bit.ly/ShelterPoint, https://roundme.com/embed/hB6FOhIv0JvPfnQhk0F2

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests