Category archives: Snaking
Discussions of programming, particularly of programming Python
OpenGLContext 2.1.0a1 Installation Streamlining (SetupTools re-cursing...)
Written by
on
in
Snaking.
(I'm testing on a Win32 box). Download and install Python 2.5, put the Python directory on your path. Install Win32 GLUT and GLE, then download ez_install.py and run the following:
python ez_install.py OpenGLContext
python ez_install.py Pygame
python ez_install.py numpy
python ez_install.py PIL
python ez_install.py SimpleParse
python ez_install.py TTFQuery
If I got everything properly put ...!-->!-->
PyOpenGL 3.0.0b1 is out (Lots of bug fixes...)
Written by
on
in
Snaking.
Spent the whole day yesterday and today on PyOpenGL 3.x. Fixed quite a few show-stopping bugs, such as a silly little failure in the array handling and using the wrong function-types for callbacks on Win32. As mentioned, got the Nurbs working yesterday.
I've uploaded a compiled version of GLE for Win32 folks as well. I've ...!-->!-->
Nurbs finally fixed in PyOpenGL 3.x (Strange behaviour...)
Written by
on
in
Snaking.
I finally tracked down the problem with nurbs rendering in PyOpenGL 3.x. Apparently passing a bald integer where a void-pointer is expected was causing ctypes to re-interpret the value. I went with returning a void_p and the nurbs started flowing again.
Added support for saving/viewing the depth buffer to one of the OpenGLContext tests. Added ...!-->!-->
Too many regressions to release PyOpenGL (Way too long since I worked on it...)
Written by
on
in
Snaking.
I was intending to just sit down with PyOpenGL and do a release... but apparently I was right in the middle of something when I last worked on it. Nurbs was broken. Win32 just wouldn't work. Lots of little things.
Anyway, long story short, spent 12 hours or so on it, but it's just not ...!-->!-->
Argh! Proposals! (Completely forgot them today...)
Written by
on
in
Snaking,
Young Coders.
Way too few hours in the day. Need to get proposals put together for PyCon Tutorial and Talk. So little time, so much to get done.
Got the XO and the big laptop sharing via bzr on the workstation at home at least. Big laptop is currently in the middle of upgrading itself as a ...!-->!-->
Forgot how fun PyGame is (Been way too long...)
Written by
on
in
Snaking,
Young Coders.
Been hacking on a spike test for Productive for the last few hours. PyGame is really very fun once you get (back) into it, gets right out of the way most of the time. First task was to re-learn sprite-based rendering and create a simple grid of squares that responds to mouse-overs with a highlight. ...
OLPC-Toronto Game Jam/Sprint (Participants?)
Written by
on
in
Snaking,
Young Coders.
We're thinking of having a Game Sprint on the 16th through the 18th of November (still looking for an appropriate venue). At the moment there's only 2.5 of us. We've got one brainstorm (or a light drizel) of doing a simplified Real-time Strategy game. More powerful downpours welcome.
CMU is going to be doing a ...!-->!-->
PyGTA Tomorrow (Mind-exploding fun!)
Written by
on
in
Snaking.
Planning to present continuations at the PyGTA meeting tomorrow. Continuations are the fundamental control construct of computer programming. Everything else is just syntactic sugar. They have some interesting applications when exposed directly, but most people use them to create other abstractions that are easier to understand. Tomorrow we'll be exploring just what these things are ...
Long Weekends, Long Walks (A few days off...)
Written by
on
in
Snaking,
Vindaloo.
This was the Thanksgiving holiday weekend in Canada. Had the family over on Sunday (yay!), worked on Saturday, but today was just for relaxing. Went through my OpenGL folder (well, the last 100 or so messages) and fixed a couple of small bugs. I want to release a 3.0.0b1 this week, so if you have ...
PyGTA tonight! (ctypes and such-alike)
Written by
on
in
Snaking.
Regular PyGTA meeting is tonight @ Linux Caffe. Topic is ctypes. Speaker is Peter Hansen (one of the original founders of PyGTA).