Moving Camera along a streamline in Paraview: Is it possible?

You can do something similar pretty easily. Assuming you have created the streamline with the Stream Tracer filter Screen Shot 2024-01-12 at 7.36.34 AM, which creates an Integration Time field, you can create an animation of a particle over the streamline and then have the camera follow that particle.

  1. Add the Contour filter Screen Shot 2024-01-12 at 7.38.07 AM to the streamlines and contour on the IntegrationTime field. Then add an animation track to adjust the contour value from its minimum to maximum time. This will create an animation of a particle moving along the streamline. This trick is described on this post: Dynamic streamlines
  2. Add an animation track to follow the animated particle you just created. This is briefly described here: 9. Advanced: Animations — ParaView Documentation 5.11.0 documentation. You can now zoom into the particle and then play the animation to follow the particle around. The particle does not have to be visible for the camera to follow it.

Note that the animation will not be exactly the same as the video you shared. Notably, the view angles of the camera will not change. It will only change the position of the camera to follow the position of the object it is following.

1 Like