GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

PySoy: Improve Named Materials

completed by: Nikolay Lazarov

mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh

You can currently create a colored material with any named color, that color is applied to the ambient, diffuse, and specular colors as-is. While this looks adequate for darker colors, the effect becomes too sharp with lighter colors and makes them look much more reflective than intended.

Research how OpenGL lights and materials work and determine, with some trial and error using Python/PySoy, a good way to calculate the specular color for all named color materials.

While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.

When you've done, upload a plain text file with what you've found, your reason, and some example Python code which demonstrates it.