Author archives: Mike

RSS feed of Mike

A few steps forward...

Got PyOpenGL working on both Ubuntu and Win32 again for basically everything.  Cleaned up the baseplatform module to reduce the code duplication in there.  Updated the extensions included to OpenGL 3.0.  Added in a contributed demo in the demos package.

Will see if I can get a few hours to do a release over the ...

Continue reading

Modernizing the Version Control System for PyOpenGL

I've finally begun the process of switching to a modern VCS for PyOpenGL.  I've requested imports of PyOpenGL, PyVRML97 and OpenGLContext into LaunchPad.  Hopefully that will be a reasonably fast process.  The final straw was checking out the code on Win32 and realizing just how many pointless directories are created (there were a few import ...

Continue reading

TED seems skipable


Wanted something to stretch my mind a little this evening, so I figured I'd listen to some of the lectures from the TED conference.  Started off with "The Universe on a String", "Open Source Economics" and "Bringing World Class Health Care"... and was rather non-plussed.  From the depth and tone of the talks I ...

Continue reading

Eliminating pkg_resources

Just checked in changes to PyOpenGL to strip out the use of pkg_resources.  That should avoid the problems we've been seeing where packaging utilities and the like can't handle the entry-point registrations.  Still need to work out something to avoid speculatively loading e.g. numpy.

Want that tool, but cores are useless without debug symbols

Tried to get the gdb-with-python recipe (that we discussed at PyGTA) to investigate the crashes from the rewrite.  I gather it requires that you have debugging symbols built for Python and all of the modules for it (well, to be able to trace into them, anyway).  I'm on an Ubuntu box here, not really sure ...

Continue reading

Sigh, too far, too fast

Have had to shelve the changes for PyOpenGL to use the pyglet generator for the core code.  Wound up getting extremely hard-to-debug errors which appeared to be due to corruption of object's GC structures (possibly due to GIL-holding issues) when I switched to a Linux 32-bit platform (instead of 64-bit).

I don't want to hold ...

Continue reading

Mind your Ps, Qs and CCallbacks

Been debugging a weird error in GLUT this evening.  Basically if you went into OpenGLContext and used a right-mouse-click-and-drag to rotate around the center-of-view, there would, every once in a while, be a seg-fault.  It didn't happen if you rotated a bit more slowly, or you turned on full logging to see what's going on, ...

Continue reading

Look, but don't worry about them...

One of my colleagues was mentioning a book he'd read in which the author claimed that the most important thing we should be doing was figuring out a way to deflect "killer asteroids" (I assume or meteorites) intent upon destroying the Earth.  The author was apparently saying our greatest need as a society was to ...

Continue reading

Code Cleanup Begins

Working on getting some code cleanup done for PyOpenGL today.  Eliminated some wrapper objects.  Made the raw API much smaller (file-size).  Switched to using the pyglet generator for the GL, GLU and GLUT libraries (still not finished the GLUT port though, the callback types are causing problems).  Made it possible to disable array-size checking for ...

Continue reading

Time to Collect PyOpenGL Source Code Samples

Next step in regenerating the PyOpenGL documentation is to produce the per-function/per-constant sample-code references.  We do this by scanning checkouts of Open Source packages that have online source-code views and generating links to those views on the corresponding documentation pages.

Or, we could be ridiculously lazy and just use a hard-code Google Code search link, ...

Continue reading