I would like to change the color of a mesh vertex. I tried to see if I could turn a meshes points on to see the vertices, and then click on one, but from there I couldn’t find any setting for color.
Alternatively, I tried to do it programatically by setting certain index vertices’ color. But while I was able to change all of the vertex colors, it doesn’t seem to work when I do it selectively as I show below. Any suggestions?
Thanks,
Sam
For i = 0 To MyMesh.Vertices.Count - 1
If i < 20 Then
MyMesh.VertexColors.SetColor(i, Drawing.Color.Green)
End If
Next
I’m trying to add landmark dots to a mesh model of the human body. I don’t like how it looks when I color all the vertices though, becomes quite flat in rendered view. So I’m thinking rather than set vertex colors, I want to create a texture mapping from a jpg that has the dots marked.
Any suggestions on how to create this texture mapping? Ideally, I could ‘paint’ the dots onto the mesh by clicking on certain regions. Is there a way to do this with Rhino? If not, perhaps there is another software that could do it (preferably free)?
Create points at the desired mesh vertices using Point or Points with the Vertex OSnap active. Or to create points at a group of vertices. Put the points on a different layer than the mesh and you can control the color of the points by changing the color of the layer. To change the color of individual points select the points and use Properties.
Good thought, but that won’t work for my current application. What I require is a way to paint dots on model, and have that applied to a jpg texture file for the model.
To get textures from vertex colors, I usually use meshlab. I export a vrml 2.0 file from rhino (though any mesh format that supports vertex colors should work), import that into meshlab, and run a texture filter per triangle parameterization, finally I use the texture filter vertex color to texture.
That sounds like what I’m after, fraguada. I’m hoping not to have to use matlab for this though. Can anyone think of a way to do this natively in Rhino, or perhaps with a plugin?