Open RafaelPalomar opened 1 year ago
I tested this, it seems different grid divisions need different thickness values to work perfectly when rendering. So we need an equation calculating the corresponding thickness every time grid divisions change.
For example:
grid divisions = 20, thickness=3.2, missing lines
grid divisions = 20, thickness=4.5, work perfectly
grid divisions = 20, thickness=6.1, some lines are bold
I suspect applying anti-aliasing will help on this.
Anti-aliasing is in 3D Slicer settings, but in practice I think it is not applied; it is possible to enable that by code though, but it may have side effects: https://discourse.slicer.org/t/antialiasing-in-in-slice-mpr-views/21140
I suspect applying anti-aliasing will help on this.
Anti-aliasing is in 3D Slicer settings, but in practice I think it is not applied; it is possible to enable that by code though, but it may have side effects: https://discourse.slicer.org/t/antialiasing-in-in-slice-mpr-views/21140
I tried this, before and after FXAA was enabled, and there is no obvious improvement. For now, I would suggest we limit the grid division value to 0 - 30, and set a minimum thickness value of 4.6, to make sure when the grid division value is between 0 - 30 everything works as expected.
When the thickness value of the grid for the resectogram is low, some of the grid lines are not drawn. Maybe setting a minimum value for the grid thickness would solve the problems.