Stereoscopic with 5.6 Video Player?

Hey all. I didn’t catch if the new Video Player in 5.6 Beta has the possibility to run stereoscopic 360 video?

If it’s possible, I know how to run monoscopic video in VR, but am looking for a solution on how to force the video player to stereoscopic, or how to set this up? Use two spheres and two cameras? It’s for a GearVR project.

If the video player currently doesn’t support it, do you have any idea when it will be possible?

I know assets like AVPro and EasyMovieTexture can set it up, but I am hoping for support of stereoscopic material by Unity self :slight_smile:

Thanks in advance!

Yes. 2 spheres and 2 cameras is the way I’m doing it right now.
Obviously each sphere has to be appropriately uv mapped to the appropriate part of the video texture OR you can use the your Material’s Tiling and Offset settings to reposition the sampling to the correct half ( I’m using over/under ) of the texture.

Hi Rob. Thanks for your answer!
But isn’t this very taxing projecting the same video clip on to two spheres?

then suggest better option sir.
rahu

It could be that there was a special way to “send” the video from just one Video Player to two spheres, instead of triggering two Video Players on two spheres to run each half of the video?

Maybe you could set a single Video Player to render to a Render Texture and use this texture on both spheres?

Yes exactly, LeonhardP! I figured this as well, and thanks for confirming. Then we just need video player to work with Android and I’m good to go :slight_smile:

can you put example video or project?

Create a Render Texture, create a material for the left sphere and one for the right sphere. Apply the render texture as texture to the left and right materials. Add left material to the left sphere, and similar for right. Adjust tiling and offsets on both materials to properly displaying the content in each sphere.
In the single video player send the content to the Render Texture you have created which now set on both materials.

That’s roughly it

1 Like

material tiling and offset working fine for me. but if unity give native support then would be awesome. also HTTP streaming would be great.

Building for Gear VR (Android)
There seems to be a problem in the build with 2 camera’s (Left-eye / right-eye). Only one eye renders the camera, the other one just flashes the unity splash logo…

If I do exactly the same setup with Unity5.5 everything is OK.
Bug reported…

Edit: Tried the same for cardboard build in 5.6… same problem, only one camera renders…

I could do it in the following way(Unity5.6 b3)

VideoPlayer Rendermode: Material Override

LeftSphere and RightSphere apply same material.

trick: Runtime Editing both spheres UV coordinate.
(like below function)

@Wim-Wouters
same problem here using 5.6beta8. Filed a bug report. Hope this will get fixed soon.
https://fogbugz.unity3d.com/default.asp?881806_rc3qb2patvs2qkd3