I have a sidebyside video of an interview I did. If played correctly it should display in 3D.
(View it for example at “https://www.youtube.com/watch?
v=zG-FuKFi5A4” on YOUTUBE VR with a VR headset.)
The playground example https://playground.babylonjs.com/#ZMCFYA#83 demonstrates how to play a video. If I substitute for the video source in the line:
var ANote0VideoVidTex = new BABYLON.VideoTexture(“vidtex”,“textures/babylonjs.mp4”, scene);
it will display my sidebyside video in 2D, showing both left and right images next to each other.
How do I modify the code to show the video as 3D - stereoscopic?
(Of course I am embedding this section of the code in an XR enabled page, so that it can be viewed in an HMD in 3D. I’m using QUEST.)