Questions about the vtkAnimationScene

Hello,
I want to make a video by vtkAnimationScene. I have referenced this link https://kitware.github.io/vtk-examples/site/Cxx/Utilities/AnimationScene/.

When I ran this code in the qt window, there was a problem of blocking the interface and causing it to not refresh. i call vtkAnimationScene::Play() when button was clicked.

So. i want to known how to use vtkAnimationScene to avoid this problem.

Could you please advise for me?

Thank you :slightly_smiling_face: