Author archives: Mike
Next Up: Code Cleanup
Written by
on
in
Snaking.
Porting to PyOpenGL 3.x from PyOpenGL 2.x
Written by
on
in
Snaking.
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, ...
Almost done the doc generation script
Written by
on
in
Snaking.
I've got the documentation generation script for PyOpenGL 3.x to the point where the output seems to be reasonably useful. It's definitely got rough spots, but it shows the C and Python APIs (C from docbook source files, Python by introspection).
If you just want to take a look, sample output is up at a ...
Documentation Generation
Written by
on
in
Snaking.
I've just coded up a documentation generator that can take the OpenGL man pages in DocBook format and turn them into (X)HTML. We were previously using the DocbookXSL stuff, but unfortunately that takes hours and hours to process the OpenGL manual set. With lxml.etree and fairly straightforward coding I can produce the base documentation in ...
Profiling, Debugging, Testing; Tools, Tips and Techniques
Written by
on
in
Snaking.
Reminder that PyGTA is meeting tonight to share experiences with tools for dealing with complex and large code-bases. How do you find bugs when they show up? How do you determine where to spend your optimization energies? How do you make sure they don't show up again? What interesting tools do you have for peering ...
Finally clearing the py3d backlog
Written by
on
in
Snaking.
Afraid I've been putting off entering the various Py3D projects that people have been sending me (kept thinking I'd get my act together and rewrite the script to use a DB). Anyway, since that doesn't seem to be happening, I've entered everything that was sitting in my email inbox into the script. If I've missed ...
Wow that's a lot of deprecations...
Written by
on
in
Snaking.
Beginning to read up on OpenGL 3.0... the deprecated functionality covers the majority of the PyOpenGL code that I've seen over the years. You drop that stuff and it's a completely a different language, the OpenGL Bible's whole old-testament (the fixed pipeline) is basically gone.
I can't think of really *anything* in OpenGLContext that would ...
Nagging Need for PyOpenGL 3.x
Written by
on
in
Snaking.
Really need to get PyOpenGL 3.x to be py2exe/pyinstaller/py2app
compatible. The thing that needs to happen is that I need to figure
out what machinery (I think it's installed in site.py) does the
registration of eggs and how to make that registration happen inside
the various packaging systems. If we can solve that, then the ...
Nuclear Genies and Racism
Written by
on
in
Polis.
Had a conversation a little while back that keeps echoing. The topic was a mildly racist event of some sort, I don't particularly remember what. The key question was this: "what's the big deal?" After all, the event didn't particularly change anyone's life. My answer at the time was along these lines: "the (nuclear) genie ...
Oh, look, OpenGL 3.0 is out
Written by
on
.
Seems I really need to get PyOpenGL3.0.0 released some time soon. Reviews of the OpenGL 3.0 spec aren't particularly positive so far, but the "rewrite" doesn't seem to be particularly noticeable at the API level, so should just be a few new extensions.