Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
1
Question by EnduvoJD · Aug 12, 2016 at 05:47 PM · meshimportruntimesplit

Does Unity give access to their function that creates MeshParts (splits meshes that are >65k verts on import)?

I'm writing some code to import a few different 3D model formats at runtime, and I need to handle the case where the imported model is too large for a Unity mesh and needs to be split up. Yes, I've seen some implementations of this (and others have asked for some example script), and I get the basics of constructing the algorithm, but it seems silly to rewrite something that seems to already be part of the engine that I'm paying for. I couldn't find anything that mentioned it in the documentation (I essentially scanned all the classes in UnityEngine). So, does anyone know whether their function to split large meshes into parts <65k is callable?

I feel like I should just tag @Eric5h5 on this, considering this question will probably summon him anyways.

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 EnduvoJD · Aug 12, 2016 at 05:20 PM 1
Share

And please, don't respond with telling me that meshes shouldn't be larger than 65k anyways. I've seen that irrelevant response on way too many posts. It's not the question I'm asking, and for my use case, is not of concern to me at all. I just want to know whether I should proceed with writing my own code to handle that case or not.

avatar image EnduvoJD · Aug 13, 2016 at 01:33 AM 0
Share

I ended up writing my own splitting algo, but I'm still interested in the answer to this.

1 Reply

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

Answer by Bunny83 · Aug 13, 2016 at 08:29 AM

No, there is no such code in the engine. The splitting code belongs to the editor and is not available at runtime. Furthermore the importing and splitting is implemented in native code and doesn't have any low-level API which could be used. The whole import procedure is done in native code and the only influences you have are the settings in the import inspector and what you can do with AssetPostProcessors.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Runtime import of Collada files 3 Answers

Importing models from streamingassets 0 Answers

Awarding 500 points if we manage to do it. How to import mesh over 400 000 verts into unity 3 Answers

Help with runitme objects and plaintext mesh files 1 Answer

Split Mesh 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