• 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 ReiAyanami · Jan 05, 2013 at 06:49 PM · editormodelverticesuv

Imported Model has more vertices in Unity than in other Editors

When I import a model that has texture mapping on it, the vertices count is different from the editors (tried Blender, Cinema4D and MED) I did the model in.
I tried to import in different formats (fbx, obj, c4d) but everytime I got the same result - more vertices in Unity than in the editor.
However, when I import the model before I apply texture mapping to it, I got no problem and the model has the same number.

What does affect this and how can I avoid this?

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

Answer by Piflik · Jan 05, 2013 at 07:02 PM

In any realtime engine, each vertex can have exactly one of each of the following:

  • XYZ coordinates (obviously)

  • UV coordinates

  • Vertex normal

  • Vertex tangent

  • material ID

If any vertex needs multiples of any of these (for example because there is a seam in the UVs or a hard edge between two polygons) this vertex is split on import.

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 ReiAyanami · Jan 05, 2013 at 07:05 PM 0
Share

Darn, I knew it was something obvious!
Is there a list in the mesh on doubled vertices or something like that, or do I need to sort out those myself?

avatar image Piflik · Jan 05, 2013 at 07:14 PM 0
Share

The mesh doesn't know if any vertices a sitting on top of each other. If you really need to know which ones are double vertices, you would have to iterate through them and check the distance to every other one, but be aware that the easiest algorithm to do that needs n² squareroot operations...(n = number of vertices)...with an optimized algorithm you might push it as far down as n * log(n) squareroots (methinks...don't quote me on that)...

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

10 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

Related Questions

Why doesn't my players camera work and why does it spaz out randomly 1 Answer

UV Mapping / Lightmap Problem 1 Answer

No texture 1 Answer

Having 6x times more vertices than in 3d max. 1 Answer

How do you make a submesh properly? 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