Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolution of preview image is bad #29

Open
tdapper opened this issue Oct 24, 2020 · 2 comments
Open

Resolution of preview image is bad #29

tdapper opened this issue Oct 24, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@tdapper
Copy link
Contributor

tdapper commented Oct 24, 2020

The preview image (in both, browser and property editor) currently is really low resolution. That doesn't look good and also makes it hard to make out details that may be helpful to consider when picking a plant in the browser.

@dvhart dvhart added the enhancement New feature or request label Oct 24, 2020
@dvhart
Copy link
Collaborator

dvhart commented Oct 24, 2020

Thanks for reporting this issue.

This is one of the many areas where I have found the Blender UI toolkit to be frustratingly rigid and limiting. The current mechanism uses a scaled icon, so while the source image is the higher resolution preview shipped by Laubwerk with the Plant Kits, the Blender preview/icon mechanism scales it down to be used as an icon, and then we scale it back up to use it as a preview. It's an admittedly bad solution.

The solutions I've explored on the Blender development forums to improve the image quality have other limitations which I found to be worse tradeoffs than the image resolution.

So this needs to be addressed, but I don't yet know how we can address it. Marking as an enhancement and we will continue to work with the Blender dev community to find a better solution.

@dvhart
Copy link
Collaborator

dvhart commented Nov 20, 2020

I've kept digging for a better solution, and there just does not appear to be anything we can use in the UI from Python that will show the full resolution image, rather than a scaled icon. Even the "blender way" using template_icon_view shows the same pixelation (and indeed, you pass it an icon_id). Also.... it's a terrible widget for any more than about 8 thumbnails.

Screen Shot 2020-11-19 at 10 37 11 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants