-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Improve material and mesh preview buttons #78858
Conversation
1184822
to
0dd2622
Compare
0dd2622
to
657d4e4
Compare
This comment was marked as outdated.
This comment was marked as outdated.
I don't see any obvious problems with the others. |
Sorry, I forgot this was a sphere. It's hard. Let me see how it should look. PBR materials can be coloured with this chart. But I agree with the later comment. https://docs.quixel.com/mixer/1/ja/topic/pbr-physically-based-rendering |
The correctness of the icon to the actual physical object aside it's much less clear with the new design imo, there's no obvious way that the original design doesn't represent the highlight on a sphere |
I don't see any problems with the original? Can you please clarify what the issue is to justify the change, is there some confusion or issue raised over it? Icons should be as simple as possible If it should be changed I'd suggest turning it into a wireframe sphere like Blender does, otherwise leave it as it is |
Well like I said, I found the hole weird and it's irked me, it's like if something is misaligned. Too small to open an issue and whine about, that's why I didn't only do the PR to change this. Likewise for the old 2 being drawn like this: So my reason is "I found it annoying" but of course, this is subjective, so I'll just strip it out if people do like the old one better. Also the old icon is equally complex before, so I don't get that remark. The cube uses shading, so why would the sphere have a hole? |
657d4e4
to
258826c
Compare
The new icon is much less clear to me, especially in low contrast, and it's not wrong or unclear in any way, it conveys the idea of a highlight on a sphere, bright on half-bright is much less visible the screenshot you provided shows that to me at least, so I have an actual accessibility concern about the design The new design is more "busy", that's what I mean with simple |
258826c
to
f881b47
Compare
In terms of simplicity, a transparent background is at least as busy as a solid color :P This doesn't matter though, getting no consensus on that icon means it's best to not change it. So I've reverted it. |
I suggest adding an outline to icons that are drawn on a mixed-color background. See |
@Calinou Good idea. Here's take 4: |
0755349
to
05652a0
Compare
Those buttons are very clear |
05652a0
to
c8c5a09
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this PR locally. Some comments:
- The outline is a bit too subtle (or too thin) now, considering the background. It doesn't help that much with visibility, given the bright checkerboard pattern in the background.
- An alternative is to darken the checkerboard background (and reduce the contrast between light and dark squares), which dark theme enjoyers will surely appreciate too 🙂
- Icons look broken when using light theme, as the background color doesn't change. I suggest adding the icons to the theme conversion exclusion in
editor_themes.cpp
.
Dark theme
Light theme
Adding the icons there sounds like a great idea! |
It looks good to me, but still I brought opacity up from 60% to 80%. And added them as exceptions. |
c8c5a09
to
22c1b26
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this improvement a lot!
3a85a14
to
2b962fc
Compare
OK doned. Did a few other code style + micro optimizations in the push too, but nothing that affects appearance or behavior. |
2b962fc
to
50f4c29
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! |
A few small improvements to the mesh/material preview, notably adding a new theme variation for buttons of this sort.