• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by oliver9523 · May 27, 2016 at 12:15 PM · ui3dstereoscopic

2 Cameras 1 UI

I'm making some software that uses a 3D projector for the display. I have two cameras (left/right), they render the scene as side-by-side images so the projector can split the input video feed and display the left and right images as it needs.

I have a UI in camera space, however I can only link the UI to one camera but I need it linked to two.

In the attached example I have the stereo-camera output from unity (with the adjusted aspect ratio to compensate for the stretc$$anonymous$$ng the projector does). What I'm trying to ac$$anonymous$$eve is a canvas in both cameras (the black buttons) that have the same offset (zero disparity)

I could create two UIs (UI Left, UI Right) and link each one to a camera (Left, Right) and just update them both but that's a lot more work and messy to manage.

If I create the UI in screen space it wont have the correct aspect ratio and will also be split in half by projector.

Any ideas?

Example

copy-of-3d-ui-1.jpg (57.8 kB)
Comment
Add comment · Show 7
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image YoungDeveloper · May 27, 2016 at 01:45 PM 0
Share
avatar image oliver9523 YoungDeveloper · May 27, 2016 at 01:48 PM 0
Share
avatar image Pharaoh_ · May 27, 2016 at 02:32 PM 0
Share
avatar image oliver9523 Pharaoh_ · May 27, 2016 at 03:14 PM 0
Share
avatar image Glurth · May 27, 2016 at 03:26 PM 0
Share
avatar image oliver9523 Glurth · May 27, 2016 at 03:41 PM 0
Share
avatar image Glurth oliver9523 · May 27, 2016 at 04:20 PM 0
Share

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Glurth · May 27, 2016 at 04:39 PM

ok another idea: though I'm not sure how you get the two camera's to combine into a single stereo output screen, but can you use that same method to output TWO MORE cameras to the same screen? If so, those two camera's can be filtered to show only the UI, and you can adjust their position to NOT stereo-scope the result (by giving them the same world-position).

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image oliver9523 · May 28, 2016 at 01:01 PM 0
Share
avatar image Glurth oliver9523 · May 28, 2016 at 02:56 PM 0
Share
avatar image oliver9523 Glurth · Jun 03, 2016 at 09:03 PM 0
Share
Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Game is in Stereo 3D, but I want that the UI looks 2D. Do you know how it works? 1 Answer

Stereoscopic Output does not work with NVIDIA 3DTV Play on LG Cinema 3D Screen 1 Answer

Active Stereoscopic 3D for Unity 1 Answer

Using "Stereo Display (non head-mounted)" in Virtual Reality generates very low resolution 1 Answer

How can an UI Element know on which 3D Object it is pointing? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges