PySoy: Joint Visual: Fixed
completed by: Samuel Kim
mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh
Write a render method for
soy.joints.Fixed such that, when a
material property is set, a straight square bar is displayed
connecting the two bodies. This should use a simple VBO.
While only 8 verticies are needed (ideally more for slightly rounded edges), they should provide proper normals, texcoords, and tangents such that many different kinds of materials can be used. The texcoords and tangents should wrap around the bar.
This method should be
override to a
Scene will need a list of joints
it contains to render them. As such, the actual render function is easy while
setting up the rendering chain with
Scene may take a bit longer.
Later Joint Visual tasks will not need to do that work but have more
complex rendering functions.
Update the PySoy bindings for
soy.joints.Fixed for the new
material property so this can be easily shown and tested.
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.