[vtkusers] Color lookup table for unstructured grid (XML) file

Michael Nolde mnolde at gmx.net
Sat Sep 16 10:48:30 EDT 2017


Hello again,

I solved the problem by defining scalars in the XML (id numbers for each 
unique color), and creating an appropriate JSON color preset. Now the 
visualization works fine in ParaView.

Regards,

Michael


Am 16.09.2017 um 15:04 schrieb Michael Nolde:
> Hello,
>
> I'm trying to realize a color lookup table in combination with an 
> unstructured grid (XML) .vtu file. I want to avoid having to define 
> one color over and over for different points.
>
> The lookup table can well exist in an external file (.json or .xml 
> preset), or, preferably, is realized through some XML notation inside 
> the .vtu file.
> Is that even possible and, if so, could someone send me an example of 
> an according XML file section?
>
> Thank you very much,
> Michael
>



More information about the vtkusers mailing list