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 $$anonymous$$ · Aug 01, 2012 at 11:42 AM · occlusion cullingocclusion-culling

Scaling an occlusion culled mesh

I have a mesh of a floor of a building which has furniture and stuff in it. I also have Occlusion culling working on it. To get the occlusion culling system to work I had to tick the 'static' check box of the parent mesh (and to all children recursively as well). Anyway, all this works fine.

But now I need to scale up and down the whole mesh with pinch gesture. I managed to get all the gestures working, but the mesh doesn't scale. Which is logical given that I marked them as static which means they can't move, rotate or scale. So I tried taking 'static' off of the meshes and running. Then it works fine and also scales. But sometimes, you see meshes popping up hear and there.

I thought if I include the Occlution culling view area in the mesh hierarchy so that when I scale the mesh the Occlution culling view area also gets scaled, it should work. But as I said there are some meshes popping up sometimes.

So my question is that is there any workaround for this issue. Or should I just give up either scaling or Occlusion culling? because they both can't work together.

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
Best Answer

Answer by ThermalFusion · Aug 01, 2012 at 01:47 PM

As far as I know, you can not use dynamic objects as occluders, as this occlusion is baked down during the occlusion process. It only works the other way around.

Comment
Add comment · Show 3 · 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 $$anonymous$$ · Aug 01, 2012 at 02:17 PM 0
Share

So does that mean I can't scale objects that are used for occlusion culling?.

It works (scales) if I keep the 'static' flag on, then bake the occlusion culling and then take 'static' off. But then I have some of the meshes with abnormal behaviour like popping in and out of the camera frustrum.

avatar image ThermalFusion · Aug 01, 2012 at 10:05 PM 0
Share

As far as I know the occlusion data is baked, and only changes if you bake again. Think of it as if it takes a copy of all meshes when you bake, it will only update when you bake again.

avatar image $$anonymous$$ · Aug 06, 2012 at 11:03 AM 0
Share

You just confirmed my fears. I guess it make sense. This means I need to abandon Occlusion Culling, if I want to have scaling.... :(

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

6 People are following this question.

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

Related Questions

How can I use the Occlusion Culling in a huge 3D model??? 1 Answer

Multiple Occlusion Culling 0 Answers

Realtime Occlusion Culling bake exists? 1 Answer

Occlusion Culling on big mesh? 0 Answers

Is it better to use 1 big occlusion area, or several smaller ones 2 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