Closed tsilvs closed 1 year ago
Also see issue https://github.com/mgerhardy/engine/issues/74
Manual sorting of colors will be in 0.0.20.
You can now re-order the colors in the palette widget via drag and drop - if you hold the ctrl key the colors are replaced without changing the look of the model.
finally implemented - but i need to find a better place in the ui
It might be better to place more darkened colors in starts of the rows and more lightened in the ends somehow while the colors being grouped by hue.
Using HSL color scheme model might be a good idea.
Depends on grid implementation that you've made.
Do you mean to sort into the different direction? I can do asc and desc sorting easily if that’s what you mean
No, I mean something like this
Horizontally it is sorted by lightness, vertically - by hue.
That’s going to be harder as you can change the dimensions of the palette panel and thus would reorder the palette each time
i begin to understand why magicavoxel introduced the imap chunk and made the ordering of the palette widget independent from the real color indices.
I've now implemented palette indices, too - sorting is now possible without really changing the palette. The sorting algorithm that produces an order as you've shown in the screenshot is still a mystery for me though. Need to do some research on this.
Parameters could be: