Category archives: Snaking
Discussions of programming, particularly of programming Python
Fixed one regression, another discovered (Don't fix unbroken things...)
Written by
on
in
Snaking.
The bug in the array handling for OpenGL-ctypes was due to my trying to be too clever. Oops. Finished running the OpenGL and OpenGLContext test suites. Biggest issues that surfaced were that the nurbs support has been broken somehow :( , and that the OpenGLContext mouse-handling code is accepting far too many events for processing, ...
Something got fixed on my machine (Probably by the gcc and glibc update)
Written by
on
in
Snaking,
Tuxedo.
Running the PyOpenGL GLUT demo "gears.py", which is basically identical to the standard glxgears program, today I get 1430fps on my workstation, (compared to about 1600 for glxgears today). This same machine was getting around 150fps last week (with either program). I'm guessing the complete system rebuild with gcc 4.x and glibc 2.4.x (which was ...
Apparently a regression crept in over the weekend (My lunch-break in testing...)
Written by
on
in
Snaking.
Spent the lunch break working on testing OpenGL-ctypes. Got through all of the PyOpenGL demos, but far more were failing than should have been. It appears I've introduced a bug in array handling at some point and didn't notice it. Grr. Worse, as I was testing in the OpenGLContext area I discovered a bug that ...
Manufacture a bit of time with a bit of sacrifice (OpenGL-ctypes instead of billables...)
Written by
on
in
Snaking.
Decided that I just had to get some work done on OpenGL-ctypes if it's going to come out any time reasonably soon after Python 2.5 final. Accordingly took the day off and worked solely on OpenGL-ctypes. Primary task today was to work on the documentation for developers and contributors. I've posted that (in-process) documentation to ...
OpenGL-ctypes time just doesn't materialise (Though my room is cleaner...)
Written by
on
in
Snaking.
I got a bit of hacking done on OpenGL-ctypes over the weekend, but not the 2+ days I'd hoped for. I started looking seriously at how to make the extension-writing process more automatic and clean. Also began working on the architectural overview and "how to contribute" documents.
We went for a party at Bryan's on ...!-->!-->
What to do with vertex_buffer_objects? (Pushes itself deep into the rest of OpenGL)
Written by
on
in
Snaking.
A few fixes here and there in OpenGL-ctypes, allows a few more of the samples to run properly. Also did some preliminary testing with PyGame-ctypes (seems to work fine with OpenGL-ctypes). Then sat down to work on the ARB vertex_buffer_objects extension. The extension itself is fairly straightforward, but it's the side effects that make it ...
StarPy patches integrated into CVS (Maybe 20 lines of changes...)
Written by
on
in
Snaking.
Taking the lunch-hour here to work on getting the StarPy patches integrated. The changes are fairly minor in terms of new functionality, a few bug fixes and adding a few (new) parameters to AMI originate. I haven't investigated, but I gather the "variables" patch is the exposure of the new api for originate that was ...
Tiniest little bit of StarPy hacking (Pitifully small, really...)
Written by
on
in
Snaking.
Discovered a little while ago that there were 7 unread messages about StarPy that got sorted into the Thunderbird folder and never read. Urgh. 4 patches, a bug report and an offer to work on the system Duh!
So yesterday I set up the laptop to have Asterisk, StarPy, and StarMail so that I can ...!-->!-->
GLSL demo ported into OpenGL-ctypes (Cartoon shading is fun!)
Written by
on
in
Snaking.
I just checked in the the (minor) enhancements to allow for compiling and running GLSL shaders with OpenGL-ctypes (based on the PyGame wiki page). This is by no means a complete wrapping, it's just the features that the demo uses wrapped up so that they have "pythonic" interfaces and match the C definitions (e.g. allowing ...
OpenGL-ctypes play in the margins (Where's the time...)
Written by
on
in
Snaking.
I've been trying to work on OpenGL-ctypes in the hours here and there. Mostly minor fixes. I've added the Demos directory from PyOpenGL. I've added and tested the Tk/Togl system with Togl 1.7 (system install (though there was no emerge for Gentoo and required re-emerging Python with Tkinter (yay, Tkinter isn't included in Python))) and ...