Archetype engine OpenGL python pygame pyopengl
Made a few additions to the Archetype engine. Added a very rudimentary display class for opening up an OpenGL window using pygame, a set of vector classes (2D/3D/Quaternion), and improved BinaryFLO's compatibility as a file-like object by adding some of the read-only attributes.
Of course, I cheated a little. For the vectors, specifically, I rummaged through an old 3D project of mine... another library I was working on that wasn't really going anywhere (no focus, unlike this new engine)... and extracted from it, the vector classes I had designed for that project. Looking over them, I have to admit, I like how they had turned out, but the point is, three nice new classes (well, technically 4, but the 4th is a base class) and they were more or less no work to include. That's not to say I didn't do any work at all. I cleaned up a few methods... or dirtied them, depending on your point of view... and enhanced attribute access (long story), so, some work was actually done. I still need to design unit tests for these classes, but, my state got over a foot of snow today, so, I won't be writing those tests right now.
I'm also trying to find myself several good sources for OpenGL programming, especially pyopengl. I have a couple of OpenGL books on my bookshelves, but most of those are almost a decade old (yeah, I've been lazy... and broke) and so they're a little out of date. Good enough to get the basics started, but I think my engine will need a little more than just the basics to be worth anything
So, readers, how's my blog doing? Still of any interest?