RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
235 stars 28 forks source link

Demo360_stereo is not stereo #879

Closed ljDevelopment closed 3 years ago

ljDevelopment commented 3 years ago

We are evaluating buying this asset to our project, but... we cannot see the example in stereo mode (Android)

Documentation doesn't say anything about any step to run Demo360_stereo; only one eye is being rendered. We also need to change VR <--> no VR. Is that possible?

We have managed to compile the project with Google Cardboard, but there is no head movement.

image

The image seems to be the same one in both eyes. Do we have to control head rotation? Is it easy to disable VR? Is it compatible with ARFoundation?

Luis

llopez @ Many - Worlds.es

kahnivore commented 3 years ago

Hi @ljDevelopment

You'll probably need to add the Update Multi-Pass Stereo component and assign your camera to view in both eyes.

What exactly do you mean by change VR to non-VR?

JRMany-Worlds commented 3 years ago

Hi, I'm in charge of this task of @ljDevelopment in the company. We are checking your recommendation. Thank you.

AndrewRH commented 3 years ago

@ljDevelopment it would also be useful to know how your scene is set up - are you using a camera per eye for example?

Also which version of Unity are you using?

Have you tried setting the media stereo mode? See the documentation here to see how to do that: https://www.renderheads.com/content/docs/AVProVideo/articles/feature-stereo-video.html

Does that help?

Thanks,

JRMany-Worlds commented 3 years ago

@ljDevelopment is on holiday. Looks like we were able to make it work no need to use Multi-Pass component. We have stereo split screen and we can activate or deactivate. We are using Unity 2020.3.14f1

As soon as @ljDevelopment comes back we will confirm that this is all we want in our project and we will buy.

Thanks for your prompt support. Regards!

ljDevelopment commented 3 years ago

Hi,

This is Luis, and I am testing this issue back. We still don't know how to make a proper setup to see stereoscopic video 360.

Status

We are working for Android and iOS devices.

https://www.renderheads.com/content/docs/AVProVideo/articles/component-update-multipass-stereo.html This component is used for VR devices running in multi-pass mode instead of single-pass mode. In multi-pass mode AVPro Video needs to know which eye is currently rendering, and this component works that out and sets up the shader variables appropriately.

We are opening the scene "Demo_360Stereo". I has integrated the component "UpdateMultiPassStereo" and this component has a reference to te main camera (we haven't changed anything in the scene) image

The MediaPlayer component in the demo scene doesn't allow us to choose VR mode: image

Only after changing the source to Path, VR options appear: image

Installing XR Plug-In Management gives us some options, none of them works image

Questions

How do we setup multi-pass rendering? image

What XR plug-in do you use for your tests Android / iOS? Do we need more than one camera? How each eye rendering is configured?

kahnivore commented 3 years ago

Hi there,

For Google Cardboard you'll need to import the relevant SDK. There are setup guidelines detailed here.

Does this help?

ljDevelopment commented 3 years ago

Hi,

As you can see on the capture in the first post of this thread, we have tried Google Cardboard but no stereoscopic view is provided (both eye images are the same).

So,

How do we get each eye image rendered correctly with Google Cardboard? Do we have to use Google Cardboard? Is there any alternative without Google Cardboard?

Here you have the sample project, just in case it could help: http://gofile.me/6EGvu/sqbn1KrJw

Thank you

Luis

ljDevelopment commented 3 years ago

Hi there,

We are still at the same point. We don't know why we see the same image in both eyes.

Can you propose any alternative to Google Cardboard? In fact, we are having a lot of problems making Google Cardboard work with ARFoundation (https://forum.unity.com/threads/switching-arfoundatin-arcore-arkit-google-cardboard-doesnt-work.1164104/)

Can we get rid off Google Cardboard?

Best regards.

Luis

kahnivore commented 3 years ago

Hi,

There are many alternatives to Google Cardboard - not sure exactly what you mean.

We mostly test VR on the Quest 2, but that's just the hardware we have access to.

ljDevelopment commented 3 years ago

Hi,

Thanks for the quick answer.

We are developing for Android and iOS. We would like to evaluate feasibility before purchasing PRO version, but we found these two issues: same image in both eyes (no stereoscopic), and compatibility cardboard - ar foundation (required by our client).

Thanks.

ljDevelopment commented 3 years ago

What is needed to make Google Cardboard plugin render one image in each eye?

This gifs demonstrates that both eyes render same image of the video.

ezgif-2-c6ff7c642657

The url of the video (top-bottom stereo) is: https://d2j1hl0hnnqsiz.cloudfront.net/551_corregido_orig.mp4

And this is the configuration of the Media Player:

image

ljDevelopment commented 3 years ago

Hi there,

We managed to solve one of our stoppers to use Google Cardboard in our project.

The only thing that blocks us to purchase AVProVideo is this issue, both eyes render the same image.

Please, do you need any further information from us to guess what is happening? Could you provide us with a project with the settings ok where a stereoscopic video is correctly rendered using Google Cardboard?

Thank you.

Luis

kahnivore commented 3 years ago

Hi Luis,

Could you perhaps send a copy of your video you are using to test with to unitysupport@renderheads.com?

ljDevelopment commented 3 years ago

Hi Luis,

Could you perhaps send a copy of your video you are using to test with to unitysupport@renderheads.com?

I sent you already in on of these posts: https://d2j1hl0hnnqsiz.cloudfront.net/551_corregido.mp4

I will sent you to that email.