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

PySoy: Refactor TSLV Calc

completed by: Samuel Kim

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

One of the last steps to getting bumpmapping working again is to refactor our old TSLV (tangent-space light vector) array code from Pyrex. If you're claiming this task you should be familiar enough with the codebase to know where this needs refactoring from (src/_datatypes/VertexList.pym), where it belongs (Body.gs), generally how to add it to the VBO, and how it needs to be passed to Material.render.

Where you may need help is figuring out how to trigger calculating it, how and where to update the VBO with the new data, and giving the code one last kick to get it to render correctly. When you're done, bumpmapped surfaces should change (light/shadow) as they rotate or lights move where currently they're fixed.

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. This is especially important for this task as other GCI tasks may be worked on to modify the same function.

When you've done, commit your work and post the resulting changeset url to this task.