EXPERIENCE ONLINE AND OFFLINE PANO2VR TOURS ON YOUR VR HEADSET

Hide hotspot on web, but not in Tourviewer

Started by szilard, May 19, 2023, 19:52:25

Previous topic - Next topic

szilard

Hi!
I have a Pano2VR tour that should be accessible trough web, and as an online tour on Oculus Go as well.
I have some hotspots I need to be able to use in VR, but want them to be hidden in web version.
I tried to set Skin-ID of hotspots to "", and to "ht_hidden", but they still show up on web version. In a previous tour I made a while back, this solution worked, but now it doesn't work.

I tried to create an invisible hotspot in skin, but that made the hotspots disappear in VR version as well.

Does anyone have a solution?
Thanks in advance!

Ruud van Reenen

In VR Tourviewer, if you use _hidden as part of the ID or Skin-ID, the hotspot will be hidden.
So if you'd like to hide a hotspot on web and not in VR Tourviewer, use a different name for the Skin-ID, like ht_hide or ht_invisible. Then you can use that skin-ID to create an invisible hotspot in the skin that will be used on web.

szilard

I made some progress. Now the hotspots are hidden on web version, BUT:
In the main project the hotspots are hidden as well. But when I make a smaller tour from it for testing purposes, they are visible. All I did was delete 90% of nodes to export faster, and it now works.. And I have no idea how to make it work on the original, bigger project..

Quote from: Ruud van Reenen on May 22, 2023, 10:24:36In VR Tourviewer, if you use _hidden as part of the ID or Skin-ID, the hotspot will be hidden.
So if you'd like to hide a hotspot on web and not in VR Tourviewer, use a different name for the Skin-ID, like ht_hide or ht_invisible. Then you can use that skin-ID to create an invisible hotspot in the skin that will be used on web.
Yes I'm using this method, but there was something in the skin that made it not work. After deleting unused controller icons it now hides hotspots in web version. But the newer versions of Pano2VR seem to cause some problems. For me at least. If I find the problem I'll write.

Ruud van Reenen

If you can email me the small and large project file (just the p2vr file, not the entire project) I'll see if I can find the issue.

szilard

Instead of "ht_hidden" I left it empty, now it works. I tried this before, but the skin was faulty then. Now that the skin is good, this is how to make this work.

In the small project I did this and didn't remember, that's why I didn't find this sooner.