Category archives: Snaking
Discussions of programming, particularly of programming Python
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 ...
Bit more maintenance work on OpenGLContext
Written by
on
in
Snaking.
Doing a bit of bit-rot fighting in OpenGLContext this evening. Got the visual shell running again, so that you can load up a world in one window and type commands into another to modify the running world. Mostly was just updating to use wx 2.8 and the new loader structure.
Also took the time to ...
OBJ loader for OpenGLContext
Written by
on
in
Snaking.
Have been working on PyOpenGL and OpenGLContext all day. Have redone the OpenGLContext loader module and ported the OBJ loader from pyglet over. The OBJ loader seems to work fine, but I didn't find any OBJ files that include material information to test that. I'm going to have to fix the face-culling, seems that the ...
Frame Buffer Objects are Easy (ish)
Written by
on
in
Snaking.
Felt a little under the weather after a good party (apparently I picked up some soy, which I can't digest well) I decided to learn a little bit about Frame Buffer Objects in OpenGL. These are the new system that allows you to do "off screen" rendering and "rendering to texture" behaviours. Turns out they ...
OpenGL Vertex Buffer Objects (VBO)
Written by
on
in
Snaking.
Only had 1/2 day to work on PyOpenGL today (client needed work done this morning), so just played around with the Vertex Buffer Object (VBO) extension. In particular I added support for mapping data into the arrays and automatically deleting the arrays if the user forgets to do so. For those following along at home... ...
Programming Limits
Written by
on
in
Snaking.
Work with old, large systems enough and you start to get a persistent feeling of Deja Vu. Get large enough and you always seem to grow a set of features that is almost like every other large system, just implemented in a completely different way so that code sharing is simply impossible.
How many file-system ...