Closed yveszoundi closed 2 years ago
The screenshot quality is not always the greatest with default hard-coded settings, leading to blurry images while zooming.
Provide some configuration options in order to set the expected screenshot quality for zooming.
Configuration change
config.nim
~/.config/boomer/config
Conditional logic for higher quality screenshots
In the main procedure (boomer.nim), I've played around with the following with great results:
boomer.nim
GL_TEXTURE_MIN_FILTER
GL_LINEAR_MIPMAP_LINEAR
GL_NEAREST
GL_TEXTURE_MAG_FILTER
GL_LINEAR
Thanks again for your hard work overall, I really enjoy your videos especially on porth.
Problem
The screenshot quality is not always the greatest with default hard-coded settings, leading to blurry images while zooming.
The Ask
Provide some configuration options in order to set the expected screenshot quality for zooming.
Potential approach
Configuration change
config.nim
(image_quality=default or high?)~/.config/boomer/config
)Conditional logic for higher quality screenshots
In the main procedure (
boomer.nim
), I've played around with the following with great results:GL_TEXTURE_MIN_FILTER
set toGL_LINEAR_MIPMAP_LINEAR
instead of the defaultGL_NEAREST
GL_TEXTURE_MAG_FILTER
set toGL_LINEAR
instead of the defaultGL_NEAREST
Thanks again for your hard work overall, I really enjoy your videos especially on porth.