For a better representation of the pixels of a zoomed out image, the
pixels need to be "interpolated".
For that we can use GPU_SAMPLER_FILTER.
With this path the zoom value is checked and the GPU_SAMPLER_FILTER
applied if desired.
Differential D12351
Fix T83529: Horizontal stripe artifacts in image editor Authored by Germano Cavalcante (mano-wii) on Aug 30 2021, 8:57 PM.
Details For a better representation of the pixels of a zoomed out image, the For that we can use GPU_SAMPLER_FILTER. With this path the zoom value is checked and the GPU_SAMPLER_FILTER
Diff Detail
Event TimelineComment Actions For me the stripes are still there. (Using resolution scale of 1.76 on AMD GPU + Open source driver.) Comment Actions Apparently the problem I'm facing is different. @Jeroen Bakker (jbakker), using your attached file and after generating the image, could you copy and run this script in the text editor?: It generates the same image but through a "draw_callback". Check if the problem is also seen in the draw_callback image. Comment Actions The internal shader had the similar results, exect the image was scaled and displayed on a different location due to how the image editor vertex shader works with the actual geometry send to the gpu. Comment Actions There is a similar issue with the Render View.. When displaying a render at 1:1, panning the Render reveals artifacts. After Panning ( This is 1:1 Zoom )
Comment Actions It's curious that after panning, a 1:1 scale image shows up with these artifacts. Maybe there is some way to round the position of the image vertices. I suppose this would solve the 1:1 scale problem and the problem that @Jeroen Bakker (jbakker) noticed. Comment Actions
As much as I move and scale, I cannot reproduce the problem that @Jeroen Bakker (jbakker) and @Lloyd (digim0nk) observed. | ||||||