<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Hi,</div><div>I'm stuck with a problem concerning colors assignment to data.</div><div>I've a list of 8 tensors (here represented as circular ellipsoids, see short vtk file below)</div><div>I typically open the file and filter using ("tensor glyph").</div><div>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)</div><div>How can I do that? I tried to append a scalar lookup table followed by a rgba one but without success</div><div>Thanks</div><div> -Claudio</div><div><br></div><div><br></div><div><span><div># vtk DataFile Version 3.0</div><div>Random data to test tensors</div><div>ASCII</div><div>DATASET UNSTRUCTURED_GRID</div><div>POINTS 8 float</div><div>0 0 0</div><div>1 0 0</div><div>0 1 0</div><div>1 1 0</div><div>0 0 1</div><div>1 0 1</div><div>0 1 1</div><div>1 1 1</div><div><br></div><div>POINT_DATA 8</div><div><br></div><div>TENSORS spherical_ellipsoid float</div><div>1 0 0</div><div>0 1 0</div><div>0 0 1</div><div><br></div><div>1 0 0</div><div>0 1 0</div><div>0 0 1</div><div><br></div><div>1 0 0</div><div>0 1 0</div><div>0 0 1</div><div><br></div><div>1 0 0</div><div>0 1 0</div><div>0 0 1</div><div><br></div><div>1 0 0</div><div>0 1 0</div><div>0 0 1</div><div><br></div><div>1 0 0</div><div>0 1 0</div><div>0 0 1</div><div><br></div><div>1 0 0</div><div>0 1 0</div><div>0 0 1</div><div><br></div><div>1 0 0</div><div>0 1 0</div><div>0 0 1</div><div><br></div><div><span><div>SCALARS sample_scalars float 1</div><div>LOOKUP_TABLE rgbtable</div><div>0</div><div>1</div><div>2</div><div>3</div><div>4</div><div>5</div><div>6</div><div>7</div><div><br></div><div>LOOKUP_TABLE rgbtable 8</div><div>0.2 0.4 0.3 1.0</div><div>04.0 2.0 1.0 1.0</div><div>0.4 1.0 0.2 1.0</div><div>1.0 1.0 0.7 1.0</div><div>0.2 0.0 5.0 1.0</div><div>1.0 0.2 1.0 1.0</div><div>2.0 1.0 1.0 1.0</div><div>0.0 1.0 0.9 1.0</div><div><br></div></span><br></div></span><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"></div></div></body></html>