Can't change vertex visibility after first render

Hi,

The vertex visibility of a PolyData cannot be changed after the first renderWindow->Render(); Any change to its attributes (e.g. color, size,…) works, but visibility is stuck in the previous state.

For reproduction, you can take this code:
https://gitlab.kitware.com/vtk/vtk/-/blob/master/Rendering/Core/Testing/Cxx/TestVertexVisibility.cxx
and add renderWindow->Render(); on line 45

Is this normal behavior?

Thanks in advance,
Julien

1 Like

For context I am using vtk 9.5.0

Hello @Julien_Champagnol,

Being able to change the vertex visibility between Render call should be possible, so it’s probably a bug in vtk

FYI @jaswantp

Hello,

Thanks for your reply, should I open a new issue ?

Julien

yes it would be nice, thanks in advance.

Done!
https://gitlab.kitware.com/vtk/vtk/-/issues/19758