Author archives: Mike
Sat down to generate the PyOpenGL docs today
Written by
on
in
Snaking.
Which uses the directdocs generator, which is based on python-lxml... but the API for lxml has apparently changed (with the rebuilding of the workstation to Ubuntu). Namespaces have to be passed explicitly as a named argument... no problem, can fix that... oh, but now it can't resolve entity references such as ⁢ in the document. ...
OpenGL at PyGTA
Written by
on
.
OpenGL presentation at PyGTA went alright, but it went *way* over time (2.25 hours) and that was without any particularly involved demos or the like. Then again, wasn't really attempting to keep to any sort of timeline. Can likely cut out much of the political stuff, and can go faster on the shader theory (I'm ...
Lists/tuples are so convenient
Written by
on
in
Snaking.
As I've been working on the OpenGL presentation I've run into this issue a couple of times... much of the overhead in PyOpenGL 3.x's array-handling could be eliminated if we didn't allow for copying data at all when passing in array values. That is, if we were to always require that the client-passed value be ...
Graphics suck time... indecision more...
Written by
on
in
Snaking.
Working on one of the graphics for the OpenGL 3.1 presentation most of today. It's a fairly generic drawing, showing the VBOs, texture-storage, Vertex and Fragment shaders and the various interconnections such as Vertex Attributes, Uniforms, Varying attributes and the like. I found two drawings that were very similar to what I wanted, one in ...
Reasonable first-run of Profiling talk
Written by
on
in
Snaking.
Did a version of the PyCon talk on profiling at HackLab's weekly Python Newbies night this evening. This was a bit of a "kitchen sink" presentation; every thought I had on the topic thrown into a presentation to see what stuck. As a result it was around an hour long (pushing to get it done ...
OpenGL 3.1 Talk Preview at PyGTA on Tuesday
Written by
on
in
Snaking.
It's official, I'm abusing my position as PyGTA convener to practice my other PyCon presentation on people. I am a very naughty boy. As I've been working on the OpenGL presentation I'm leaning further and further toward just teaching the 3.1 feature-set as "something to understand" and then just covering the migration to 3.1 as ...
Being pushy helps
Written by
on
in
Snaking.
I've been wanting to try out the two presentations for PyCon somewhere. I'll probably inflict a version of the OpenGL one on PyGTA on Tuesday (minus the "migration" parts, as very few people here are already using PyOpenGL). But I still needed a forum full of victims for the Profiling one. I was very pushy ...
Long day's Dojo into AJAX
Written by
on
in
Snaking.
Spent the whole day working on Dojo widgets... seems I spend almost every day these past few months working on Dojo widgets. The Dijits (as they call them) are far more robust than the per-page custom-coded stuff that I'm replacing, and we're winding up with a fairly generic collection of "things" from which we can ...
What to do about education?
Written by
on
in
Young Coders.
The OLPC seems to have run off a cliff. Sugar labs seems intent on continuing their OS UI experiments, which might bear fruit in a few years, but which for now make development for the platform untenable. Sad to see all that wasted potential that seemed to just lack someone practical saying "hey, you need ...
Fixed bug in generic attribute support
Written by
on
in
Snaking.
Working up the sample code for the "legacy free" section of the PyOpenGL talk for PyCon I discovered that the glVertexAttribPointer wrapper never got finished. You could pass in c_void_pointers, but other than that it just wouldn't work. Obviously not a lot of people using the generic attribute support in PyOpenGL... but then I knew ...