after our customer liked the virtual fair(FM3D | science communication // virtual showroom) we build, we are now working on the VR-version…
And of course we encountered some problems, where a bit of help would be highly appreciated.
We have a lot of videos in the current HTML-overlay-menus, which we also want to show to the VR-user. Since there sadly is no native video-feature in the BABYLON.GUI we first experimented with updating a BABYLON.GUI.Image via a separate canvas, which sadly wasn’t performant enough.
So we decided to build a menu on a Box via AdvancedDynamicTexture (parented to the camera) and play a video with a video texture on a separate Box, whenever someone clicks a button in said menu…
This works great, when we put the videobox in the center of the room, however, when we parent the videobox to the camera on play the sound is hearable, the video is only shown after the end of the first run of the video.
Is this a good approach to show Videos on a “GUI” in VR?
Has anyone encountered something similar and can maybe point us in the right direction on how to fix this video-camera-parenting-problem?
Any help is highly appreciated. Thanks!