Search Unity

Question How to Render 2 camera at same time on hololens2?

Discussion in 'AR' started by misuqian, Oct 25, 2022.

  1. misuqian

    misuqian

    Joined:
    Oct 25, 2022
    Posts:
    6
    Hi,I create 2 main camera,one set Target Eye is Left and other is Right.
    upload_2022-10-25_19-54-24.png

    upload_2022-10-25_19-55-33.png

    upload_2022-10-25_19-55-7.png

    But in the end, Hololens2 only showed the content of the left eye camera, while the right eye camera display an iridescent panel .

    How should I correctly render two cameras simultaneously?
     

    Attached Files:

  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
  3. misuqian

    misuqian

    Joined:
    Oct 25, 2022
    Posts:
    6
    Thank you for your reply! The reason I use 2 cameras is to show different pictures in the left and right eyes, just like watching a 3D movie. Can this be done?
     
  4. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
    Can you share more information about your project?
    • Unity version
    • AR Foundation version
    • Are you using URP?
    • Looks like you are using MRTK?
    It looks like there may be a bug with addressing individual eyes in URP.
     
  5. misuqian

    misuqian

    Joined:
    Oct 25, 2022
    Posts:
    6
    1. Unity 2020.3.40f1c1.2246.697 Personal
    2. MRTK:2.8.2.0(I use OpenXR not AR Fundation)
    3. no URP
    4. YES, MRTK

    Maybe I can use AR Fundation to do what I want?
     
  6. misuqian

    misuqian

    Joined:
    Oct 25, 2022
    Posts:
    6
  7. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062