[Numpy-discussion] constant shaded triangle mesh in mayavi2

Geoffrey Irving irving@naml...
Thu Sep 30 15:30:48 CDT 2010


Hello,

I'm not sure where the correct place to ask questions about Mayavi, so
feel free to redirect me elsewhere.

I have a triangle mesh with a bunch of data on each face.  The only
color-relevant argument to triangular_mesh I know about is scalars,
which is one value per vertex.  Is there a way to set color per
triangle, ideally with control over rgb separately so I can visualize
three different fields at once?

Thanks,
Geoffrey


More information about the NumPy-Discussion mailing list