MODFLOW-USGS / modelviewer-mf6

Model Viewer for MODFLOW 6
https://modelviewer-mf6.readthedocs.io/
Other
7 stars 2 forks source link

ex-gwf-csub-p04 has a hole in the side #48

Closed scharlton2 closed 2 years ago

scharlton2 commented 2 years ago

This occurs in vtk versions > 6.3.

vtk-6.3: image

vtk-9.1: image

scharlton2 commented 2 years ago

This was due to how vtkLookupTable was implemented in vtk >= 7.1. Model Viewer subclassed vtkLookupTable using the class mvColorTable. mvColorTable overrode the Build() routine which now calls ForceBuild() / BuildSpecialColors() in newer versions of VTK. Fixed by adding a call to BuildSpecialColors() in Build().

scharlton2 commented 2 years ago

Another example -- ex-gwt-rotate

image