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

PySoy: Light Rendering

completed by: Samuel Kim

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

Write a soy.bodies.Light.render method which, when a size property is set, renders a circle which always faces the camera in the specified size using the diffuse color of the light. A VBO triangle fan is the most efficient way to do this. Size should default to 0, while its set to zero the render method should return immediately.

Add a size property to the PySoy Light class so this can be easily tested. If you want to get fancy, try to make this look cooler with a blending of the light's color components from the center of the circle to the outside.

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.