CMSM-VCU / zoo

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

Enable saving images with supersampling #26

Open rileychall opened 2 years ago

rileychall commented 2 years ago

Currently, the saved image resolution is limited by your screen resolution. You need to be using a high resolution screen to get high resolution images.

rileychall commented 2 years ago

This seems like something that needs to be implemented in Pyvista, or would require bypassing Pyvista's image saving implementation entirely. Not easy. This was possible in Mayavi because they implemented image saving very differently. They use vtkWindowToImageFilter, which has scaling/magnification/supersampling built-in.

rileychall commented 9 months ago

pyvista.Plotter.image_scale was implemented in 0.38 and works perfectly. Note that it does not work correctly with screen-space effects like SSAO.