Message 1 of 3
Script to give each vertex in a editable poly model a unique vertex color
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'd like to build a script that gives each vertex in an editable polygon object a unique vertex color, such that the distance between any 2 points (in color space) is above a threshold. A simple way I imagine doing this is creating a 3D RBG grid from (0,0,0) to (255, 255, 255), spaced out evenly based on the number of points in the mesh.
I am pretty sure I can figure out the math for assigning the vertex colors properly, but I am not sure where to get started on making the script. Any help getting started is greatly appreciated.
Thanks!