Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Using recorder to render stereo side by side

Discussion in 'Audio & Video' started by athosrojas, Dec 6, 2021.

  1. athosrojas

    athosrojas

    Joined:
    Jun 26, 2017
    Posts:
    75
    there is a way to render stereo side by side using recorder? not 360 but flat video side by side ?

    like this
     
  2. antoinecharton

    antoinecharton

    Unity Technologies

    Joined:
    Jul 22, 2020
    Posts:
    156
    Hello,

    We don't have a feature for that but you could do it with some tweaking.

    You could add 2 cameras with a tag one leftEye the other rightEye. You could parent them to an empty game object to be able to easily animate them.
    Screen Shot 2021-12-06 at 12.00.29 PM.png

    Then you add a movie recorder (or image sequence for each) and set the source to Targeted Camera and Camera to tagged camera. And set the tag field to target each tag. This way you could export both left and right.
    Screen Shot 2021-12-06 at 12.00.13 PM.png

    After that you would need a video editing software to merge the 2 together.

    Let us know if this help :)
     

    Attached Files:

    shyamarama likes this.
  3. athosrojas

    athosrojas

    Joined:
    Jun 26, 2017
    Posts:
    75
    thank you so much, but the distance between 2 cameras will influence on the effect? how many distant it want be?
     
  4. antoinecharton

    antoinecharton

    Unity Technologies

    Joined:
    Jul 22, 2020
    Posts:
    156
    Yes and you need to set it right if you don't want people to have motion sickness :eek:. For that you would need to replicate the distance between both eyes in unity. On average it's 62 mm. In unity if your scene scale is 1 unit = 1 meter you need to set them 0.062 unit appart. If you are parenting the cameras that' -0.031 for one eye and +0.031 for the other.
     
    shyamarama and vladala like this.
  5. athosrojas

    athosrojas

    Joined:
    Jun 26, 2017
    Posts:
    75
    Thx a lot... actualy i using a third party solution for stereoscopic 360 rendering in unity. 360 mono is working in recorder, if i use this trick for 360 mono render it will work? asking that cause i have amazing results using a script for that but its dont support motion blur and raytracing , and record supports mono 360 with raytracing and motion blur.
     
  6. antoinecharton

    antoinecharton

    Unity Technologies

    Joined:
    Jul 22, 2020
    Posts:
    156
    In that case if you have a plugin that already does the effect I would use a render texture source. I am not super familiar with mono 360 so hard to tell the best workflow but that would be were I would start looking.
     
  7. athosrojas

    athosrojas

    Joined:
    Jun 26, 2017
    Posts:
    75
    actualy the best way to render 360 stereoscopic videos with unity is with this asset https://assetstore.unity.com/packages/tools/video/vr-panorama-360-pro-renderer-35102
    oliver is a legend. cause actualy no other asset render 360 stereoscopic. my main problem is this asset dont support some post processing like post exposure, and motion blur in HDRP and give me memory overflow when i try using with direct x12 and raytracing, but as its render hdrp 12 in unity 2021.2 without major problems i am ok for now, but i really waiting for unity recorder work for that cause is the most fast render solution actualy to render frames with unity