资 源 简 介
Pocketwatch
is...
Pocket watch is an OpenGL graphics library for python, intended to be used in a manor which makes sense to people who typically work with 2d graphics. Pocketwatch makes use of C++ to do some basic memory management, and uses this to do the bulk of the opengl calls for drawing your objects and things. Pocketwatch features an api for writing plugins to extend the backend, so that you can easily write more advanced code if you need to, and distribute it separately.
Pocketwatch provides a simple api to make use of this backend to write simple 3d programs.
why!?
Because I want to write python programs that can render opengl graphics with reasonable performance. Somewhere along the way someone told me a dirty dirty lie, which is to say that pyopengl can do this. Despite what your mother may have told you, using ctypes to do lots of opengl calls is actually very SLOW. So instead, I took all of the code that I could,