Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 RoloJo · Mar 22, 2013 at 10:17 AM · camerafieldofview

What is my camera rendering?

Hello community of awesomeness; I have another question.

I would like to know if my camera renders objects behind me and in general objects that are not in my field of view. I did my own experiment by placing a number of objects around and and changing the field of view on the camera. The FPS remained unchanged, at around 67, despite me having changed the field of view. That would lead me to believe that it is rendering things that I am not seeing. Am I right?

My second question is then, can I change this so that it only renders objects in my field of view and could you point me to some documentation?

Many thanks!

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

2 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by robertbu · Mar 22, 2013 at 04:14 PM

Objects are rendered if any part of the object can be seen by any camera (probably any part of the bounding volume of the object). So no, an object behind the camera is not rendered. You can check the Renderer.isVisable flag to see if any camera can see a specific object. Note if you have one object in your field of view that is completely hidden by another object in your field of view, it is still rendered unless you have Pro and use Occlusion Culling. That's what @devlab_lt is referring to in his answer.

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 Bunny83 · Mar 22, 2013 at 04:49 PM 2
Share

I should add that an object is rendered if it's seen by any camera. $$anonymous$$eep in $$anonymous$$d that in the editor the sceneView has it's own camera and it does count as well.

avatar image
1

Answer by devlab_lt · Mar 22, 2013 at 10:33 AM

  1. Yes, all objects are rendered, even if you are not looking into them.

  2. Unity Pro has feature called Occlusion Culling, which hides objects you don't see and greatly improves game performance. More about it you can read here

Comment
Add comment · Show 2 · 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 Loius · Mar 22, 2013 at 04:33 PM 2
Share

Objects are only rendered if they intersect the view frustrum. Occlusion culling just saves render time on objects that are obstructed by other objects.

avatar image sdgd · Mar 22, 2013 at 04:38 PM 0
Share

uhm thanks I thought everything is rendered

even behind camera now I see my implementation to disable and enable rendering is pointless :P

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

14 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

Related Questions

Lerping Field Of View is buggy 1 Answer

Camera FOV lower than 1? 1 Answer

Camera Frustrum Calculation 1 Answer

Maintain screenspace scale/position as camera field of view changes? 2 Answers

resetting the my default value for camera field of view 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