GSoC/GCI Archive
Google Code-in 2014 Copyleft Games

PySoy: Fix tangents for Landscape

completed by: kinshukk

mentors: AJ Williams, Arc Riley, David Czech

Ensure the normals, texcoords, and tangent values for soy.bodies.Landscape are correct and fix them where they are not.

Tangents previously pointed "up" (Y axis), where normals stick "out" (Z axis). With the new bumpmapping code, tangents must point "right" (X axis) and rotated 90 degrees from the normal.

Since our classes were written by different developers at different times, and bumpmapping is one of the least tested features, different classes are in different states - some texcoord/tangent data may be missing entirely while some may be already perfectly correct and need to just be checked over.

While working on this task you should join and remain in #CopyleftGames 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, commit your work and post the resulting changeset url to this task.