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 4illeen · Oct 16, 2013 at 06:17 PM · performanceimportmodel3d modelscity

Best performance for repeatable objects in a City scene.

Greetings. I'm currently working on a project which includes a city/street filled with fully explorable buildings. Each window and door is openable, etc. As I've encountered some performance issues already I guess it's best to ask before doing anything further.

My idea was to make some building elements saved as separate models, which will later allow me to build different buildings from the same parts (I also have heard that reusing same assets helps with performance). Think of it as of Lego blocks. I have things like Floor model, Wall model, Stairs model, Door model, Window model etc.

In my situation, what's the best way to make it work without lagging? What are the steps I should take from the moment of asset import to ensure good performance? Would it actually be better to make whole building models and import them into Unity? Since all doors and windows are interactive I'd have to add them later.

PS. None of the stuff I use is high-poly

Comment
Add comment · Show 1
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 TimBorquez · Nov 06, 2013 at 09:44 PM 1
Share

this is kinda unrelated to your actual question but you can use occlusion culling to help performance alot in cities

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Phong · Nov 06, 2013 at 10:54 PM

You probably want to use triggers to hide and show the interior meshes on all the buildings. For example you could put a collider around the entire building, set it to be a trigger. OnTriggerEnter you would enable the interior game objects. OnTriggerExit you would disable the interior game objects. You could even do this on a level by level or room by room basis as well.

I have an asset Mesh Baker LOD that does something similar in a very efficient way.

Comment
Add comment · 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

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

16 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

Related Questions

Importing Luxology Modo's compound 3d model 1 Answer

How to use/access animation of imported model? 1 Answer

Where Can I Download Pre-made 3D Models? 14 Answers

Import a 3D model in Game (during runtime in GUI) 3 Answers

Importing models from streamingassets 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