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 tyson · Mar 24, 2011 at 10:35 PM · meshindextriangle

Unity re-ordering triangle indexes??

I've imported a mesh from 3d Studio Max.

The mesh imports with the correct number of vertices and triangles.

However, the triangle indexes of the imported mesh are different than the ones in my 3d app. It's like Unity re-orders the triangles during import? This is very frustrating because I need to coordinate some data between unity and 3dsmax that is triangle-index dependent. Everything breaks when triangle n in Unity is not the same triangle as triangle n in 3dsmax.

Has anyone encountered this before? Is there a fix/workaround?

Comment
Add comment · Show 2
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 Jesse Anders · Mar 24, 2011 at 11:09 PM 1
Share

I don't have an answer, but I've run into similar issues when importing other formats. In any case, I'm guessing that Unity processes meshes on import in ways that don't necessarily preserve data order. (If this is a must-have feature for you, one option might be to implement a custom importer.)

avatar image tyson · Mar 25, 2011 at 12:47 AM 0
Share

Cheers....I might go the custom importer route since it wouldn't be that difficult. Just a bit annoying....

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by DaveA · Mar 24, 2011 at 11:38 PM

Do you have any optimizations turned on when importing?

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 tyson · Mar 25, 2011 at 12:46 AM 0
Share

Nope...as mentioned, same number of tris and verts come in. Just the tri order is different.

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

Calculating triangles of a vertex array 0 Answers

how to Find the vertices of each edge on mesh 4 Answers

How can I ADD vertices and faces to a mesh? 1 Answer

Question on veretexes. 1 Answer

problem with loop and mesh values 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