virtual tour and alternate panoramas #1559
Replies: 3 comments 2 replies
-
I don't see any easy way to that currently, a Virtual Tour node is tied to a single one panorama image. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your really fast answer ! then for my special use case, I'll just implement what I described in my first comment I had another idea, though, which was something like :
That seems quicker but awfully messy |
Beta Was this translation helpful? Give feedback.
-
So, basically, I made my own plugin which shows a button on the Navbar, this plugin button's onClick dispatch an event, which allows me to swap between my two array of nodes. Works perfectly, it doesn't keep the current node id, but it was trivial to get it from getCurrentNode et give it to setNodes. It really works seamlessly, and as bonus it keeps the current yaw/tilt. Thank you for your time |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm working on a project that allows you to virtually visit a place. Everything works great, photo sphere viewer and, of course, the virtual tour plugin makes it extremely easy to implement. I want to offer alternate panoramas, you could think of it as a night and day switch. I understand how you can load another panorama, but I don't want the user to lose the context of the current visit.
My first idea was to modify the virtual tour plugin to take another property for nodes (eg:
panorama_alt
) and then make a button plugin allowing to switch betweenpanorama_alt
andpanorama
.I read the docs and I didn't find a way to accomplish this feature, and I have no problem implementing it, but, before starting this, can you confirm there is no other way to do it ?
Beta Was this translation helpful? Give feedback.
All reactions