CMSM-VCU / zoo

Peridynamics data visualization tool
MIT License
0 stars 0 forks source link

Mask limits behave incorrectly during Save All Images operation #22

Closed rileychall closed 2 years ago

rileychall commented 2 years ago

First and foremost, mask limits in general are not applied in the images saved during the Save All Images operation.

More strangely, having a positive minimum mask limit or a negative maximum mask limit causes nothing to be rendered in the images.

rileychall commented 2 years ago

This is fixed in version 0.7.3. The mask limits cause the shader to be updated every time the timestep is changed. I think this does not necessarily update the rendered image without user input. Immediately calling the save_image method afterwards in code prevented the updated (or any?) image from being rendered. Forcing the plotter to render after switching timesteps fixes this.