Category archives: Snaking
Discussions of programming, particularly of programming Python
Sketchy network library...
Written by
on
in
Snaking.
Check explicitly for extension support in OpenGL
Written by
on
in
Snaking.
Discovered a bug in PyOpenGL under Mesa this morning. One of those "duh!" moments where you realise you're being a bit too clever and simple about things. Luckily it was pretty easy to fix, as the whole of the extension hierarchy is auto-generated.
Basically, in OpenGL, extensions and functions > 1.1 are all potentially missing ...
PyOpenGL 3.0.0b4 available
Written by
on
in
Snaking.
Just released PyOpenGL 3.0.0b4. This is a fairly minor point release. It's the first to contain the proof-of-concept VBO support. It also has a few more tests. Still need work on the WGL extensions so that older WGL-using code that uses them will work.
A few fixes in OpenGLContext CVS as well. Not releasing a ...
Code Aesthetics Excitement...
Written by
on
in
Snaking.
Reminder Code Aesthetics @ PyGTA Tomorrow
Written by
on
in
Snaking.
Hope you're all wracking your brains and your source code control systems looking for that perfect piece of code that shows (some) programming has beauty and wonder. Or maybe you're putting together a piece that shows programming really is just a kludge to get the job done.
PyGTA is tomorrow at Linux Caffe, 7:00pm.
RunSnakeRun Python Profile Viewer Updated
Written by
on
in
Snaking.
Toronto Plone Meeting Tonight
Written by
on
in
Snaking.
John has started a Toronto Plone group. Meeting is this evening @360 Adelaide St. W. (near Spadina). 6pm to 8pm, apparently a variety of speakers. Be there.[1]
[1] With the assumption that you're interested in Zope/Plone and are in Toronto...
IndexedFaceSet compilation improving
Written by
on
in
Snaking.
Working on the IndexedFaceSet support this afternoon and evening (with a birthday party for a friend in the middle). IndexedFaceSet's are very generic ways of defining face geometry, which makes it easy to hand-edit VRML files with them. Unfortunately, that generality means they are also rather involved to prepare for rendering, you basically have to ...
Smooth Movement for OpenGLContext
Written by
on
in
Snaking.
Finally got around to implementing smooth movement for OpenGLContext. Instead of just "jumping" a given distance on each press of the key, the default movement manager will now smoothly interpolate to the position (same for orientations). Code is pretty straightforward, the only tricky thing was getting holding down the key to make the motion faster. ...
Other 90% of OBJ files still pending
Written by
on
in
Snaking.
Playing with the OBJ file loader for OpenGLContext this evening (briefly). Forgot to check in a number of fixes on Friday (oops). Anyway, as of now CVS OpenGLContext with CVS PyOpenGL can load OBJs from the internet via the (now somewhat inappropriately named) bin/vrml_view.py script. Still haven't found any samples where there's .MTL files (and/or ...