Relative Content

Tag Archive for vtkparaview

Custom colors in a legacy VTK file

I am creating a visualization of 3D data within a library. To avoid an additional dependency, I am manually writing a VTK file. In the following file, I have defined 16 custom colors. It should display a white triangle and three green edges. However, Paraview shows the elements in purple. Is the file incorrect, or does Paraview need different settings to use the custom lookup table? (I’m new to Vtk and Paraview)