[vtkusers] How to map RGB color from vector data to points?
Immo Trinks
trinks at esc.cam.ac.uk
Wed Jun 16 12:40:43 EDT 2004
Hi,
I have a polydata set with xyz points and RGB vectors assigned to the points
(see example below).
I use vtkPointSource and vtkGlyph3D to display the points as pixels.
How can I color the pixels using the vector RGB data?
Thank you very much for any help!
Immo
---------------------------------------------
# vtk DataFile Version 3.0
####
ASCII
DATASET POLYDATA
POINTS 3 float
-14.10 29.00 -1.48
-14.12 27.99 -1.48
-14.14 27.35 -1.49
POINT_DATA 3
VECTORS colour float
0.56 0.50 0.44
0.55 0.50 0.43
0.55 0.49 0.42
---------------------------------------------
More information about the vtkusers
mailing list