Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Resolution of preview image is bad #29

Closed
tdapper opened this issue Oct 24, 2020 · 3 comments
Closed

Resolution of preview image is bad #29

tdapper opened this issue Oct 24, 2020 · 3 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

@dvhart
Copy link
Collaborator

dvhart commented Jul 5, 2024

Due to changes in the Laubwerk API and the lack of current API documentation, I am no longer able to develop or maintain Thicket. Consider trying Laubwerk’s fork of thicket:

https://github.com/Laubwerk/player-for-blender

Thank you for using Thicket, it was a lot of fun to develop.

@dvhart dvhart closed this as completed Jul 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants