PySoy: Refactor Billboard
completed by: Samuel Kim
mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh
Refactor pysoy/src/models/Billboard.pym
into a new
soy.bodies.Billboard
class. The purpose of this special body is
to display a material which always faces any Camera that renders it.
Beside overriding Body.mult_model_matrix
, you'll have to build
a small VBO of triangles (see Box.gs) as OpenGL ES1 does not support
glBegin()/glEnd()
style rendering or quads. You will need to
support subdivision based on the size.
Update or write an example in Python which uses a Billboard and two cameras with two projectors side-by-side to show your work.
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.