[vtkusers] Color of triangle?

Slavko Kocjancic eslavko at gmail.com
Wed Feb 26 08:48:33 EST 2014


Hello...

I like to change "the default" gray color of loaded triangles. The 
example on
http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/TriangleSolidColor

works nice.
But as there are milions of triangles and I want all to be in same color 
How to do that? In example each triangle has own color attribute stored 
in array. I like to avoid that waste in memory.

so is there some alternative to set color for entire image?

Slavko.


More information about the vtkusers mailing list