Archives Aug. 22, 2008

Next Up: Code Cleanup

PyOpenGL 3.x has been in development for something on the order of 3.25 years, from the first tentative experiments in making a ctypes wrapper to something that's almost a drop-in replacement for PyOpenGL 2.x.  In that time I've gone through a significant number of code generator approaches and have altered the method I use for ...

Continue reading

Porting to PyOpenGL 3.x from PyOpenGL 2.x

Just went through the process of porting PyUI to PyOpenGL 3.x.  The changes were pretty trivial:

  • was using glVertex2i but passing it doubles (Python floats from Pygame Rects), PyOpenGL 3.x doesn't allow that kind of silent auto-conversion (just for performance reasons related to adding the call to the wrappers, I'd be happy to have it, ...

Continue reading

Previous day

Aug. 21, 2008

Next day

Aug. 23, 2008

Archives