While watching this video from another post-processing software that demonstrates how to move the view along a streamline: Creating a View along a Streamline on Vimeo
Is it possible to achieve the same result in Paraview?
Could you please provide some hints on how to achieve that? links to relevant tutorials would be very much appreciated.
You can do something similar pretty easily. Assuming you have created the streamline with the
Stream Tracer filter , 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.
- Add the
Contour filter 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
- 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.
Thank you for your answer. I managed to achieve that by following your steps.
The only tricky part I encountered is that to add a Glyph to the moving particle the time must be different from the first time step, otherwsie it won’t work. I had to change the time to something different to be able to use the velocity vector for the glyph.
Here is the result:
Nice. I’m glad that worked for you.
One thing to note. I assume the issue that you were having with the first step is that the particle disappeared in the first step. You can fix that by double-clicking on the contour value animation track and adjusting the first value to be a little larger.