AMAZINGINDEX.COM 日报快照
50.8
VOL. 2026.08
2026.08.05
← 返回 2026.08.05 日报
日报快照 · Daily Snapshot
NO. 019

肤色生成算法解决游戏角色多样性难题

#ARTICLE HackerNews 2026.08.05
推荐指数 39.0 NO. 019 · 2026.08.05
发布2026/08/04Score299Comments68

开发者设计了一个专门用于生成真实人类肤色的色彩空间和选择算法,配套提供了 JavaScript 颜色选择器和 Python 生成代码。游戏、数字艺术和角色创建工具可以直接集成,避免设计师手动调色的低效和不准确问题。

游戏和数字人行业长期依赖设计师手动调色或从有限预设中选择肤色,结果往往是'不够真实'或'刻板印象合集'。这个项目的聪明之处在于把肤色从 RGB 空间重新参数化为更符合人类感知的维度(亮度、红润度、饱和度),让随机采样自然落在真实分布内。

跟 Adobe 的 Skin Tone Filter 或 Unity 的预设库相比,这个方案是算法驱动的、可解释可扩展的。做虚拟形象、游戏角色生成器的团队可以直接把 select_point 函数接进你的生成管线里,替代原来硬编码的肤色表。

意见分歧 58 条评论

核心争论:算法是否真实反映肤色多样性,还是存在对浅/深肤色的表示偏差

m_w_

This is super cool! I have always loved projects that try to categorize color space. Usually my work has gone in the other direction - isGray, isCloseToWhite, isPastel - but it's the same insofar as it's defining shapes like your matplot visual. Wish I had this on hand like this three or four years

automatoney

In sharing this around I've found more people than I thought who've done things to semantically chop up the color space - definitely a more interesting area than I first thought of when working on my narrow use case. Feels like it'd be fun to play with something that has a whole bunch of different r

moralestapia

Interesting. It might be a bit biased though, as there's much more variation on fairer skin tones than on dark ones (there's only one that looks like the colloquial "black"). This contradicts all research and social media from the past decade.

查看原文 →