PySoy: Sphere VBO
completed by: Samuel Kim
mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh
libsoy/src/bodies/Sphere.gs
is currently drawing using vertex
arrays. Change this code to use a VBO (like Box does) in our standard
px, py, pz, nx, ny, nz, tx, ty, ux, uy, uz
format, though you do
do not need to supply texcoords or tangents for this task.
Additionally, remove the subdivisions property and make this value be based solely on the size of the sphere. Use your best judgement and test this against spheres of different sizes to get a size:subdivisions mapping that works.
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.