Say I have an arbitrary face that I have meshed in an arbitrary way (triangles, quads, polygons, etc.). obtaining a polymesh.
I would like to be able to color each polygon of the mesh with a specific color so to represent an (unsmoothed) contour.
This first thing it comes to mind is the following:
1 - Create a face for each polygon of the mesh using the information from polygon_at
2 - Color the face
3 - Add face to a group called ‘contour’ (for example).
I am sure that there is a better way to achieve the same result without having to create new entities? I assume similar techniques are used to represents results from renderings.
Could you recommend a good approach?
Thanks for any advice.