Skip to content
Snippets Groups Projects
Commit ab7468ee authored by Jaswant Panchumarti (Kitware)'s avatar Jaswant Panchumarti (Kitware)
Browse files

Adapt vtkActor to correctly detect translucent geometry on mapper

- address paraview/paraview#22605
- fixes a bug that happened when using the composite polydata mapper
  with per-block overriden opacities. When the actor was made transparent,
  and a block's opacity was overriden to 1.0, that block was never
  rendered, because the renderer inferred from the actor that there was
  no need to render opaque geometry.
- this commit also adds a unit test that cycles opacity for individual
  blocks of a translucent actor and verifies the rendered image is
  correct.
parent 9805f7b5
No related branches found
No related tags found
No related merge requests found
Showing
with 226 additions and 4 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment