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
1
Question by NLSC-E-MS · Oct 18, 2010 at 02:31 PM · staticareaocclusionculling

Occlusion Culling - Problems adjusting the areas

I have a couple of problems with occlusion culling. In my scene, a user in a 1st person view walks around a submarine, starting from the exterior (on a dock).

The exterior isn't static. This was done because I don't want to cull it. 95% of the scene is interior and for performance purposes the culling has to be from a low value far clip inside.

The problems (see image: http://forum.unity3d.com/attachment.php?attachmentid=14121&d=1287149704):

  • The exterior gets culled when walking on the exterior of the sub. (left image) The problem is, the exterior is not static, why does it get culled?

  • The occl. areas don't seem to work properly. In visualization mode, you can see them going very high in the Y for no reason (middle image), there are no static objects in the air and the areas are clearly inside. (right image)

Preview / production modes have same results. High / low cell size have same results. Is Target Volume is disabled. Is View Volume is enabled.

Is it possible that my scaling is off? I'm using 3ds max to create the scenes, 1 unit = 1 meter.

So inside Unity, I set the scaling from 0.01 to 1. Does it influences the occl. areas calculations?

All demos I've seen are for huge areas, like cities... I'm using it for a small cramped space. Maybe it's not made for it?

Thanks for any help.

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
0

Answer by Dwair · Dec 28, 2010 at 11:50 AM

Mhh...have you put occlusion culling on the exterior too?

One basic rule on occlusion culling is: you need to put occlusion cells EVERYWHERE the camera can go.

You used occlusion on the inside, I can tell by your screenshot, but seems you didn't use occlusion zones on the exterior.

If you use occlusion, you have to cover all zones the camera can go, not just the troublesome ones. Not doing so the camera will behave like it is in a out-of-bonds zone and will try to occlude everything (not everything will be culled for other reasons though).

So try to use more occlusion zones in the dock, maybe that works :)

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 NLSC-E-MS · Jan 04, 2011 at 04:38 PM 0
Share

Forgot I had this here.. At the time I posted this I indeed didn't put a culling zone outside however a few months ago I did put the area outside and it didn't change anything so I just abandoned it. Thanks anyway!

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

No one has followed this question yet.

Related Questions

How does the usage of multiple occlusion areas work? 1 Answer

GUILayout beginArea not working with scrollview 1 Answer

How to designate an Area as a variable ? 1 Answer

Displaying only part of an object 0 Answers

Making NavMesh areas? 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