lichess.org
Donate

3D theme piece sizes

Would it be possible to scale down the piece sizes on the 3D board to more closely match real life? A typical nice set will have a king base diameter of 2/3 of the square size. Right now in the 3D theme they are almost equal, and it makes for a very crowded board. Otherwise the 3D themes look great.
It shouldn't be hard to do if someone can link me to the original resource files.
DunnoItAll, you can find all of the models and textures in this git repository:
github.com/clarkerubber/Staunton-Pieces

The models were originally done in a proprietary program called SolidWorks, but are available in a number of formats. However, I cannot vouch for how well importing works in the 3D modelling software that you use.
Shouldn't need to bother with the models. Just large PNGs should be fine. Just need to add some transparent extra space all around the outside and it should work fine via the stylish plugin or something for those that want it this way. I'll try to work on it this weekend when I have some time.
Doable with some css, play around with the values and maybe zoom the board in the theme settings to make the pieces distinguishable.

.is3d .cg-piece {
transform: scale(0.8) translateY(6%);
}
Excellent, flugsio. I converted your css to a stylish plugin for anyone that wants to use that. I think it looks much better. I changed the values a bit, but those are easily modifiable for anyone that wants to change them. Here's a screenshot of the new proportions:

http://i.imgur.com/TYX8TBg.png

And here is the stylish plugin link:
userstyles.org/styles/115450/lichess-mod-smaller-3d-pieces

Credit to flugsio for writing that little bit of code.
Very cool! I recommend installing it and changing scale to 0.85, but that's just my preference. :-)

Also note that the style affects 2D CAPTCHAs; I suggest a category more like:
.is3d > #lichess > .analyse .cg-board .cg-piece

This topic has been archived and can no longer be replied to.