[vtkusers] How to set color in VTK file

Олексій Федоренко funt at bigmir.net
Mon Apr 18 04:30:43 EDT 2005


I have VTK file:
# vtk DataFile Version 2.0
example
ASCII
DATASET POLYDATA
POINTS 8 float
0.0 0.0 0.0
1.0 0.0 0.0
1.0 1.0 0.0
0.0 1.0 0.0
0.0 0.0 1.0
1.0 0.0 1.0
1.0 1.0 1.0
0.0 1.0 1.0
VERTICES 8 9
8 0 1 2 3 4 5 6 7

How can I change color of vertices?
What should I write to set same or different color of vertices.

_______________________________________________________________
http://www.bigmir.net - поиск по украинским сайтам






More information about the vtkusers mailing list