No automatic rendering with in-situ simulations
Hello,
Whenever I am trying to visualize something live (i.e. with Catalyst), the rendering view is not being updated unless I pan over the view with my mouse.
I noticed that automatic rendering only happens when I am dealing with a large dataset. There seems to be some kind of a threshold for when to update the rendering view, based on the data size (or based on the amount of change in data).
I tried increasing the CoProcessor frequency (coprocessor.SetUpdateFrequencies(freqs)), and also the EnableLiveVisualization(True, freq), but it didn't help.
Attached I have a reproducer.
To reproduce: 0. Untar the MovingSphere.tar.gz
mkdir build && cd build
cmake .. && make
- Open ParaView, Catalyst --> Connect, Catalyst --> Pause Simulation
./Spheres ../script/sphere_script.py
- In ParaView I pipe the "Spheres" and "input" filters, and view them in a single RenderView (see picture below)
- In Paraview: Catalyst --> Continue
Expectation: After step 6 I expect one of the spheres (i.e. Glyphs) to move around the other (according to the arrows in the image above). Inspecting the values, this indeed happens, BUT the RenderView is not updated and the visualization is static... Only if I pan around the screen or Pause the simulation, the positions visually updates.
Andy Bauer hadn't heard of this issue before and advised me to open an issue here. I hope someone has an idea on how to make the visualization render automatically.
Cheers!! MovingSphere.tar.gz