• 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
Question by TheAxisx · Apr 27, 2015 at 03:38 AM · meshblenderverticesmesh color

Vertex Color index problem

Hi,

I really don't know if it's the best place to put my problem, but I'll try. Not so far ago I'd discovered something called Mesh.colors, and I started messing up with it, everything went great up to time when unity's standard mesh plane was not enough for me(I needed mor vertices). So I opened up blender and make my high poly plane (128*128 vertices), and then I discovered that color vertices indexes aren't like before. Basiclly what I want is in image (white numbers are vertices indexes).

Image

It's probably easy to achieve, but I don't know how.

Thanks for reading this, and sorry for my english.

Im looking forward for answers.

Comment

People who like this

0 Show 0
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

Answer by AlwaysSunny · Apr 27, 2015 at 03:35 AM

If all you need is a plane, you might consider creating the plane yourself via scripting by building a mesh from scratch using the Mesh class API. Then you will have explicit control over the indices, colors - everything!

There are plenty of examples out there on how to accomplish this. Here's the first one I found: http://answers.unity3d.com/questions/139808/creating-a-plane-mesh-directly-from-code.html

It may be that you can use Blender to create a mesh which has the specific vert indices you want, but I don't know how. It would probably involve building your plane by extruding a single vertex in a specific order, then creating faces to fill those grid cells. Programming a plane sounds much nicer to me, and is a great way to get familiar with the mesh class.

Comment
TheAxisx

People who like this

1 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 TheAxisx · Apr 27, 2015 at 03:35 PM 0
Share

I thought about your idea, before I even wrote that question. It seems really nice, but I thought there is an easy way like, some kind of recalculate indices button in any software. I'll probably try your way, if there will be no more answers. Thank you very much for answer.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Number of mesh vertices increase when imported into unity 1 Answer

How to Build and re-scale walls in runtime 0 Answers

Why is the mesh is smoothed out like this? 1 Answer

Mesh adaption 1 Answer

How do I change the color of imported blender models 2 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