[Paraview] rgb lookup table

Claudio cv39100 at yahoo.com
Wed Jun 6 10:42:30 EDT 2018


Hi,I'm stuck with a problem concerning colors assignment to data.I've a list of 8 tensors (here represented as circular ellipsoids, see short vtk file below)I typically open the file and filter using ("tensor glyph").Now I would like to assign to each tensor glyph a unique color specified by an rgba sequence (e.g. 0.1 0.3 0.2 1)How can I do that? I tried to append a scalar lookup table followed by a rgba one but without successThanks   -Claudio

# vtk DataFile Version 3.0Random data to test tensorsASCIIDATASET UNSTRUCTURED_GRIDPOINTS 8 float0 0 01 0 00 1 01 1 00 0 11 0 10 1 11 1 1
POINT_DATA 8
TENSORS spherical_ellipsoid float1 0 00 1 00 0 1
1 0 00 1 00 0 1
1 0 00 1 00 0 1
1 0 00 1 00 0 1
1 0 00 1 00 0 1
1 0 00 1 00 0 1
1 0 00 1 00 0 1
1 0 00 1 00 0 1
SCALARS sample_scalars float 1LOOKUP_TABLE rgbtable01234567
LOOKUP_TABLE rgbtable 80.2 0.4 0.3 1.004.0 2.0 1.0 1.00.4 1.0 0.2 1.01.0 1.0 0.7 1.00.2 0.0 5.0 1.01.0 0.2 1.0 1.02.0 1.0 1.0 1.00.0 1.0 0.9 1.0


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180606/6f9176c1/attachment.html>


More information about the ParaView mailing list