Color subset of vertices in 3D model
2 views (last 30 days)
Show older comments
Hi, I have an STL model (vertices and faces) and am trying to change the color of a subset of the vertices of the full model. The desired colors of the points is saved in a large array with each row representing one vertice. I have tried every variation of patch, CData, and FaceVertexCData that I can think of, including plotting the full model then replotting the vertices and CData information, just plotting vertices and CData (which plots 2D for some reason). The closest I have come is a 2D plot of lines with some of the lines colors other than black. Any advice on how to change the color of a subset of vertices would be greatly appreciate! Thanks.
3 Comments
Answers (0)
See Also
Categories
Find more on Polygons in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!