Go to Node via textlink

Q&A about the latest versions
Post Reply
ThomasA3D
Posts: 4
Joined: Tue Sep 08, 2020 6:29 pm

I there a way to make a textlink go to a specific node (and possibly specific view Pan/Tilt)?
As an example this text:
"See here for our compact be..."
Where "here" should lead to another node and Pan/Tilt
I’ve figured out how to insert html code into the text, but the case above is an "internal" link so I don't know how to make it work.
I am pathetic when it comes to any kind of coding (ask me anything about 3D in stead...!) and I’ve been looking at the Code Element but can't wrap my head around it...
User avatar
Tony
Posts: 1356
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Thomas,
I am pathetic when it comes to any kind of coding (ask me anything about 3D in stead...!)
Me I'm the other way around when it comes to Pano2VR but hopless with 3D. (we should work together!)

Okay here's an 2 node example with a text box that has a "href" text link. On the green-grid node it show "Go to Yellow Grid node" and on the yellow-grid node it shows "Go to Green Grid node".

The "Go to Yellow Grid node" opens the yellow-grid node looking straight down using the values Pan: 0, Tilt: -90, FoV: 100 while the "Go to Green Grid node" opens the green-grid node at the default view.

thumbnails-1.jpg
thumbnails-1.jpg (469.64 KiB) Viewed 737 times
thumbnails-2.jpg
thumbnails-2.jpg (767.18 KiB) Viewed 737 times


Working example: https://p2vr.s3.ap-southeast-2.amazonaw ... index.html

I've attached the skin. You just need to set Custom Node ID's

thumbnails-3.jpg
thumbnails-3.jpg (154.87 KiB) Viewed 737 times



Regards,

Tony
Attachments
basic-900-600.ggsk
(1.24 KiB) Downloaded 50 times
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
Hopki
Gnome
Posts: 13207
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Just to add this topic, have a look at this page for more information: https://ggnome.com/doc/pano2vr/guide/tips/dna/
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/
ThomasA3D
Posts: 4
Joined: Tue Sep 08, 2020 6:29 pm

Hi Tony and Hopki

Thanks a lot - this was exactly what I needed and I can make it work now!
The only issue I have now is that once I’ve clicked it the first time, have gone back to another node, returns to the textlink again and click it (and it has the "visited link" color) it doesn't update until I manually hit refresh (CMD R).
User avatar
Hopki
Gnome
Posts: 13207
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Assume the text link colour, see the attached skin.
The code element can be copied in to your skin.
Attachments
skin - Copy - Copy.ggsk
(50.3 KiB) Downloaded 53 times
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/
User avatar
Tony
Posts: 1356
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Nice one Martin, working example updated.

https://p2vr.s3.ap-southeast-2.amazonaw ... index.html

Cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Post Reply