vtkCompositePolyDataMapper2 and vtkFollower don't work with transparency
When using a vtkFollower
coupled with a vtkCompositePolyDataMapper2
and a texture that has an alpha channel, nothing is rendered. If any of these parameters is changed (i.e. if we use a vtkActor
or a vtkCompositePolyDataMapper
or a vtkOpenGLPolyDataMapper
instead, or if the texture doesn't have an alpha channel) this works correctly.
Expected behaviour :
Actual behaviour :
Attached a minimal example and its CMakeFile that reproduce this behaviour (does not include the png used in the example)