• 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 matiasup · Jan 14, 2015 at 09:38 AM · oculusoculusrift

How to complete camera space?

Hello everyone!

I am making an app for VR in my Nexus 7. As you may know, i have 2 cameras side by side, as you can see in the next image:

alt text

Everything works well, this is the FOV i must use and it can't be bigger. The problem is that when i run the application in the Tablet, i get black space on the left and right places of the screen. Just the same as you can see in the inspector y the image. This is razonable, because the FOV and the screen size, and other parameters are fixed.

What i want to make is filling that space with the corresponding vision from both cameras. I managed to do something by putting another 2 bigger cameras on the back and adjusted them just the way i need. It looks like this:

alt text

Everything great but the performance is awful and prohibited because now im rendering 4 cameras.

Does anybody knows how can i deal with this? I don´t know much about projection matrix of the cameras but any help would be appreciated :D

aa22.jpg (69.1 kB)
aa33.jpg (49.8 kB)
Comment
Add comment · Show 2
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 Natsu_k · Jan 14, 2015 at 10:17 AM 0
Share

I'm not familiar with how the oculus rift sdk handles this but it looks like from the picture your camera components have been adjusted. $$anonymous$$aking your viewports larger and adjusting the position should fix it. But as I said, not sure how this plays with the rift.

alt text

camera.png (6.1 kB)
avatar image matiasup · Jan 14, 2015 at 06:46 PM 0
Share

Thanks for answering. The problem is that i need the center of the camera to be in this precise position. If i make the viewport bigger, the center of the camera would move to the center of the viewport.

In other words, i need a way for the center of the camera to be not in the middle of the viewport.

0 Replies

· Add your reply
  • Sort: 

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Oculus: Is player looking at Object A ? 1 Answer

Why Unity crash every time I exit the play mode ? 1 Answer

Stop OVRplayerController movement but allow rotation. 1 Answer

(Oculus SDK) How to change hand color? 1 Answer

How do I output to Oculus Rift on Unity 4.6? 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