育碧内部用于模拟色盲的工具Chroma已开源。
Chroma: Ubisoft's internal tool used to simulate color-blindness

原始链接: https://github.com/ubisoft/Chroma

Chroma 提供了一个实时模拟各种色盲类型(全色盲、部分色盲和蓝绿色盲)的解决方案,用于游戏开发。它通过提供跨不同游戏引擎的精确模拟,帮助无障碍团队进行测试。 其主要功能包括:单显示器色彩模拟叠加实时游戏画面,高性能可达60 FPS,以及用户友好的可配置UI,方便通过截图进行错误日志记录。Chroma 能够直接捕捉和模拟实时游戏画面的色盲效果,这是其他解决方案无法实现的。 如果没有安装Visual Studio 2022,可能会遇到CMake错误('wait_for' is not a member of 'winrt::impl')。解决方法是安装 Microsoft.Windows.CppWinRT NuGet 包或更新 CPPWinRT 库。但是,建议使用 Visual Studio 2022 来避免此问题。

育碧已在GitHub上开源了他们的内部色盲模拟工具Chroma。然而,一位Hacker News用户指出,育碧似乎直接在代码库中存储了Windows安装程序(.exe文件),这并非GitHub的常见最佳实践。其他用户对此原因进行了猜测。有人认为这样做是为了方便用户获取可执行文件。另有人推测这可能是育碧内部版本控制系统(VCS)项目的直接导出,该系统对二进制文件的差异处理方式不同。普遍共识是,这并非一个标准的开发代码库,因为缺少分支、标签或多个贡献者。

原文

Chroma helps in simulating different types of color blindness occurring in society.

Main purpose of this is to simulate 3 major Color Blindness types Protanopia, Deuteranopia and Tritanopia for our different games and aid accessibility team in performing various complex testing.

Following are key features:

  • Color Simulation on single monitor. This solution works on top of game and can be maximized as per requirement.

  • Work on all games. No dependency on any specific game or engine.

  • High performance. Able to simulation live gameplay upto 60 FPS.

  • Accurate results.

  • Simulation of all type of color blind forms.

  • Only available solution which capture screen live gameplay screen and simulate.

  • Easy screenshot to log error.

  • Easy and configurable UI.

  • For more details look into userguide here.

If you encounter the following error while running CMake without Visual Studio 2022:

error C2039: 'wait_for': is not a member of 'winrt::impl'

This issue may occur due to an outdated CPPWinRT library. To resolve it, install the Microsoft.Windows.CppWinRT NuGet package using the following command:

nuget install Microsoft.Windows.CppWinRT

Alternatively, ensure that your development environment is using an updated version of CPPWinRT. The best option to avoid this issue is to use Visual Studio 2022.

联系我们 contact @ memedata.com