Archives 2009
Peeling back layers...
Written by
on
in
Snaking.
Began working on more flags to peel back some of the ease-of-use layers in PyOpenGL to recoup performance. List/tuple array-types now respect the ERROR_ON_COPY flag (effectively disabling list/tuple support when the flag is activated) and there is a STORE_POINTERS flag, which when False (with ERROR_ON_COPY True) will disable wrapper operations storePointer mechanism. That's one stage ...
Videos are up...
Written by
on
in
Snaking.
Videos of my two talks at PyCon are both up now. Introduction to Python Profiling is probably the better of the two for the general programming audience. A Whole new OpenGL is only going to be of interest to people who actually want to work with OpenGL (in Python) or are just curious about how ...
PyOpenGL 3.0.0 (final) Released
Written by
on
in
Snaking.
PyOpenGL is the traditional OpenGL binding for the Python language (Python 2.x series). This release is the first major release of the package in more than 4 years. PyOpenGL 3.x is a complete rewrite of the PyOpenGL project which attempts to retain compatibility with the original PyOpenGL 2.x API while providing support for many more ...
SimpleParse ported to Python 2.6 I guess...
Written by
on
in
Snaking.
As of this evening SimpleParse bzr trunk seems to be working on Python 2.6. Weird thing is that I seem to have done the bulk of the work back in November... but I don't recall doing it. All I did this evening was fix a couple of deprecation warnings and a problem with conflicts on ...
Almost there, just testing left...
Written by
on
in
Snaking.
PyOpenGL 3.0.0 is almost out the door. Testing is done on Linux 64-bit and all seems well. Documentation is updated (including deprecation warnings and updated PyDoc version). Install of the library worked on a MacBook this afternoon, but the PyOpenGL-Demo module refused to download (some SourceForge issue with a redirect). Will have to try again ...
RunSnakeRun Python Profiler 2.0.0b4
Written by
on
in
Snaking.
I've just released version 2.0.0b4 of the RunSnakeRun profile-viewer module I mentioned in my PyCon presentation on profiling. This version runs reasonably well on Win32 platforms (as well as Linux, of course) and has tooltips for the SquareMap and text where there's sufficient room to display it.
Duh! OpenGL bug squished...
Written by
on
in
Snaking.
Saw strange performance show up during testing of a simple set of shader-based samples in OpenGLContext. Discovered what seemed to be a memory leak of the wrapper objects in OpenGL_accelerate... investigation showed that the wrapers were re-"compiling" the finalized versions of the functions on every call. Turns out that setting self.__class__.__call__ doesn't alter future calls ...
Knee-ing video cards part II
Written by
on
in
Snaking.
Decided to work on the workstation today (bigger screen, tablet for drawing)... ran the little mandelbrot explorer demo. Managed to lock up the whole machine at just a few hundred iterations. Apparently having compiz on while doing "test the limits of your graphics card" code running is... counter-indicated.
Kinda neat zooming into the mandelbrot until ...
Bring your video card to its knees...
Written by
on
in
Snaking.
The Orange Book (OpenGL Shading Language 2nd Ed) has a neat little shader demo where you render the Mandelbrot set with a fragment shader. It's one of those "cool, but not particularly practical" examples of shader's power.
I've been adding some rudimentary "generic" shader support to OpenGLContext, so I decided I'd use that little bit ...
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. ...
Monthly archives
- January 2009
- February 2009
- March 2009
- April 2009
- May 2009
- June 2009
- July 2009
- August 2009
- September 2009
- October 2009
- November 2009
- December 2009