Skip to content
unidesigner edited this page Mar 29, 2011 · 1 revision
  • There is no other internal drawing structure apart from that given by opengl itself.
  • Input Datastructures are numpy arrays or sequences of numpy arrays.
  • The numpy arrays are directly linked to DrawElements by their .data pointers
  • Our main object is an Actor which has draw(), update(), init(), make_aabb(), pickray(), etc.
  • If you want your object to be shown on the Fos window then you need to make a class e.g. MyActor witch inherits the Actor and then fill inside the opengl commands who suit your needs.
  • Because python calls take a lot of time we always try to reduce the number of calls. Opengl gives us some commands to facilitate that which we recommend.

Clone this wiki locally