Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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 Marky5959 · Aug 22, 2019 at 11:25 PM · orthographicmatrixprojectionperspective

Can you create a camera perspective that doesn't change with viewing angle?

Is it possible to create a custom camera projection that gives an overhead perspective view but doesn't change based on viewing angle?


To explain better. In orthographic projection if you had a bunch of cubes facing in the same direction so that from the camera view they all looked like squares. Then if you switch to perspective you would see the sides of the cubes that are further to the edge of the view etc.

But what about a projection where all the cubes have all their sides (except the back) equally visible regardless of their position? So that they would all look like identical 3d trapezoids viewed directly from above. Hopefully the picture makes it clear.

alt text

I'm still trying to wrap my head around how the camera projections even work. But I'd just like to know if this sort of thing is even feasible? Or if its something that's already been done and theres a name for it?

Plus any pointers to tutorials that discuss relevant subject matter would be appreciated. Thanks.

untitled-1.jpg (30.6 kB)
Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Bunny83 · Aug 23, 2019 at 12:28 AM

No, this is not possible and not a real perspective since you have a local perspective for each of your cubes. If you have trouble understanding perspective in general you may look up some materials that covers the basics(perspective(geometry), perspective(graphical)). In essence since all your cubes are aligned in parallel the sides that goes into the distance are actually parallel as well. How would you draw any reasonable perspective lines or vanishing points into your wanted image? Each of your cube seems to have it's own vanishing point. So your image does not represent a single view point. So this is not possible with a single camera since each object needs it's own point of view.


You haven't said what you need this perspective for, so it's hard to recommend any workarounds or alternatives. It you want to know more about how perspective projection works in 3d games, you might want to read through my Matrix crash course. I have a slightly more readable mirror version on github. If you have general issues understanding matrices, vectors and transformations, I can highly recommend the 3blue1brown series on linear algebra.

Comment
Add comment · Show 1 · 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 XiangyouUnity · Aug 23, 2019 at 07:57 AM 0
Share

you should not use cubes. you can use frustum.

,you should not use cube. you may use frustum.

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.

Follow this Question

Answers Answers and Comments

110 People are following this question.

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

Related Questions

Vertical Perspective / Horizontal Orthographic 1 Answer

How do projection matrices work in Unity? 1 Answer

Drawing on the same screen with different cameras? 1 Answer

Difference in gameplay image in orthographic & perspective projection 0 Answers

Android perspective skybox 0 Answers


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