Comments (11)
I think using icons actually will allow for smaller menu. You can set the size for the preview thumbs. Perhaps i can code an example
The problem I have with thumbnails is that in order to distinguish the materials properly, the thumbs need to be much bigger than 32x32 pixels -- probably at least twice that size -- and I want to keep the menu very compact.
I'm satisfied with using text labels only, but if you want to pitch an alternative using thumbnails, I'd be glad to take a look.
from blender-qmm.
Ill check what i can come up with. I know we can alter the preview. you could try template_icon_view, but it needs materials for that. We could add a folder with material previews and use those.
If the icons are placed in subfolder per categorie, we can use an enum menu to show categories. Changing this menu will then show the icons per material
Here's a quick preview using materials, we can adjust the thumbnail icon size. An image says more than words ;)
from blender-qmm.
There is sample code for making thumbnails like KitOps and Sanctus Library, but that would mean making a different kind of menu, and I like the smaller drop-down version I'm using. I could add 16px color chips, but they wouldn't be very readable.
I'm open to localizing the add-on into other languages, though.
Since you're in Shanghai, I was able to get the list translated into "Simple Chinese". If you're willing to pitch in and review it, and make any needed corrections, I'll add it in.
Noble Metals: 贵族金属。
Gold 黄金
Gold Fresnel 菲涅尔金
Palladium 钯金
Platinum 铂金
Silver 银
Silver Fresnel 银菲涅尔
Base Metals: 基本金属。
Aluminium 铝
Copper 铜
Copper Fresnel 铜菲涅尔
Iron 铁
Lead 铅
Lead Rough 粗铅
Tin 锡
Titanium Polished 钛 抛光
Titanium Textured 钛的纹理
Zinc 锌
Alloys: 合金。
Brass 黄铜
Bronze 青铜
Chrome 铬
Steel 钢
Extras: 额外的。
Asphalt 沥青
Asphalt Bleached 漂白的沥青
Cinnabar 朱砂
Glass Hack 玻璃
Mercury 水银
Rubber Cutting Mat 橡胶切割垫
Tinted Plaster 着色的石膏
Wall Paint 墙面漆
from blender-qmm.
Thank you very much for your reply, I rechecked the translation
Noble Metals: 贵金属
Gold 黄金
Gold Fresnel 菲涅尔金
Palladium 钯金
Platinum 铂金
Silver 银
Silver Fresnel 菲涅尔银
Base Metals: 基础金属
Aluminium 铝
Copper 铜
Copper Fresnel 菲涅尔铜
Iron 铁
Lead 铅
Lead Rough 粗糙铅
Tin 锡
Titanium Polished 抛光钛
Titanium Textured 纹理钛
Zinc 锌
Alloys: 合金
Brass 黄铜
Bronze 青铜
Chrome 铬
Steel 钢
Extras: 额外的
Asphalt 沥青
Asphalt Bleached 白沥青
Cinnabar 红金属
Glass Hack 玻璃投影
Mercury 水银
Rubber Cutting Mat 橡胶切割垫
Tinted Plaster 着色的石膏
Wall Paint 墙面漆
from blender-qmm.
I've added localization to version 1.4.9.
Please test it and let me know if it works
from blender-qmm.
hi, the translation doesn't seem to work, can you tell me how to set it up?
from blender-qmm.
Sorry, I don't know how to put requirements under your qmc plugin. Can you add an RGB node instead of modifying the BSDF Shader, because in actual work, many copied materials do not contain the BSDF Shader
from blender-qmm.
Okay, I've updated the version 1.4.9 zip.
Please download it again and give it a try. It should work now.
RE: Your Quick Material Colors suggestion: I opened Issues and copy, pasted it -- and a solution -- there..
from blender-qmm.
Thanks!It‘s working!
from blender-qmm.
Brilliant! Thanks for motivating me to learn how to localize/internationalize my add-ons.
from blender-qmm.
I think using icons actually will allow for smaller menu. You can set the size for the preview thumbs. Perhaps i can code an example
from blender-qmm.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blender-qmm.