Sie sind nicht angemeldet.

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

1

Donnerstag, 7. November 2019, 22:18

vr="true" ???

Howdy Klaus,

In v1.20.x XML I often see a layer attribute of "vr" which seems always to be set "true." (So, default = false?) I haven't found documentation on this. What is this for?

Beiträge: 770

Wohnort: Russian Federation

Beruf: Interpreting, Building virtual tours

  • Nachricht senden

2

Freitag, 8. November 2019, 09:57

Hi)

It's used inside 'webvr_hide_all_non_vr_layers' action inside webvr.xml

this param decides which layers to show in VR mode (on mobile obviously).
Regards,

Alexey

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

3

Freitag, 8. November 2019, 16:33

Thanks Alexey,

I had wondered if it could be something like that. Could find nothing in the WebVR docs so did a test using a layer with vr="true" and it still disappeared in VR mode. So still don't understand what exactly it does and how to use it.

Beiträge: 770

Wohnort: Russian Federation

Beruf: Interpreting, Building virtual tours

  • Nachricht senden

4

Montag, 11. November 2019, 08:30

Hi)

Did you tested this layer on MobileVR or on actual VR (Oculus, HTC)?

I guess this 'VR' setting is not documented because it's a kind of a custom 'tag' to mark some layers.

For example, inside 'webvr.xml' there's a layer named 'webvr_enterbutton' (ENTER VR button). On mobile I can see this layer, of course, it opens Mobile VR settings.

I'm sure this layer is not visible in real VR on HTC, because there only WebGL (and no layers) can be dispayed.
Regards,

Alexey

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

5

Dienstag, 12. November 2019, 03:01

So, dug into the code and I think you are right. vr="true" is used to keep layers from being hidden when going into Fake VR mode. Also on a phone, if you are in VR mode and tap the screen these "vr" layers show up. And yes, on my Go they don't show up when in VR mode.