catalyst rendering/python rendering editions fail with unstructured grid due to volume mappers
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When we build a catalyst edition with everything available (including redering-base and rendering python), we cannot use it with unstructured grids.
The problem appears to be tied up with the fact that when you try to create a representation of an unstructured grid, the system tries to create volume mapping/rendering stuff, which is not included in the edition. When I have tried to remove the dependency, either by playing with rendering.xml or skipping the creation of those vtk objects in the .cxx code, I end up with a crash.
The test available as .../ParaView/Catalyst/Editions/Rendering-Base/Testing/Rendering-Base/use-rendering-base.py
succeeds, but it is a poly data set, not an unstructured grid. To see the error, add a Clip() filter (which has an unstructured grid as output):
from paraview.simple import *
Sphere() Clip() Show() Render() WriteImage('rendering-base.png')
in the above python code, we have added Clip() after Sphere() so that the active source will be an unstructured grid. The Show() will fail, complaining of the absence of some volume mapping stuff. As I mentioned before, when I hack the .cxx code to just not create the vtkObject if it isn't there, I get a crash later.
(This test will show the failure in the most recent master version of the repo which I downloaded).