如何使用文件夹内的内容创建 Vista 风格的文件夹图标?
imageres.dll
(IIRC) 包含文件夹正面和背面的图标,我可以在它们之间放置我自己的图像。
然而,在资源管理器从缩略图生成的图标中,以及在大多数预建图标中,文件夹内的图像是 3 维旋转的,因此它看起来像是从文件夹中伸出来的。
我假设这是一个倾斜变换;有人知道我应该在多大程度上扭曲我的形象吗?
请注意,我不是问如何在 Photoshop 中或以编程方式完成此操作;而是询问如何在 Photoshop 中或以编程方式完成此操作。我想问一下参数是什么
How can I create Vista-style folder icons with something inside the folder?
imageres.dll
(IIRC) contains icons for the front and back of a folder, and I can put my own image between them.
However, in the icons generated by Explorer from thumbnails, and in most of the prebuilt icons, the image within the folder is 3-dimensionally rotated, so that it appears to be sticking out of the folder.
I assume that is a skew transform; doers anyone know exactly how much I should skew my image?
Note that I'm not asking how to do it in Photoshop or programmatically; I'm asking what the parameters are.
发布评论
评论(1)
如今,您对于此类用户界面设计问题的第一站可能应该是 Windows 用户体验交互指南(也可在 PDF)。当然,这些指南还包含有关美学的文章,特别是您您将找到有关图标的详细章节。
对于图标设计的各个方面,这些指南实际上提供了精确的参数,而对于其他方面,它们至少提供了值范围或特征,请参阅有关 透视,光源和阴影< /a>.
也就是说,由于我自己缺乏设计技能,我认为您不会找到关于您的假设的专用参数,即单个倾斜变换可能会达到目的;事实上,似乎需要更复杂的转换才能实现所需的透视效果,如 透视:三维物体在透视中表示为固体物体,从具有两个消失点的低鸟瞰角度看。 (不过,根据我下面的评论,通过倾斜/剪切变换进行近似仍然是可能的。)
Your first stop regarding user interface design questions like this nowadays should probably be Windows User Experience Interaction Guidelines (also available in PDF). Of course these guidelines feature articles about Aesthetics as well, in particular you'll find there a detailed chapter about Icons.
For various aspects of icon design these guidelines do in fact offer precise parameters, while for others they are at least offering value ranges or characteristics, see for example sections about Perspective, Light source and Shadows.
That said, lacking design skills myself, I don't think you'll find there dedicated parameters regarding your assumption that a single skew transform might do the trick; in fact a little more complex transformation seems to be needed to achieve the desired perspective effect as illustrated in the second example within section Perspective: Three-dimensional objects are represented in perspective as solid objects, seen from a low birds-eye view with two vanishing points. (An approximation via a skew/shear transform might still be possible as per my comment below though.)