getsocial-im / getsocial-capture

The project goal is to let Unity developers record GIFs of gameplay of their game for easy sharing between friends.
https://www.getsocial.im
Apache License 2.0
124 stars 30 forks source link

How to record a Stereoscopic camera #5

Open Towerss opened 5 years ago

Towerss commented 5 years ago

62152986_308471136771121_1582069143559995392_n Hi guys,

Thank you for this great plugin. I was wondering if you have any ideas about how to use it to record a stereoscopic camera? I am using the plugin, but the produced gift looks blurry because it is recording both viewports at one.

Thanks

gaborvass commented 5 years ago

Hi, Thanks for the feedback. I would try to record only 1 of the cameras. You can specify which camera to record in GetSocialCapture.cs file.

Towerss commented 5 years ago

@gaborvass , Thank you for your reply. With Vuforia there is only 1 camera, the VRCamera. That is the camera I am trying to record :)

gaborvass commented 5 years ago

Thanks for the clarification. We haven't tested it with VR/AR games so far, it's on our road map. I would try to implement something similar as mentioned here, in Using RenderTextures section: https://developer.vuforia.com/forum/faq/unity-how-can-i-capture-screen-shot

Towerss commented 5 years ago

@gaborvass , Thank you for that hint. I am trying with https://docs.unity3d.com/ScriptReference/ScreenCapture.CaptureScreenshot.html , I will let you know if I succeed. Thank you for your support.