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 bpears · Apr 14, 2013 at 02:20 AM · performancemodelslow

Game is slow.. 800k model (but in many meshes) seems too complex, help?

Alright, I've got a

  • FPS character with weapons, average poly,

  • 2000x2000 terrain,

  • using occlusion culling,

  • and a large city of 800k tris, but only ~80-150k shown at once of the city model.
    -And of course, the city model is broken into many many pieces.

  • I have a good computer, that can usually handle new PC games on highest settings. EDIT: 64bit, windows7, good(above average, 2GB graphics dedicated RAM) graphics card,16GBDDR3 RAM, 3.4QuadCore

  • everything else in game is off, besides a few scripts attached to player.

  • the model is using just plain colors for most of it, only a few textures.

This doesn't seem like much to me, I don't understand why it makes the game run so slow, with everything else turned off. I know its the model because its fine if I turn it off.

If you look at The Amazing Spiderman, GTA4, Watch Dogs, they have huge highly detailed cities. Sure they are using different engines, they are pro's, but still, that is a HUGE amount of content.

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

3 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by bpears · Apr 14, 2013 at 03:47 AM

I hate to post an answer to my own question but... I think it is just too complex. I was thinking of normal mapping but thought it might look like crap, but, with an extremely specific google search, I somehow found this, and it made me feel better about doing so. So, check it out. Even though its a few years old it's an interesting read-

Google search this to bring it up quickly, I couldn't attach the file because it's too big:

Interior Mapping A new technique for rendering realistic buildings Joost

And so, I need to remake my city... Sucks, but, what can ya do.

EDIT: Also, a similar interesting link that uses raycasting to creat an interior for empty buildings, very cool...

http://www.proun-game.com/Oogst3D/index.php?file=CODING/InteriorMapping/InteriorMapping.txt

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 crusherxman · Apr 14, 2013 at 03:58 AM 0
Share

I had big problems like this once, and my only option was to re-create my scene, witch is... Very long. Although, giving up is not an option.

Goodluck!

avatar image
0

Answer by Negagames · Apr 14, 2013 at 02:28 AM

1) What are the stat on your computer, a "good" computer is a broad term

2) Try playing around with the graphic quality settings (Edit > Project settings > Quality)

3) Try working with the fog settings (Edit > Render Settings)

4) DO try to cut down your city model

I hope those tips help.

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 bpears · Apr 14, 2013 at 02:34 AM 0
Share

1) I mean really really good, besides graphics card, it don't get much better.

2)this shouldnt make a difference, since my computer should be able to handle on any setting, and if not, no one elses will.

3)I've already added that in

4)I will try! I'm hoping maybe I'm just missing something or.. idk?! lol

thanks.

avatar image
0

Answer by ArmarageX · Apr 14, 2013 at 04:09 AM

You need to find out whats causing the lag by hiding the objects away one at a time... Hide the buildings... does it help? Hide the terrains.. does it help? You didnt mention poly count on weapon..... Hide those? Hopefully your not running 2k / 4k textures, if so, are many different objects with different materials using that texture? Disable all materials.... does it help? You using some sort of epic Dynamic Shadows on your whole city? Turn off lighting.... does that help? Like Negagames said... add fog... by first adding Camera Clipping (Far clip), and then conceal the void with fog. Great link by the way.... thats some really nice tech! But i dont think polys are lagging you down... not at 150k tris at a time anyway...

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

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

Does smooth angle make any difference in Unity? 1 Answer

FPS character, full body or just arms? 2 Answers

Texture2d.LoadImage too slow for use (iOS) 1 Answer

MMD How to export model and animations to Unity as 3rd person controller? 2 Answers

Will unity sort Drawcalls to reduce overhead ? 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