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

PySoy: Planar Texcoords

completed by: Samuel Kim

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

Add texcoords and tangent values to soy.scenes.Planar such that repeating patterns can be used. Refer to our LoD generated vertex points for generating texcoords and tangents in the same function:

Planar LoD

In order to render correctly, while the flat ground is always rendered centered on the Camera, the texture matrix will need to be changed to reflect Camera movement. A property should also allow setting the scale of the texture matrix.

Demonstrate this working with a small example that uses a bumpmap, colormap, and moving camera. You may want to write the example first to make debugging easier.

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, commit your work and post the resulting changeset url to this task.