[Paraview] Problem with colouring in ParaView3

Raashid Baig raashid.b at rediffmail.com
Mon Aug 20 02:19:35 EDT 2007


I have created a very simple vtk legacy file and trying to visualize it using ParaView3.1.1. The file is as follows :

# vtk DataFile Version 2.0
Molecule points
ASCII
DATASET POLYDATA
POINTS 2 float
0.0 0.0 -1.29308565 
0.0 0.0 1.29308565 

LINES 2 6
2 0 1 
2 1 0 

POINT_DATA 2
SCALARS radius float
LOOKUP_TABLE radius
1.66
1.66
SCALARS colors float 4
LOOKUP_TABLE colors
1.0 1.0 0.0 1.0
1.0 1.0 0.0 1.0

I am drawing a glyph at each point with a sphere as a source.
I want the spheres to be colored according to the color specified in the LOOKUP_TABLE colors. The glyphs get drawn without any problem , but when I want to color them according to color in the file (by changing the Dispaly property, Color by colors) nothing happens the spheres are always displayed in blue, no mater what is the color in the file.  
Am I doing something wrong ? if yes please correct me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20070820/39eff1dd/attachment.html


More information about the ParaView mailing list